Hi, I got an ARM-JTAG-OCD a few weeks ago, but up to now I hadn’t enough time to test it.
Yesterday I connected my new device to the lpc2129 dev board, also from olimex, ran the install cd and installed openocd-2006re100, configured eclipse to use this new openocd, then tried to program the chip… without success. I changed the *.cfg files until I got only one error message.
Here it is:
Error: ft2232.c:966 ft2232_init(): unable to open ftdi device: 1
I do not know what to do to get rid of that message.
The *.script File is:
LPC2106 flash command-“batch”
adapted by Martin Thomas based on information from Dominic Rath - Thanks
sleep 500
poll
flash probe 0
flash erase 0 0 0
flash write 0 main.bin 0x0
reset run
sleep 500
The *.cfg File is
#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 2
#use combined on interfaces or targets that can’t set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
#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
working_area 0 0x40000000 0x40000 nobackup
#flash configuration
flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14765 calc_checksum
flash bank cfi 0x80000000 0x400000 2 2 0
For more information about the configuration files, take a look at:
http://openfacts.berlios.de/index-en.ph … p+Debugger
Can anybody help me please?
Kind regards
Michael