>>  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).
It work great!!! With the new driver and files, I didn't need anymore 
the 2 seconds delay, I use again adapter_khz 6000 (with jtag_rclk 6000, 
the original pandaboard configuration, it seems didn't work, but these 
is another history :P). Moreover, it is at least more than 3 times 
faster (for example, the old driver need 240 seconds to transfer 3.6MB 
and the new between 55 and 65 seconds).

I think that this new driver must be documented in the oficial openocd 
documentation. I lost a lot of time with problems like I had. The cable 
that I am using (http://code.google.com/p/opendous/wiki/JTAG) give 
instructions to use with the ft2232 driver and the few people that speak 
about the new driver never say how to use it. The cable is similar to 
jtagkey, so I take its cfg file and made my own changes:

 >>>
interface ftdi
ftdi_device_desc "Dual RS232-HS"
ftdi_vid_pid 0x0403 0x6010
ftdi_channel 1

ftdi_layout_init 0x0c08 0x0f1b
ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
<<<

The first options are easy to understand, because are similar to 
previous driver, but I would like to know what mean the last 3? Is 
somewhere explained?

Andreas, thank a lot for the help and also for the driver :-D

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
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to