X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Fam335x.cfg;h=af06f79ad0800a0969780caedcdd6eea6591b2c8;hp=9a24ef00e7b26a3bf1eb46f0c920bd5b7371c865;hb=fccc55225a7f874ee9d795286e9d92dc051b5b9d;hpb=d9ba56c295f057e716519a798bf9cdb4898c24f4 diff --git a/tcl/target/am335x.cfg b/tcl/target/am335x.cfg index 9a24ef00e7..af06f79ad0 100644 --- a/tcl/target/am335x.cfg +++ b/tcl/target/am335x.cfg @@ -39,7 +39,7 @@ jtag configure $_CHIPNAME.m3_dap -event tap-enable "icepick_d_tapenable $_CHIPNA # # Main DAP # -if { [info exists DAP_TAPID ] } { +if { [info exists DAP_TAPID] } { set _DAP_TAPID $DAP_TAPID } else { set _DAP_TAPID 0x4b6b902f @@ -50,12 +50,12 @@ jtag configure $_CHIPNAME.dap -event tap-enable "icepick_d_tapenable $_CHIPNAME. # # ICEpick-D (JTAG route controller) # -if { [info exists JRC_TAPID ] } { +if { [info exists JRC_TAPID] } { set _JRC_TAPID $JRC_TAPID } else { set _JRC_TAPID 0x0b94402f } -jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f -expected-id $_JRC_TAPID +jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f -expected-id $_JRC_TAPID -ignore-version jtag configure $_CHIPNAME.jrc -event setup "jtag tapenable $_CHIPNAME.dap" # some TCK tycles are required to activate the DEBUG power domain jtag configure $_CHIPNAME.jrc -event post-reset "runtest 100"