On Thu, Jan 19, 2012 at 11:23 PM, Mathias K. <[email protected]> wrote: > You are right, but the jtag and swd are registering itself to the transport > class without any > interface. How to address it in the configuration?
Configuration file use "transport" command. Because OpenOCD did not have generic data transfer function for an interface, just jtag queue flush, I have added "bitbang" and "transfer" functions. Bitbang can set/get bit(mask) of the interface pins. Transfer performs generic bitstream read/write in/out of the char array. See [1] and [2] for more information. I hope this helps to implement some abstraction layer and make other transports possible :-) Best regards, Tomek [1] http://stm32primer2swd.sf.net/ [2] http://repo.or.cz/w/openocd/libswd.git -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
