diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-25 19:55:32 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-25 19:55:32 +0000 |
commit | 6f359fba686f30fef7ef51b2996600738b66b563 (patch) | |
tree | 38cd3a5111d52dd3d9dfa8fd42126806677d57c5 /tcl/board/osk5912.cfg | |
parent | bd7cbd01e8a2e39c1a77d551cb1f8081f880c953 (diff) | |
download | openocd+libswd-6f359fba686f30fef7ef51b2996600738b66b563.tar.gz openocd+libswd-6f359fba686f30fef7ef51b2996600738b66b563.tar.bz2 openocd+libswd-6f359fba686f30fef7ef51b2996600738b66b563.tar.xz openocd+libswd-6f359fba686f30fef7ef51b2996600738b66b563.zip |
David Brownell <david-b@pacbell.net> Some jtag_add_reset() cleanup:
- Track whether TRST and/or SRST actually change:
* If they're not changing, don't ask the JTAG adapter to do anything!
(JTAG TCK/TMS ops might still be used to enter TAP_RESET though.)
* Don't change their recorded values until after the adapter says it
did so ... so fault paths can't leave corrupt state.
* Detect and report jtag_execute_queue() failure mode
* Only emit messages saying what really changed; this includes adding
an omitted "deasserted TRST" message.
* Only apply delays after deasserting SRST/TRST if we *DID* deassert!
- Messages say "TLR" not "RESET", to be less confusing; there are many
kinds of reset. (Though "TLR" isn't quite ideal either, since it's
the name of the TAP state being entered by TMS+TCK or TRST; it's at
least non-ambiguous in context.)
So the main effect is to do only the work this routine was told to do;
and to have debug messaging make more sense.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2621 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'tcl/board/osk5912.cfg')
0 files changed, 0 insertions, 0 deletions