diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-24 02:08:17 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-24 02:08:17 +0000 |
commit | 76d3131f483417cf596503e022da3d74a45514e6 (patch) | |
tree | e75d128dc6460fcb5161790bb1b2491f44d7ba81 /src | |
parent | eb385b2e7086cd0bb97d99f8253ae16579394663 (diff) | |
download | openocd_libswd-76d3131f483417cf596503e022da3d74a45514e6.tar.gz openocd_libswd-76d3131f483417cf596503e022da3d74a45514e6.tar.bz2 openocd_libswd-76d3131f483417cf596503e022da3d74a45514e6.tar.xz openocd_libswd-76d3131f483417cf596503e022da3d74a45514e6.zip |
Nicolas Pitre <nico@cam.org>: Update sheevaplug interface script:
When the CPU is in the WFI state, the JTAG interface simply doesn't
respond at all and initial tap examination simply fails. Let's simply
do it again when we come around to assert nSRST.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1905 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/target/board/sheevaplug.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/target/board/sheevaplug.cfg b/src/target/board/sheevaplug.cfg index 61d324d0..6fe3ce3e 100644 --- a/src/target/board/sheevaplug.cfg +++ b/src/target/board/sheevaplug.cfg @@ -17,7 +17,13 @@ proc sheevaplug_init { } { # We need to assert DBGRQ while holding nSRST down. # However DBGACK will be set only when nSRST is released. + # Furthermore, the JTAG interface doesn't respond at all when + # the CPU is in the WFI (wait for interrupts) state, so it is + # possible that initial tap examination failed. So let's + # re-examine the target again here when nSRST is asserted which + # should then succeed. jtag_reset 0 1 + feroceon.cpu arp_examine halt 0 jtag_reset 0 0 wait_halt |