diff --git a/README.md b/README.md index 8a7e2e66b28033171121c3b63b599f8aacc6fc86..322b2ffbc4256c155a568ec0bddb178aacf0a526 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,36 @@ The set of examples covers. - `ITM` tracing truogh the file `/tmp/itm.log`. - Access to `arm-none-eabi-gdb`. +# ITMDump + +Install via + +``` +cargo install itm +``` + +Note + Version 0.1.1 of ITM has a different syntax, the latest, version 0.2.0, see below. + +Before running openocd run: + +If this is the first time or if no /tmp/itm.log exists: +``` +> mkfifo /tmp/itm.log +``` + +When the FIFO-file exists, do the following: + +``` +> itmdump -Ff /tmp/itm.log +``` + +ITM Version 0.1.1: + +``` +>itmdump /tmp/itm.log +``` + # Openocd Start `openocd` in a terminal window. (Status and semihosting output is visible here.)