We all use printf statements for debugging purposes at some point in time.
To use print statement. You need to do fuse one solder bridge
Fuse the solder bridge number SB14.
Always be careful since the solder bridges are very small.
After you have done fused the solder bridge. You can configure your project in STM32 Cube IDE.
Watch the video below for complete instructions.
A few things must be taken care of before you start debugging:
- The Core Clock in your debug configuration must be equal to the system core clock.
- Press the record button in SWV ITM Data Console before you start debugging.
Leave a Reply