Tag: Debug
-
How to redirect printf() to USART in STM32f103RB using STM32Cube IDE
Printf() function can be redirected to USART and also towards SWO. Here you will see how to redirect printf() to USART in STM32f103RB You need to rewrite this code in your main.c file If you have created your project using STM32CubeMX or STM32 Cube IDE, then you can rewrite it in between USER CODE BEGIN…
-
How to use printf using serial wire debug on STM32L476 Discovery
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…