aboutsummaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-08-31 16:27:09 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-08-31 16:27:09 +0200
commitfbbce951402bc08367786f2ba2ce3af549d0d5a5 (patch)
tree8d90a245b4da87d654147eb2c512d043e2076334 /tcl/target
parent353362651fc28c1f1d823659cde36dd31d1aede6 (diff)
parent42300c98ab7edb634982b41c3e790c87be9718d1 (diff)
Merge branch 'dsp5680xx_cherry' of git://repo.or.cz/openocd/dsp568013 into fix
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/dsp568013.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/tcl/target/dsp568013.cfg b/tcl/target/dsp568013.cfg
index fa7c4d95..80adc763 100644
--- a/tcl/target/dsp568013.cfg
+++ b/tcl/target/dsp568013.cfg
@@ -36,7 +36,11 @@ set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME dsp5680xx -endian $_ENDIAN -chain-position $_TARGETNAME
# Setup the interesting tap
-jtag configure $_CHIPNAME.chp -event setup "jtag tapenable $_TARGETNAME"
+# Disable polling to be able to get idcode from core tap. If re enabled, can be re enabled, but it should be disabled to correctly unlock flash (operations requiere certain instruction to be in the IR register during reset, and polling would change this)
+jtag configure $_CHIPNAME.chp -event setup "
+ jtag tapenable $_TARGETNAME
+ poll off
+"
#select CORE tap by modifying the TLM register.
#to be used when MASTER tap is selected.