FAQ
- Why is my serial output garbled?Garbled serial output is almost always a wrong baud rate or a wrong text encoding. Check these three things.
- How do I find a device’s baud rate?No need to try rates one by one: use automatic baud-rate detection, or start from these common defaults.
- USB-to-TTL adapter (CH340 / CP2102) not showing up as a COM port?No new COM port after plugging in? Check the driver, the cable and the USB port, in that order.
- “Access denied” or “port busy” when opening a COM port?Only one program can open a COM port at a time. Find who holds it, or let flashing and logging share the port.
- How do I use a serial console for Linux boards and U-Boot?A serial console needs VT100 emulation so that vi, top and menuconfig display correctly.
- How do I jump from a HardFault or assert in the log to the code?Keep the log and the firmware project side by side and Ctrl+click file:line references.
- Switching from SSCOM to QCCOMUsed to SSCOM (SSCOM32) or a similar serial terminal? Here is where opening a port, HEX send / receive, timed sending and log saving live in QCCOM.