I've been trying to get an arm-jtag-ew usb programmer to work (Olimex
arm-jtag-ew) with an imote2 board, which has a pxa271 CPU.
I'm using the latest openocd from git (cloned today) and I've tried with
both the attached configuration files (imote2.cfg, openocd.cfg) as well
as the stock imote2 config that comes with openocd. I've also tried
setting some adapter_khz, not setting it, etc, with no success.
It seems that the first jtag scan works successfully, but subsequent
scans fail miserably. The 'reset' command works (the device *is* reset)
but it throws an error:
JTAG scan chain interrogation failed: all ones.
Check JTAG interface, timings, target power, etc.
halt, resume, etc don't work because the subsequent scans don't work;
openocd doesn't seem to be able to see in which state the cpu is.
I'm also attaching a log file (jtaglog.txt) of what openocd throws at
me. There are some whitespace lines separating the initial stuff from
the output after calling 'reset'.
Does anyone see what I'm doing wrong?
Thank you in advance,