TI TMS570 USB Kit board config
[fw/openocd] / tcl / target / ti_tms570.cfg
index 014c76c11d6c9f7d065f8634f0bb2f9e1eb91cbe..b8f9287f41b620b7e901c9719ddeeec4448ae921 100644 (file)
@@ -16,19 +16,17 @@ if { [info exists ENDIAN] } {
 source [find target/icepick.cfg]
 
 # Main DAP
+# DAP_TAPID should be set before source-ing this file
 if { [info exists DAP_TAPID] } {
        set _DAP_TAPID $DAP_TAPID
-} else {
-       set _DAP_TAPID 0x0B8A002F
 }
 jtag newtap $_CHIPNAME dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_DAP_TAPID -disable
 jtag configure $_CHIPNAME.dap -event tap-enable "icepick_c_tapenable $_CHIPNAME.jrc 0"
 
 # ICEpick-C (JTAG route controller)
+# JRC_TAPID should be set before source-ing this file
 if { [info exists JRC_TAPID] } {
        set _JRC_TAPID $JRC_TAPID
-} else {
-       set _JRC_TAPID 0x0B8A002F
 }
 jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f \
        -expected-id $_JRC_TAPID -ignore-version