cancel
Showing results for 
Search instead for 
Did you mean: 

STMCubeIDE Data Logging Live Expressions in Debugging Mode Onto Computer

LCoff.1
Associate

First time posting and I apologize if this is something simple, but I can't seem to figure it out. I am currently using STM32's and the STMCubeIDE. I am doing a bunch of testing and am regularly in debug mode, monitoring the live expressions for different things. I want to know how, if I can, output all the live expressions to a txt file to my computer, so that I can long term do testing overnight and sift through the data for any potential errors.

Is this possible? If it is, how can I go about it? Is there something else anyone would suggest? I know I need to get the live expressions as I have a lot of peripherals I am working with too.

1 REPLY 1
KnarfB
Principal III

Check out STM32CubeMonitor https://www.st.com/en/development-tools/stm32cubemonitor.html for logging and viewing data (global variables). Alternatively you may pipe your data through ITM/SWO (not on Cortex-M0, M0+) similar to a serial port, and dump the output using STM32CubeProgrammer.

hth

KnarfB