LOGBOOK

HELP

Quiz Entry - updated: 2026.12.01

What does minicom -b 115200 -D /dev/ttyUSB0 give you, and how is it different from the JTAG connection?

It opens a serial terminal on the board's USB-UART bridge at 115200 baud, so you see whatever the firmware prints. JTAG is a separate channel that controls the CPU itself.

The laptop runs minicom on the USB-UART link to the ESP32, and GDB talks to OpenOCD over TCP port 3333, which drives the FT232H over USB and the ESP32's JTAG pins GPIO12-15

* The serial link carries what the program prints; the JTAG path controls the CPU. *

The ESP32-DevKitC has a USB-to-UART chip that shows up on Linux as /dev/ttyUSB0. The firmware's printf output (boot log, prompts, messages) goes out over that UART, and minicom displays it. -b 115200 sets the baud rate, which must match the firmware's console setting (115200 is the ESP-IDF default), and -D picks the device.

Channel Path What it can do
Serial monitor USB cable to the DevKitC's UART bridge Read what the program prints, type input to it, flash with esptool
JTAG FT232H adapter on GPIO12-15 Halt the CPU, set breakpoints, read and write memory and registers

So the serial console shows the behaviour of the program and JTAG exposes its internals. In a debugging session you use both side by side. Quit minicom with Ctrl+A then X; idf.py monitor is an alternative that also decodes crash backtraces.

Go deeper:

From Quiz: SIOT / Firmware Analysis and Hardening Against JTAG Attacks | Updated: Dec 01, 2026