I finally have Open OCD (Running through eclipse) functioning on an IAR Kickstart board (LPC2106). Yea!
I am unable to get it to run on a Keil board, the MCB2100 (LPC2124).
The debugger APPEARS to program the micro but then it just hangs while the “launching” progress bar runs, forever.
The console output when I start the debugger:
(gdb) target state: halted
target halted in ARM state due to debug request, current mode: Abort
cpsr: 0x600000d7 pc: 0x000002ec
flash ‘lpc2000’ found at 0x00000000
erased sectors 0 through 0 on flash bank 0 in 0s 641043us
wrote file main.bin to flash bank 0 at offset 0x00000000 in 0s 656678us
requesting target halt and executing a soft reset
force hardware breakpoints enabled
*The CFG file I am using:
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_device_desc “Olimex OpenOCD JTAG A”
ft2232_layout “olimex-jtag”
ft2232_vid_pid 0x15BA 0x0003
jtag_speed 10
#use combined on interfaces or targets that can’t set TRST/SRST separately
reset_config trst_and_srst separate
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#target configuration
daemon_startup reset
#target
#target arm7tdmi
target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4
run_and_halt_time 0 30
#target_script 0 reset oocd_flash2138.script
working_area 0 0x40000000 0x40000 nobackup
#flash configuration
flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14765 calc_checksum
For more information about the configuration files, take a look at:
http://openfacts.berlios.de/index-en.ph … p+Debugger
Thanks for the help
Rich