So now I can communicate!
Thanks bolatd just need to change reset times to get communicating!
My phytec pxa270 and jtagkey by amontec is a different but
close to your setup Bolatd as both have xscale processors and ftdi2232 usb interfaces.
Seems what is needed is just the right scripts-settings
for the processor and board. I tried r658? on Suse this morning but got stuck with some interface naming difference(s) under Linux version so I came back to the postings here and caught your prior script posting.
So back on openocd under windows for now see the script I am using way below.
With this script I am better and but still see these errors at startup …
couldn’t open xscale/debug_handler.bin
and then
timed out waiting for reset
where it hangs.
I have tried changing the jtag speed and it appears to make no difference
the reset delays are needed as they are.
Any more ideas anyone?
telnet_port 3333
gdb_port 4444
interface ft2232
ft2232_layout jtagkey
ft2232_device_desc “Amontec JTAGkey A”
ft2232_vid_pid 0x0403 0xCff8
jtag_speed 0
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:\Program Files\openocd-r657\bin\pxa270flash.ocd
#flash bank cfi 0×00000000 0×2000000 2 4 0