Skip to content
Contents
GuidesOpenWrt

OpenWrt serial console is garbled even at the right baud rate

A console full of random characters, output that becomes garbled at one particular line, and a terminal that shows only what you type suggest different checks. Start with the electrical connection, the settings for that boot stage, or local echo respectively. Keep the boot configuration intact while you work on receiving readable text.

A console full of random characters, output that becomes garbled at one particular line, and a terminal that shows only what you type suggest different checks. Start with the electrical connection, the settings for that boot stage, or local echo respectively. Keep the boot configuration intact while you work on receiving readable text.

Make a receive-only connection

Confirm pinout, voltage levels, and serial port parameters based on device documentation or schematics for the corresponding hardware revision. Different boards may use 1.8 V or 3.3 V; USB adapter wire colors, connector shapes, and nominal power voltage are insufficient to identify signal voltage levels. If board-level evidence is unavailable, pause here. RS-232 level converters are not suitable for direct connection to TTL debug ports.

Upon obtaining a USB-to-TTL adapter, a multimeter reading of 5.11 V between VCC and GND indicates only power supply—no information about TXD's logic high level or RXD's ability to withstand the same voltage. Refer to the specific model's I/O voltage specifications and cross-check them against the target board's documentation. If only a model such as ZBT Z8114AX is available, and no revision-specific pinout or logic level data exists, keep the signal lines disconnected initially.

Disconnect power before wiring. After checking that the logic levels match, connect common GND and the board's TX to the adapter's RX. Leave the adapter's power and TX pins disconnected. Select the correct serial device, disable local echo and set the baud rate, data bits, parity, stop bits and flow control from the board documentation. Start logging before powering up the router with its original supply. If nothing appears, unplug and reconnect the USB adapter to identify its port, then check TX and ground. For consistently garbled text, compare with a known compatible device or try a shorter cable, changing one thing at a time.

Checking the serial logic level on a D-Link DAP-2660

The OpenWrt D-Link DAP series documentation specifically lists the DAP-2660 as an example with 2.5 V serial logic. This is a signal voltage. Neither the adapter’s supply pin nor the enclosure’s power rating establishes the signal level. Identify the unit, board revision and header orientation, then compare the board documentation with the USB serial adapter’s input specifications.

For read-only logging, keep Ethernet and the existing management path available. After confirming ground and compatible receive levels, connect board TX to adapter RX and common ground. Leave adapter TX and VCC disconnected. Stop before wiring if the header or input thresholds are uncertain. Consistent readable text across boots verifies reception; a few legible characters do not establish voltage tolerance. We did not measure the signal on this board.

Does the corruption start when Linux takes over?

If the full U-Boot version and memory information can be read each time, and an error occurs only after the kernel takes over, retain the last normal line of text and the first abnormal position. Verify the kernel's console parameters and serial port number on the board; if network login is possible, read cat /proc/cmdline. In some systems, subsequent changes may use a different console; stopping output does not necessarily indicate a crash. Always remain aware—only when a few characters are overwritten—first inspect the raw log without terminal coloring to check carriage returns and control characters.

Compare two normal boots. Look for the same board name and boot stage, with consistently readable text. A receive-only connection cannot send commands to the router. Once wired management works, power off before disconnecting the adapter. If board documentation is missing, leave the pins alone. Keep the saved baud rate and boot environment intact.

Related reading · How to enable SSH or serial console terminal before flashing firmware?

Explore hardware

Devices mentioned

Comments