On Sun, Oct 20, 2013 at 5:14 PM, Michael Schwingen <[email protected]>wrote:

> On 10/20/2013 04:55 PM, Paul Fertser wrote:
> > On Sun, Oct 20, 2013 at 04:28:59PM +0200, Michael Schwingen wrote:
> >> I wonder if one of the existing HLA protocols might be useable.
> > They're even higher level, about the Gdb serial protocol, so no,
> > unlikely.
>
> In that case, if none of the existing intelligent USB adapters use a
> protocol that is well specified and does what we need, a new one might
> have to be implemented. IMHO, that will be the way to go regarding SWD
> anyway, since it seems bit-banging SWD, even on something like a
> FTDI2232H, is not really fast, so an adapter with a cheap CPU doing the
> lowlevel stuff seems the logical choice.
>
>
I don't really like the idea of reimplementing half-assed wheels over and
over again. If you're creating something from scratch, make sure it's far
better than all alternatives. Otherwise, just use/improve that other thing.

There's already the CMSIS-DAP protocol from ARM that aims to become some
sort of standard for low-cost debug adapters. It covers both SWD (at the
DAP level, not at the protocol level) and JTAG (both for DAP and raw
access). Probably it's somewhat lacking with raw access but as far as I
understand, the protocol is extensible.

I suspect there might be some licensing issues around the reference
implementation and perhaps even documentation-wise, but otherwise it could
be a nice starting point.

/Andreas
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to