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.
>> abstraction that it can be used on STM32, ATMega etc.. with different
> Who would use ATMega if it costs _more_ than modern controllers but
> allows to do much, much _less_?
>
I fully agree. However, if a new adapter/protocol is designed for
OpenOCD use, it should be possible to implement it on eg. STM32 using a
suitable abstraction so that the same protocol-handling code can be used
on Atmega-Ux.

If I were to buy a new board for this purpose, I would use an STM32, but
there are probably lots of arduino boards out there that can be used
just as well, provided someone writes the processor-dependant part.
After all, the start of the thread was about providing a solution that
can be used on multiple boards to make use of what users already have.

cu
Michael


------------------------------------------------------------------------------
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