Hello :-)

As the SWD seems to work it would be nice to have SWD driver for RLink
implemented. Is there anyone willing to do this? Is there anyone
familiar with the RLink meta language and could assist wit this task?
:-)

I can see two ways of doing this driver:

1. Faster but slower ;-) It should work out of the box when we craft
Transfer and Bitbang functions out of what we already know and use
LibSWD for bistream generation and decomposition. This will imply slow
throughput.

2. Slower but faster ;-) It would require to reverse engineer existing
SWD protocol and implement driver as SWD Features that can operate on
DAP with commands like AP/DP READ/WRITE. This way we can skip LibSWD
and use RLink metalanguage to construct bitstream. We would the send
one USB operation for DAP access and read the result. This will give
way faster throughput but require more work with the driver itself.

As I should present some result with Stm32Primer2 this seems to be
priority task for me. However, I have more experience on FT2232 chips
and would prefer to apply LibSWD on new MPSSE Interface...

USB traffic dumps out of the RLink-SWD communications plus
viewer/analyzer software can be found at
http://files.tomek.cedro.info/electronics/arm/cortex/stm32/rlinkre/

Who is ready for the challenge? :-)

Best regards :-)
Tomek

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

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to