X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Fti_tms570.cfg;h=b8f9287f41b620b7e901c9719ddeeec4448ae921;hb=a1719e004865fb9ca556f693fd8e5c56992bc1de;hp=014c76c11d6c9f7d065f8634f0bb2f9e1eb91cbe;hpb=3427cf2b7e33240fc63c6398090dc7bcbf4f2d52;p=fw%2Fopenocd diff --git a/tcl/target/ti_tms570.cfg b/tcl/target/ti_tms570.cfg index 014c76c11..b8f9287f4 100644 --- a/tcl/target/ti_tms570.cfg +++ b/tcl/target/ti_tms570.cfg @@ -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