Sterling
DIIDevHeads IoT Integration Server
•Created by Sterling on 9/27/2024 in #firmware-and-baremetal
Issues with Viewing PRINTF Output on STM32 Nucleo L476RG with X-Nucleo IDB05A1
I'm working with the STM32 Nucleo L476RG board and the X-Nucleo IDB05A1 expansion board to develop Bluetooth Low Energy applications. My development environment is Keil uVision5, and I’ve successfully built and flashed the SensorDemo example from the STM32CubeExpansion package. The code runs fine, and I can debug it, but I’m having trouble viewing the output from the
PRINTF
statements in the example.
The board is connected to my computer through UART using the virtual COM port on the onboard ST-LINK. I'm configuring the project using STM32CubeMX with HAL libraries. I’ve tried redirecting the printf
output via UART and even enabled semihosting to capture the output in the debug console, but neither method has worked for me.
Does anyone have suggestions for an easier way to view the PRINTF
output, or could you recommend a better approach or development environment for working with STM32 Bluetooth LE boards? Any advice would be greatly appreciated.3 replies