dsp568013 disable polling by default
authorRodrigo L. Rosa <rodrigorosa.LG@gmail.com>
Tue, 16 Aug 2011 02:50:59 +0000 (19:50 -0700)
committerRodrigo L. Rosa <rodrigorosa.LG@gmail.com>
Tue, 30 Aug 2011 22:08:54 +0000 (15:08 -0700)
tcl/target/dsp568013.cfg

index fa7c4d95126789ff47f89c8445fc37075f456507..80adc7639445cac243331a1000e59df23a9205e2 100644 (file)
@@ -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.