For SWD, some more wise device is necessary to speed up.
I'll try to add my code into the latest libswd when ready.

BTW, FT2232H could be faster, it uses 480M USB, with 125us micro frame.
As to OpenOCD-Box, I'm considering to use Android devices, it's not expensive 
if using solutions from Chinese provider, the cost will be about $40 for a 
quard-core A9 solution with outer case. If using android later than 3.0, I can 
simply
implement a USB connection to my Versaloon, and implement an APK to control
the openocd in linux below.




simonqian.openocd

From: CeDeROM
Date: 2012-11-28 18:50
To: Freddie Chopin
CC: openocd-devel
Subject: Re: [OpenOCD-devel] openocd+libswd call for testing work in progress...
On Wed, Nov 28, 2012 at 10:22 AM, Freddie Chopin <[email protected]> wrote:
> With connected interface (JTAG-lock-pick Tiny 2) and connected target (STM32
> HD VL via SWD) I can do some basic operations, which are really slow, but
> seem to work

The speed is limited mainly by the USB bottleneck, it should not be an
issue on GPIO based adapters, this is why I have asked some time ago
about OpneOCD-BOX or the other device that runs openocd inside and
have direct gpio access provided... I have bought Carambolla, maybe
that will work, maybe Zylin is good candidate, time will show :-)

Each transaction in SWD consists of 3 phases, and there can be as much
as 3 direction changes in each transaction, which means 3 (or more)
flushes to the USB device, so there real limitation here is the USB
latency. This can change when using libusb-1.0 and async access. Some
more optimizations are possible also, but lets make things work first
:-)

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to