Hi,
I am attempting to debug an LPC2364 using an Olimex ARM-USB-OCD usb debugger with OpenOCD and GDB. Has anyone else had any success doing this?
Regards, James Brown
Data Acquisition
Hi,
I am attempting to debug an LPC2364 using an Olimex ARM-USB-OCD usb debugger with OpenOCD and GDB. Has anyone else had any success doing this?
Regards, James Brown
Data Acquisition
Hi all,
OCD, Olimex USB jtag and the LPC2368 seem to work fine together. The problem I had was because I was using the wrong jtag speed. I don’t think OCD supports flash programming for the LPC23xx series yet so I have been programming using an external programmer. For those that are interested, here is a copy of my .cfg file.
----start----
#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
#use combined on interfaces or targets that can’t set TRST/SRST separately
#reset_config trst_and_srst srst_pulls_trst
reset_config trst_and_srst trst_pulls_srst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
jtag_speed 12
jtag_nsrst_delay 500
jtag_ntrst_delay 500
#target configuration
#daemon_startup attach
daemon_startup reset
#target
#target arm7tdmi
#target arm7tdmi little reset_run 0 arm7tdmi-s_r4
target arm7tdmi little run_and_init 0 arm7tdmi-s_r4
working_area 0 0x40000000 0x40000 nobackup
#flash configuration
flash bank lpc2000 0x0 0x7d000 0 0 lpc2000_v2 0 5600 calc_checksum
#flash bank lpc2000 0x0 0x7d000 0 0 lpc2000_v2 0 12000 calc_checksum
----end----