From: <zw...@ma...> - 2009-05-24 04:08:21
|
Author: zwelch Date: 2009-05-24 04:08:17 +0200 (Sun, 24 May 2009) New Revision: 1905 Modified: trunk/src/target/board/sheevaplug.cfg Log: Nicolas Pitre <ni...@ca...>: 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. Modified: trunk/src/target/board/sheevaplug.cfg =================================================================== --- trunk/src/target/board/sheevaplug.cfg 2009-05-24 01:57:13 UTC (rev 1904) +++ trunk/src/target/board/sheevaplug.cfg 2009-05-24 02:08:17 UTC (rev 1905) @@ -17,7 +17,13 @@ # 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 |