2012/3/13 simonqian.openocd <[email protected]>: > I just want to find a start point, and original JTAG code is least affected. > So I want first make OpenOCD transport independent, so that JTAG is also > usable(and testable) and meanwhile SWD code can be commited.
That would indicate need to add retry and error handling in the OpenOCD, not in the underlying transport, because transport should only be used to send commands between application and the target, which was done last year. We need proper error handling and retry mechanism in OpenOCD. If you look how much effort it require, then you realize why I have decided to implement it in libswd/transport first although it seems more complex. That would be very welcome and I think this is the most important thing at the moment to implement error handling and retry directly in the OpenOCD. Then we can move to code modularization, context centric, etc. Could you take care of that Simon? If so OpenOCD will already have SWD flash and debug workin even with libswd-0.3, and we have things done the right way... Best regards, Tomek -- 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
