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