Hint: LibSWD takes AP/DP Read/Write calls (DAP operations in general) and transfers them from/into bitstream and input/output data. This is implemented in a form of library/submodule, like a black box.
Integration part on the OpenOCD side is really small and simple (but smart I guess) - AP/DP Reads/Writes are calling LibSWD routines when SWD Transport is selected. When JTAG Transport is selected everything happens as before. LibSWD use Interface Transfer/Bitbang routines to manipulate electricity. I have additionally packed all ARM_DAP calls into Interface Feature, so Interface can use different Features to perform JTAG, SWD-LibSWD or its own SWD, or other tricks. Thats all :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
