Hey All,
You may have seen i’ve been making a few n00b posts over the last 2 weeks, but I’d like to think I’ve been making some progress. I’ve gone from no idea, to being able to load and debug sample programs in ROM, using eclipse. My current hurdle was trying to sort out a makefile for my own program, to generate the required files for the ROM debug.
So I decided to sit down for an hour last night and work on it. Plug in my hardware (Olimex LPC-P2148 via. ARM-USB-OCD), and fire up openOCD. Oh S*** :!:
> openocd-ftd2xx -f .\prj\lpc2xxx_armusbocd.cfg -l openocd.log
openocd.log:
Error: jtag.c:1253 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power etc.
Error: jtag.c:1440 jtag_init(): trying to validate configured JTAG chain anyway...
Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1448 jtag_init(): Could not validate JTAG chain, exit
Well… As far as I can tell that means I’m boned. My hardware isn’t responding and I have my Uni project due next week, and no funding (or time) to buy more hardware.
Just hoping that someone could give me something more of a suggestion other than openOCD’s “Make sure you have it plugged in.” Only thing I can visibly notice is that when I try and run it the LED on the ARM-USB-OCD turns from green to green+red. Any idea’s on how I could test whether it is the ARM-USB-OCD or the board itself… bearing in mind I don’t have access to a wiggler etc?
Perhaps I could throw togeher a wiggler… sounds more viable than forking out AU$100+ for a new ARM-USB-OCD.
Suggestions appreciated
Cheers,
Shaneo.