Hi,
I'm working with an LPC2388 (arm7tdmi-s core). I use the "IDLE" power mode
to stop the arm core to reduce power consumption. All IT and peripheral are
still ON in this mode, only the arm core is sleeping.

The problem is when we want to use our probe (Olimex ARM-USB-OCD) with
OpenOCD (0.5.0 from git 2011-05-20) we obtain an error message if the
software already running on the board is using the IDLE mode :
JTAG scan chain interrogation failed: all zeroes
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
Bypassing JTAG setup events due to errors

I the software running on the CPU doesn't use the power reduction mode (arm
core is still ON in this case) then I have no problem with the jtag. The
problem seams to be related only to the power mode.

Whatever the openocd command I use (reset, halt, soft_reset_halt, resume
0x00) openocd error is like :
"Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'"

If I try to directly write to the CPU register to disable the IDLE mode, i
get  (a normal error message):
"Target not halted"
So I can not disable the IDLE mode with my jtag.

I have to use the CPU integrated bootloader to reload a software with no
IDLE mode through the RS232 link before I can use my Jtag again.

I've seen other messages related to this point on the ML but has anyone
found a solution to this problem ?

Regards,
-- 
Luc
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to