fix error handling during halt
commit1d4f294c3c61ef8ad7a5cc89f3cfbd61ecaaf846
authorRodrigo L. Rosa <rodrigorosa.LG@gmail.com>
Tue, 30 Aug 2011 21:26:05 +0000 (30 14:26 -0700)
committerRodrigo L. Rosa <rodrigorosa.LG@gmail.com>
Tue, 30 Aug 2011 22:09:44 +0000 (30 15:09 -0700)
tree7b659e82a318051e7e1b86fd134283d7c2777911
parente1a2d7255eb8c282fc91e951c7453932c1e9a55f
fix error handling during halt

the user can execute halt, but no enter_debug_mode. modified the error handling to suite this.
the new implementation of unlocking will use enter_debug_mode, and should not get the same errors as the user would, because not being able to enter debug mode is actually success when checking for locked flash.
src/target/dsp5680xx.c