2025-01-02 08:00 PM
Why can't my WB55 P-NUCLEO board print BLE debug information via UART? Some configurations, such as CFG_DEBUGGER_SUPPORTED, CFG_DEBUG_BLE_TRACE, and CFG_DEBUG_APP_TRACE, have been enabled. I tested it, and it seems the printf function is not working. However, the HAL_UART_Transmit() and HAL_UART_Transmit_DMA() functions work correctly and can print data when tested in main.c. Why isn't printf able to output information? I have also tried redirecting printf, but it still doesn't work.
Here is my program.
2025-01-03 01:49 AM
Hello @ShenChuanAn
The printf does not depend on the CFG_DEBUGGER_SUPPORTED, CFG_DEBUG_BLE_TRACE, and CFG_DEBUG_APP_TRACE. Could you please try to follow the same implementation as on the UART_Printf example.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.