I use the following setup: Latest Yagarto Toolchain with OpenOCD, arm-elf-gcc, arm-elf-gdb and Eclipse, Amontec JTAGkey with ftdi2xx driver. The whole thing is used to run a simple test program on an Olimex LPC-P2129 Evaluation Board.
For Configuration, I use the standard scripts provided on the Yagarto Website for the LPC2194, I have adapted the memory mapping to the LPC2129. GDB is configured using the eclipse_ram.gdb script.
jtag_speed is 2 (6 MHz / (2 + 1) = 2 MHz), CPU speed is 14.746 MHz.
I can download and debug code, but time I try to step over large blocks of code, the whole thing crashes.
OpenOCD Error Messages (last two lines):
E:\Eclipse Workspaces\LPC2129_Test>openocd-ftd2xx -f
.\prj\lpc2129_jtagkey.cfg
Info: openocd.c:84 main(): Open On-Chip Debugger (2006-01-26 13:30
CET)
Warning: arm7_9_common.c:683 arm7_9_assert_reset(): srst resets test
logic, too
Warning: arm7_9_common.c:842 arm7_9_halt(): target was already halted
Info: server.c:67 add_connection(): accepted ‘gdb’ connection from 0
Warning: arm7_9_common.c:683 arm7_9_assert_reset(): srst resets test
logic, too
Error: ft2232.c:201 ft2232_read(): FT_Read returned: 4
Error: ft2232.c:365 ft2232_send_and_recv(): couldn’t read from FT2232
It also crashes when letting the program run freely after a couple of seconds.
Has anyone any idea what might cause OpenOCD (or the Amontec driver) to crash?