>  Have you tried the new ftdi driver (--enable-ftdi and using interface
>  configs from the ftdi subdir)? One of the reasons there is a new driver is
>  that the old ft2232 driver didn't work well under some circumstances.
>
>  /Andreas
No I didn't. I read sometimes that there is a new driver but I didn't 
understand how to use. Now, I understand from you, that I need to use the 
option --enable-ftdi and the config files under ftdi subdirectories. Thanks, I 
will probe it :D (again, I read sometimes that there is a new driver but 
nowhere explain how to use, thanks again).

Moreover, I have more extra information:
I am using
adapter_khz 50
Insted of the original (from pandaboard files)
jtag_rclk 6000
(because I had some anothers problems).

When I wrote the first mail of this thread, I was using in the cfg file:

...
load_image u-boot-linaro-stable/spl/u-boot-spl.bin 0x40304350 bin
load_image u-boot-linaro-stable/u-boot.bin 0x80100000 bin
load_image kernel/uImage 0x80200000
load_image kernel/uInitrd 0x81600000 bin
...

It fails when it was transfer uImage with the message:
Error: 30973 77247 ft2232.c:592 ft2232_read(): couldn't read enough bytes from 
FT2232 device (0<  12)
Error: 30974 77247 ft2232.c:844 ft2232_send_and_recv(): couldn't read from 
FT2232

But after that, when I tried using telnet I leave in the file:

...
load_image u-boot-linaro-stable/spl/u-boot-spl.bin 0x40304350 bin
load_image u-boot-linaro-stable/u-boot.bin 0x80100000 bin
...

And I made with telnet:
load_image kernel/uImage 0x80200000

In this manner, a lot of times it work and some of them fails with the error:
Invalid ACK 0x6 in JTAG-DP transaction

So, I put a delay in the cfg file and now it works better:
...
load_image u-boot-linaro-stable/spl/u-boot-spl.bin 0x40304350 bin
load_image u-boot-linaro-stable/u-boot.bin 0x80100000 bin
sleep 2000
load_image kernel/uImage 0x80200000
load_image kernel/uInitrd 0x81600000 bin
...

Is only extra information. I will try, as I said, to use the new driver.

Thanks Andreas (and Mathias that asked me about the jtag clock).

RAM


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to