ARM-USB-TINY-H working / ARM-USB-OCD-H not working

Started by jhersh, Today at 12:26:16 AM

Previous topic - Next topic

jhersh

I'm trying to get my ARM-USB-OCD-H working with my custom board (ARMv5 core). I borrowed a TINY to compare, and it is able to work fine. The OpenOCD config only differs by the PID. I'm getting several things that stand out as different behavior, besides it just not working. I see `IR capture error; saw 0x01 not 0x02` which doesn't happen with the TINY, and I also see `Error: JTAG scan chain interrogation failed: all ones` which doesn't happen on the TINY. Is there additional setup or wiring required to make it work? Is the power supply connection on the OCD needed? I'm using the same USB cable and the same 20-pin to 10-pin JTAG adapter cable in both cases. My OCD is definitely older than the TINY. Is there some early rev hardware limitation? Just trying to figure out how to use my OCD.

Thanks!

LubOlimex

These errors usually indicate a problem between the ARM-USB-OCD-H and the target. Either wiring issue or powering issue.

Did you attach the 20-10 adapter directly to the ARM-USB-OCD-H? Keep the wires short else there might be timeouts.

Did you test the ARM-USB-OCD-H with a simple, proven to work board? Does it work well with other targets?

How do you power the target? Is it via the ARM-USB-OCD-H? Try powering from external source.

Technical support and documentation manager at Olimex

jhersh

The board is self powered. As I mentioned, I used the identical short cable as I used on the TINY which works great. Yes, it is attached directly to the OCD, just like I did with the TINY. I haven't used the OCD device in years, so I'm not sure if it is working for other targets, but I would expect that whatever is going on would also be the same issue on another board.