---------- Forwarded message ---------- From: Akos Vandra <[email protected]> Date: 25 September 2011 18:03 Subject: Re: [Openocd-development] SWD? To: Tomek CEDRO <[email protected]>
Hi! I'm trying to follow your instructions here http://stm32primer2swd.sf.net/ but I cannot find the interface script for kt-link-swd. I tried cloning the openocd git repo from here: git://openocd.git.sourceforge.net/gitroot/openocd/openocd It doesn't build but it doesn't contain the interface script either. My hardware is not a kt-link, but it *should* work, because the SWD pinout is the same. Regards, Ákos On 25 September 2011 16:23, Akos Vandra <[email protected]> wrote: > Hi Tomek, > > Thank you for the pointers, I chew them through, and get back to you > when I'm starting to get a hang of it. Or when I get stuck, hope it > will be the former :) > > Regards, > Ákos > > On 25 September 2011 16:07, Tomek CEDRO <[email protected]> wrote: >> 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
