Hello Openers! :-) Today is my birthday so I want to share promised draft of the libswd, that is now available at http://files.tomek.cedro.info/electronics/arm/cortex/libswd/ ;-) I forgot power supply for my laptop so was not able to put it on the sourceforge and document with doxygen as planned - sorry - should become available around next week. This libswd should work also standalone (libswd.c) or can be intergater with some utility such as OpenOCD - it has bidirectional queue organization - every operation (request, trn, data, parity, ...) is represented by a "cmd"/command on a queue, queue can be fulshed by a "driver" layer (libswd_drv.c). There are still some bugs, some functionalities are missing.
High level utility should use function like swd_idcode, or create its own function on its image (they will be moved to separate libswd_user.c file). Other functions are the meat and potatoes to work on the queue. Queue organization should be also helpful to display operation quants, progress and trace operations on the swd bus, something like sw-view or trace bugs. I have noted great ideas of David within OpenOCD srources, especially for "transport" selection, that should help implementing transports like swd (but not only). I am sure now we can take what is best from both solutions and create versatile swd access :-) Still I have to fix/finish the UrJTAG integration but development inside OpenOCD should be now possible. For now its time for a short break :-) Merry Christmas everyone!!! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development