Well, apparently I over-estimate my own skills!
I bought a
TAIO Wiggler Universal TAG.
I wired it up, as per
Mr Bill's pageI built a brand-new Ubuntu 10.10 install (I've only got 1 PC with a parallel port!) and installed openocd.
I copied dockstar.cfg to /usr/share/openocd/scripts/board/dockstar.cfg
As root,
$this->bbcode_second_pass_code('', '# openocd -f board/dockstar.cfg
Open On-Chip Debugger 0.4.0 (2010-10-08-15:42)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
parport port = 0x378
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
Warn : use 'feroceon.cpu' as target identifier, not '0'
Info : clock speed 500 kHz
Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9, part: 0x0a02, ver: 0x2)
Info : Embedded ICE version 0
Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit')
First question; is the warning about "Warn : use 'feroceon.cpu' as target identifier, not '0'" important? I'm assuming not.
It looks, to me... I think.
So I attempt to connect using telnet. It starts off OK but then...
$this->bbcode_second_pass_code('', '$ telnet localhost 4444
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> init
> sheevaplug_init
target state: halted
target halted in Thumb state due to debug-request, current mode: Supervisor
cpsr: 0x400000f3 pc: 0xffff0a42
MMU: enabled, D-Cache: enabled, I-Cache: enabled
> nand probe 0
unknown NAND flash device found, manufacturer id: 0x00 device id: 0x00
probing failed for NAND flash device
>')
Did the halt work properly? Clearly the "nand probe" has failed.
I also attempted to use the dlc5 'halt while holding down reset' in desperation. But that didn't work either.
So I'm stuck! I've tried multiple times and, I either get "timeout in halt" errors (in which case I disconnect everything, powercycle the Dockstar and the adapter, plug it back in again) or else I get the same sort of response.
Umm...
Help, please?!