cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible debug with STM32 Discovery board without any external debugger llke st link?

nBala.1
Associate
 
2 REPLIES 2

Sure, use a USART to output diagnostics and telemetry, and get better at doing static analysis, so you don't need to single-step your own code to know how it functions..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
PatrickF
ST Employee

Note that all STM32 Discovery, Nucleo and Eval board provided by ST come with embedded ST-Link (you need to use a tool such as free CubeIDE to debug).

I agree that UART is in fact a very efficient way to debug (cheap debuggers/probes are relatively recent and there was generations of engineers using UART, GPIO and LED to debug their products).

In order 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.