Is it possible to break an LPC2148 header board irrevocably? I have the low-budget Olimex version with no serial (only USB for power and JTAG for everything else). These boards come with a demo USB program so when you plug them into a Windoze USB port, they emulate a mouse that moves in a square.
I managed to use OpenOCD and GDB to download various programs to RAM, then execute them, then I erased the Flash. So far, so good: the Flash is all 0xFFFFFFFF, so (as I understand it) the board boots up into the Philips serial bootloader. I was still able (I think) to download programs to RAM and run them.
Next, I tried to use OpenOCD to write a program to Flash. Apparently it didn’t work (maybe because I didn’t have the program in the right binary format?) but I can no longer talk to the board with OpenOCD. When I run OpenOCD, it either SEGFAULTs or says:
dhm@voxan$ openocd/openocd-preview-20060213/src/openocd -debug 3
Error: jtag.c:986 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch
dhm@voxan$ openocd/openocd-preview-20060213/src/openocd -debug 3
Error: arm7_9_common.c:536 arm7_9_poll(): JTAG queue failed while reading EmbeddedICE status register
dhm@voxan$ openocd/openocd-preview-20060213/src/openocd -debug 3
Error: jtag.c:986 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch
I’ve tried a few other tools as well (Rowley CrossLoader, Macgraigor OpenOCD in a VMWare virtual machine) and they all seem to have trouble talking to the board via the Wiggler.
Could I have broken the header board? Is there any way to get back to completely erased Flash so I can play with OpenOCD some more?
(This is on Linux, btw.)
Thanks!