Hello Akos :-) The transport layer is ready and functional using LibSWD[1]. I dont know about how well Versaloon supports the SWD, but I created dedicated driver for FT2232 so it should match your hardware, it is more versatile because it has some TCL interface. The current task is to make Target layer work with SWD because there were some JTAG-only parts of the code in the transport system. You are in the right place and time to help me with the Target and the SWO :-)
There is a dedicated git fork for openocd+libswd [2]. You can see my scratchpad on SWD implementation since its beginnings. The current state of the code is that error handling and retransmission needs to be implemented in case target returns WAIT or FAULT response, this is your first task :-) Please ask if you need any additional information :-) The recommended order to get familiar with the organization is [3] [1] [2]. The documentation on the LibSWD website is a bit outdated as it used SVN and I have switched to GIT meanwhile, but I will try to sync repositories asap, you can clone the git repository and "make doxygen" to have a fresh copy at glance. Best regards :-) Tomek Cedro [1] http://libswd.sf.net [2] http://repo.or.cz/w/openocd/libswd.git [3] http://stm32primer2swd.sf.net -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
