Olimex LPC2148+ARM-USB-OCD, does it work with somebody?

I am trying for weeks getting this to work, trying different JTAG speeds etc. It keeps comming with the message can’t poll target after 10 seconds or so.

If anybody has this working I would like know how.

Maybe Olimex sells a combination that is not tested at all.

Regards,

Bert

One of them might be faulty. It’s quite easy to damage a buffer on that type of JTAG interface with static, by plugging it in with the target powered. It’s just happened to me with a different JTAG interface. I’ll replace the buffer chip tomorrow, when some replacements arrive. Inputs like that should be protected against static, but they probably aren’t on your units.

It’s also possible to damage the ARM chip.

Leon

bert_eding:
I am trying for weeks getting this to work, trying different JTAG speeds etc. It keeps comming with the message can’t poll target after 10 seconds or so.

If anybody has this working I would like know how.

Maybe Olimex sells a combination that is not tested at all.

Regards,

Bert

I have been having a hard time getting this to work also. Today I am having some success!

[edit again] OK, the problem with the power supply is not current related but connector related. The Olimex ARM-USB-OCD and LPC2148 development boards have 1mm dc power jacks and the power cable that ships with the ARM-USB-OCD appears to be 2.5mm This can cause some intermittent problems for sure!

So in summary,

  1. Change jtag_speed to > 0. 1 seems to work OK for me. You might want to start of with 5 or something.

  2. Don’t use the power cable that comes with the ARM/USB/JTAG

  3. Be sure to run the openocd software with root privileges.

Have fun!

Try this for the config file

#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

#reset_config trst_and_srst

reset_config trst_and_srst trst_pulls_srst

jtag_device 4 0x1 0xf 0xe

jtag_speed 10

jtag_nsrst_delay 500

jtag_ntrst_delay 500

target arm7tdmi little run_and_init 0 arm7tdmi-s_r4

run_and_halt_time 0 30

daemon_startup reset

working_area 0 0x40000000 0x4000 nobackup

flash bank lpc2000 0x0 0x7d000 0 0 lpc2000_v2 0 12000 calc_checksum