Hello,
Read http://stm32primer2swd.sf.net and http://libswd.sf.net then look at
the ft2232.c and swd_libswd_drv.c in openocd-libswd fork at
http://repo.or.cz . The full integration is planned in some free time,
maybe on holidays in july/august, the fork works so you can work on that
for now :-)
To provide swd access to your driver you only need to provide 'transfer'
and 'bitbang' functions for your device which should be easy to implement,
no need to change other stuff, look at ft2232_transfer and ft2232_bitbang
as an example. If existing drivers would work in a generic manner, not jtag
queue centric, it should work already :-) but when you make that functions
other transport will be available as well :-)
Good luck :-)
Tomek Cedro
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
On May 25, 2012 6:14 PM, "Liviu Ionescu" <i...@livius.net> wrote:
> I am considering adding support for SWO trace to the J-Link driver, which
> requires SWD support.
>
> are there any plans to do this? is there any previous work regarding this,
> not published to the repository?
>
> regarding the existing swd support, I would appreciate, from the person(s)
> leading/contributing to the swd implementation, a short briefing with the
> current status, and short/medium term plans, in order to avoid duplicating
> efforts.
>
> best regards,
>
> Liviu
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> OpenOCD-devel@lists.sourceforge.net
> 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
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel