On Tuesday 27 October 2009, Dimitar Dimitrov wrote:
> I'm trying to debug SAM9-L9260 board /AT91SAM9260 chip/ using
> the latest GIT openocd checkout, FT2232H-based dongle and
> libftdi-0.16. I'm getting the following error when issuing "reset init":  
> 
> Error: 228 7449 ft2232.c:419 ft2232_read(): couldn't read the
>               requested number of bytes from FT2232 device (0 < 6) 
> 
> After increasing the FT2232 timeouts (patch attached) the
> "reset init" command completed successfully. 

Those timeouts are a bit odd; they look more like retry
counts (but I'd have to learn more about libftdi to be
sure of that).

Are you using this highspeed-capable FT2232H at high speed?
If so, that suggests an experiment:  run it at full speed
instead.  On Linux you could just "rmmod ehci-hcd".  On
any OS, you could just access it through a full speed hub.

If that matters, the timing logic is probably goofed up by
the performance differences in the low level driver.

Another possibility is that the FT2232H support isn't quite
bugless yet...

- Dave


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to