From 447681d53ce25702583d8e61be49bd737541055a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com> Date: Sun, 21 Jan 2018 13:44:04 +0100 Subject: [PATCH] Fixes for ITM version 0.2.0 --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 8a7e2e6..322b2ff 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.) -- GitLab