Mon May 30 19:40:20 CEST 2011

More OpenOCD errors

Error: Target not halted
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
Error: attempted 'gdb' connection rejected

It doesn't recover from that.  This (I assume) is because of the
board/firmware bug that causes sporadic resets.

Fix OpenOCD so it restarts whenever this happens.  Let's try to
restart manually:

Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: at91sam7s256.cpu: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x00000000)
Info : at91sam7s256.cpu: hardware has 2 breakpoint/watchpoint units

Reason: board power failure.