2019-07-19 06:20 AM
I've made my own lab.
it is 4 switches on gpio input's with interrupt
it switches 4 leds, so i you press switch 1 , led1 goes on , it works fine.
But i want to see debug messages in ITM terminal screen and i don't het this up and running.
hopefully someone can give me a pointer how to do this.
posted 3 screenshots :
one with de printMag statement and the other is the debug config. and the third is my test setup, the test program works fine , but i want to see debug messages.
I am using a Nucleo L476RG board with the integrated ST-Link interface
2019-08-12 09:55 PM
I found the answer myself.
there;a a document about debugging.
it all about divert stdio printf output.
After that you can use printf statements and anable the debug channel in cubemxide
It now works correctly.
2024-03-19 04:29 AM - edited 2024-03-19 05:36 AM
Dear ST. I have a similar lsituation in NUCLEO-L467RG. and Please post the solution.
Other posts do not open due to search.
Best Regards.