17 releases (5 breaking)

0.6.1 Aug 15, 2021
0.5.0 Aug 14, 2021
0.4.0-alpha.0 Jun 29, 2021
0.2.1 Mar 17, 2021

#4 in #dwt


Used in 3 crates (2 directly)

MIT/Apache

47KB
827 lines

itm-decode - decode ITM and DWT protocol packets

itm-decode is a sans-I/O library crate that decodes ITM and DWT protocol packets as defined in the ARMv7-M Architecture Reference Manual, eighth release, appendix D4.

License

The code in this repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.


lib.rs:

A decoder for the ITM and DWT packet protocol as specifed in the ARMv7-M architecture reference manual, Appendix D4. Any references in this code base refers to this document.

Common abbreviations:

  • ITM: instrumentation trace macrocell;
  • PC: program counter;
  • DWT: data watchpoint and trace unit;
  • MSB: most significant bit;
  • BE: big-endian;

Dependencies

~4MB
~88K SLoC