I have a launcher which includes the below line. I believe that line should be enable OCD's ITM mechanisms. However I do not know how to display this data.
Code: Select all
monitor itm port 0 on
http://openocd.org/doc/html/Architectur ... x-itm-port
Does anyone have suggestions on how to view this ITM data via OCD mechanism?
Also I'm not specifically tied to OCD. I just see other references in the forum here which have guided me in that direction. I'm OK with using other mechanisms that can allow me to do printf statements which get debug data over the SWO signal on a STLink debugger.
I've made a demo project as an intermediate step in understanding how to get ITM working. I have a ChibiOS project which will ultimately use this on my own PCB. However this project has been simplified to just a blinking LED and it's using a demo board which other will hopefully have laying around.
The below project uses a STM32 discovery board, with NO modifications.
https://github.com/jharvey/ITM_Example