Hello I am stuck trying to get openocd to startup with my amontec jtagkey. I suspect this is a very simple initialization error somehow.
IF anyone see something wrong with my cinfig stuff let me know
I do have the amontec jtagkey demo program working and recognizing the target via the same usb.
Then when I do … openocd-r657 -f pxa270.cfg
I get an error like
error: ft2232.c:1413 ft2232_init_ftd2xx(): Unable to open ftdi device : 2
error: ft2232.c:1430 ft2232_init_ftd2xx(): 0 Amontec Jtagkey A
error: ft2232.c:1430 ft2232_init_ftd2xx(): 1 Amontec Jtagkey B
----- my pxa270.cfg file looks like this
telnet_port 3333
gdb_port 4444
interface ft2232
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xCff8
ft2232_device_desc “Amontec OpenOCD jtagkey”
jtag_speed 0
#note tried with speed 1 and 5 no difference
jtag_nsrst_delay 250
jtag_ntrst_delay 250
reset_config trst_and_srst separate
jtag_device 7 0x1 0x7f 0x7e
daemon_startup reset
target xscale little reset_halt 0 pxa27x
working_area 0 0xa0000000 0x10000 nobackup
run_and_halt_time 0 30
target_script 0 reset c:\openocd-r657\bin\pxa270flash.ocd
flash bank cfi 0×00000000 0×2000000 2 4 0
----- my pxa270flash.ocd file looks like this
wait_halt
armv4_5 core_state arm
flash write 0 uboot.bin 0x0
mww 0xfffffd08 0xa5000401
reset
shutdown