Concept Flow - Printf debugging over UART
Start Program
Initialize UART
Run Code
Call printf()
Format String
Send Data via UART
Receive Data on PC
View Debug Output
Continue Program Execution
The program starts, sets up UART, then uses printf to send formatted debug info over UART to a PC for viewing.