Hi,
I have trouble running OpenOCD with a Arm7 core connected through a wiggler. I tried many differents speeds, but I always get the same error when I try to debug the application step by step. After the application hit the breakpoint I can see all the register, modify them etc. But as soon as I try to run the program step by step OpenOCD crashs.
Debug: 1514 68422 arm7_9_common.c:1086 arm7_9_debug_entry(): target entered debug from ARM state
Error: 1515 68438 armv4_5.c:186 armv4_5_mode_to_number(): invalid mode value encountered
Error: 1516 68438 arm7_9_common.c:1114 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure
Debug: 1517 68438 target.c:566 target_call_event_callbacks(): target event 0
Debug: 1518 68438 arm7_9_common.c:1677 arm7_9_step(): target stepped
Debug: 1519 68438 gdb_server.c:1819 gdb_input_inner(): received packet: 'g'
Error: 1520 68438 armv4_5.c:186 armv4_5_mode_to_number(): invalid mode value encountered
Afterwards OpenOCD crashes.
I am using OpenOCD r520 precompiled from the Yagarto Site. I also compiled OpenOCD myself (under Cygwin), but the problem also occur under r657.
Can somebody help me?
I also noticed that no threads are displayed (GDB / Eclipse)? Is this normal?
Thx