Hi!

Thanks for your help Andreas.
Here are my tests at first glance:

Old, ft2232 driver:

Reads:

666 kHz
dumped 524288 bytes in 13.240178s (38.670 kb/s)
10000 kHz
dumped 524288 bytes in 7.564166s (67.688 kb/s)

Writes:
666 kHz
wrote 524288 bytes from file temp in 53.600639s (9.552 kb/s)
10000 kHz
wrote 524288 bytes from file temp in 44.892124s (11.405 kb/s)

New, ftdi driver:

Reads:
666KHz:
dumped 524288 bytes in 10.671643s (47.978 KiB/s) (that's about 25%
speed increase)
10000KHz:
dumped 524288 bytes in 1.241579s (412.378 KiB/s)  (NOT BAD!!! :D)

Writes:
666 kHz:
wrote 524288 bytes from file temp in 21.794304s (23.492 KiB/s)  155% increase
10000 kHz:
wrote 524288 bytes from file temp in 4.419178s (115.859 KiB/s)  (10x !!!!!!!!!!)

Sorry for the language, but my friend, this is f*kin awesome!
I'll have to check tomorrow if it really does the writing, this sounds
unbelivable.

Regards,
  Ákos Vandra

On 21 May 2012 22:39, CeDeROM <[email protected]> wrote:
> On Mon, May 21, 2012 at 10:27 PM, Peter Stuge wrote:
>> Besides being clean the driver allows coalescing multiple debugger
>> transactions into a single USB transfer. MPSSE instructions are
>> transfered over USB as late as possible in order to minimize round
>> trips. Another improvement is the IN transfer being submitted before
>> the following OUT transfer. It's possible that the MPSSE would
>> have a read buffer overrun otherwise. (from the on-chip debugger)
>
> Okay, so this looks like "jtag queue flush" driver, or some part of it..?
>
> Why dont we use one driver that will allow packed transfer and bitbang
> using fastest possible speed with MPSSE (with the code I have
> proposed/posted) and simply modify the jtag flush / procedures so they
> enqueue/flush in the right moments? :-)
>
> I should have more time to feedback and some coding in July, sorry for
> the delays, I am overworked, phd takes more time than I expected and I
> also queued stuff from 2 years to be executed in 0.5 year so I have
> 1.5 year for some time finally for my open projects, except everyday
> job and other tasks...
>
> Best regards! :-)
> Tomek
>
>
> --
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to