fix enter debug mode for locking
authorRodrigo L. Rosa <rodrigorosa.LG@gmail.com>
Wed, 31 Aug 2011 04:08:59 +0000 (21:08 -0700)
committerRodrigo L. Rosa <rodrigorosa.LG@gmail.com>
Wed, 31 Aug 2011 04:16:34 +0000 (21:16 -0700)
commitbe568d37c0d2c3826c6428eec906a3bd7dd9cb90
tree0c4ecdcafab6d42ca6fa87c19396414d8fb963ea
parent573cbeac1ee0bfadef5c924ff4a13c8e251c773c
fix enter debug mode for locking

added an alternative way to enter debug mode, which does not require restarting the chip.
this will not always work, but in general it will (failure 0.3%), and failure is not a dramatic issue, simply have to use the full sequence.
the user can only access "halt", which uses the full sequence, so the user should not have any problems.
restarting the chip requires reconfiguring the flash module. the doc is very poor, so i'd rather have the two methods, and live with the 0.3%.
src/target/dsp5680xx.c