Calypso: openocd_calypso.cfg

File openocd_calypso.cfg, 1.0 KB (added by steve-m, 4 months ago)

OpenOCD configuration for the Calypso

Line 
1# Adapter configuration for Busblaster
2interface ft2232
3ft2232_vid_pid 0x0403 0x6010
4ft2232_device_desc "USB <-> Serial Converter"
5ft2232_layout jtagkey
6ft2232_latency 2
7
8if { [info exists CHIPNAME] } { 
9        set  _CHIPNAME $CHIPNAME   
10} else {         
11        set  _CHIPNAME calypso
12}
13
14if { [info exists ENDIAN] } {   
15        set  _ENDIAN $ENDIAN   
16} else {         
17        set  _ENDIAN little
18}
19
20if { [info exists CPUTAPID ] } {
21        set _CPUTAPID $CPUTAPID
22} else {
23        set _CPUTAPID 0x3100e02f
24}
25
26reset_config trst_and_srst
27
28adapter_khz 6000
29
30jtag newtap $_CHIPNAME dsp -expected-id 0x00000000 -irlen 8
31jtag newtap $_CHIPNAME arm -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
32
33# The target
34set _TARGETNAME [format "%s.arm" $_CHIPNAME]
35target create $_TARGETNAME arm7tdmi -endian little -chain-position $_TARGETNAME -variant arm7tdmi
36
37init
38
39# Execute the Calypso "Magic" (sniffed from TI CCS v3.3 with XDS510)
40svf calypso_magic.svf
41
42halt
43arm core_state arm
44
45#arm7_9 dcc_downloads enable
46arm7_9 fast_memory_access enable
47