Skip to main content
nBala.1
Visitor II
April 22, 2020
Question

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

  • April 22, 2020
  • 2 replies
  • 953 views

..

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
April 22, 2020

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 VenmoUp vote any posts that you find helpful, it shows what's working..
PatrickF
Technical Moderator
April 23, 2020

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 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent