On May 26, 2012, at 18:19 , Manuel Borchers wrote: > So, in my opinion there needs to be a layer in OpenOCD that is quite > high-level ...
fully agree. perhaps for swd we could implement such a clearly layered approach. I see three layers: - one high level, with functions modeled after functional requirements; if the device is capable of such high-level calls, it'll directly implement this layer - the second level transforms the high-level calls to standard JTAG/SWD bitstreams; if the device supports bitstreams, it has to implement this layer - the third level transforms the bitstreams in sequences of bits, and the device has to implement only the bitbanged operations this is a typical object oriented polymorphic and hierarchical approach, and although it would be natural in C++, I see no major difficulties for implementing it in C. regards, Liviu ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel