How to debug print with Nucleo L476RG board with st-link.
I use printMsg command , it compiles Ok, but no output on itm window.
I am using stm32cubemxide 1.01 to do this.
Regards,
Ronald.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-19 6: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
- Labels:
-
DEBUG
-
STM32CubeIDE
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-12 9: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-19 4:29 AM - edited ‎2024-03-19 5: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.
