2020-04-22 09:58 AM - last edited on 2023-06-16 09:22 AM by Kevin HUBER
2020-04-22 10:03 AM
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..
2020-04-22 11:22 PM
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).