aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/dsp568013.cfg
diff options
context:
space:
mode:
authorRodrigo L. Rosa <rodrigorosa.LG@gmail.com>2011-08-15 19:50:59 -0700
committerRodrigo L. Rosa <rodrigorosa.LG@gmail.com>2011-08-30 15:08:54 -0700
commit67bb8a6cb208a7529045fc11b1dc30adf98d928f (patch)
tree6e0a6feb9c86ee5de8725ea8a6f24f007edc4c7c /tcl/target/dsp568013.cfg
parentc8926d14579528bfcead1e179baf7cb846513db4 (diff)
downloadriscv-openocd-67bb8a6cb208a7529045fc11b1dc30adf98d928f.zip
riscv-openocd-67bb8a6cb208a7529045fc11b1dc30adf98d928f.tar.gz
riscv-openocd-67bb8a6cb208a7529045fc11b1dc30adf98d928f.tar.bz2
dsp568013 disable polling by default
Diffstat (limited to 'tcl/target/dsp568013.cfg')
-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 fa7c4d9..80adc76 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.