Hi everyone, I've recently been doing some development work on the openocd debugger software, and I needed to investigate some specific debugger behaviour. So I wrote a decoder for the SWD (Single Wire Debug) protocol used on a lot of ARM microcontrollers.
Patches are here: http://projectgus.com/files/sigrok/swd/ Filenames indicate a patch series but it's not really a series, all the patches are for different repos: * 0001- is the libsigrokdecode patch with the decoder. * 0002- is a sigrok-dumps patch with some characteristic dumps. * 0003- is a sigrok-test patch with expected decoder output. The dumps and test cases are a bit on the large side (patches are 40K and 400K uncompressed). They could be trimmed substantially so the test cases only act on a subset of the captures, but I couldn't work out an easy way to do this (see other email). This is the first protocol decoder I've written but hopefully it's reasonably suitable. Happy to make any changes necessary for inclusion. SWD is a reasonably complex protocol with some weird layering behaviour (writing to certain debug port register addresses configures the on-wire behaviour), so it's not the simplest decoder... BTW Thanks very much everyone who works on sigrok, a very useful and powerful tool. :) Angus ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________ sigrok-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sigrok-devel

