AZIC Education
DownloadsTools & Software

Serial Terminal Apps

Serial terminal applications for ASIC miner debugging. UART communication tools for control board diagnostics, firmware recovery, and low-level troubleshooting.

Overview

Serial terminal applications let you communicate with a miner's control board via UART (Universal Asynchronous Receiver/Transmitter). This is essential for low-level debugging, viewing boot logs, accessing the bootloader, and recovering bricked devices that can't be reached over the network.

When do you need a serial terminal? When a miner won't boot, has no network connectivity, or you need to access the U-Boot bootloader for NAND recovery. Most routine maintenance doesn't require serial access.

Hardware Requirements

Before using any serial terminal software, you need:

ItemDescription
USB-to-UART adapterCP2102, CH340, FT232, or PL2303 based
Jumper wiresFemale-to-female Dupont wires
Pin headerSolder to control board UART pads if needed

UART Connection Settings

Most Antminer and Whatsminer control boards use:

ParameterValue
Baud rate115200
Data bits8
Stop bits1
ParityNone
Flow controlNone

Pinout

Connect your USB-to-UART adapter to the control board's UART header:

Adapter PinControl Board Pin
TXRX
RXTX
GNDGND
Do NOT connect VCC

Never connect the VCC/3.3V line from your USB adapter to the control board. The control board has its own power supply. Connecting VCC can damage both devices.

Serial Terminal Software

PuTTY (Windows)

The classic terminal emulator with serial port support.

PuTTY

v0.81

Free SSH, Telnet, and serial terminal client for Windows. Lightweight and reliable for UART debugging.

EXE3 MB2024-04-15
Windows 7+
Download(3 MB)

Configuration:

  1. Set Connection type to Serial
  2. Enter your COM port (e.g., COM3) — check Device Manager
  3. Set Speed to 115200
  4. Click Open

Tera Term (Windows)

Feature-rich terminal emulator with macro support and logging.

Tera Term

v5.2

Open-source terminal emulator for Windows. Supports serial, SSH, and Telnet with macro scripting and log capture.

EXE12 MB2024-08-10
Windows 10/11
Download(12 MB)

CoolTerm (Cross-Platform)

CoolTerm

v2.0.1

Simple serial port terminal application. Clean interface with data logging. Works on Windows, macOS, and Linux.

EXE/DMG/DEB8 MB2024-05-20
WindowsmacOSLinux
Download(8 MB)

minicom (Linux / macOS)

The standard command-line serial terminal for Unix systems.

# Install
# Ubuntu/Debian
sudo apt install minicom

# macOS
brew install minicom

# Connect (replace /dev/ttyUSB0 with your device)
minicom -b 115200 -D /dev/ttyUSB0

# Or use screen
screen /dev/ttyUSB0 115200

picocom (Linux / macOS)

Lightweight alternative to minicom.

# Install
sudo apt install picocom  # Debian/Ubuntu
brew install picocom       # macOS

# Connect
picocom -b 115200 /dev/ttyUSB0

# Exit: Ctrl+A then Ctrl+X

Arduino Serial Monitor

If you already have the Arduino IDE installed, its built-in Serial Monitor works well for basic UART communication.

USB-to-UART Driver Installation

Most USB-to-UART adapters require drivers:

ChipDriver Source
CP2102 / CP2104Silicon Labs
CH340 / CH341WCH
FT232 / FT2232FTDI
PL2303Prolific

macOS users: Recent macOS versions include drivers for most common adapters (CP210x, FTDI). If your adapter isn't detected, install the manufacturer's driver and reboot.

Common UART Debugging Tasks

Viewing Boot Logs

Connect the serial terminal before powering on the miner to capture the full boot sequence:

U-Boot 2016.11 (Feb 10 2023 - 15:30:22 +0800)

DRAM: 512 MiB
MMC:   mmc0@10100000: 0
Loading Environment from NAND...
...
Starting kernel ...

Accessing U-Boot

To interrupt the boot process and access the U-Boot bootloader:

  1. Connect serial terminal
  2. Power on the miner
  3. Immediately press any key when you see "Hit any key to stop autoboot"
  4. You now have access to U-Boot commands
# U-Boot commands
printenv              # Show environment variables
setenv ipaddr 192.168.1.100    # Set IP
tftpboot 0x82000000 firmware.img  # TFTP boot
nand erase.chip       # Erase NAND (DANGEROUS)
reset                  # Reboot

U-Boot is powerful and dangerous. Commands like nand erase.chip will destroy all data on the control board. Only use U-Boot commands if you understand what they do and have a recovery plan.

Kernel Debugging

After boot, the serial console provides access to the Linux shell:

# Login (credentials vary by model/firmware)
# Common defaults: root/root or root/admin

# View kernel messages
dmesg | tail -100

# Check running services
ps aux | grep cgminer

# View system log
cat /var/log/messages

Troubleshooting Serial Connections

ProblemCauseSolution
No output at allWrong baud rateVerify 115200 bps
Garbled textTX/RX swappedSwap TX and RX wires
COM port not foundMissing driverInstall correct USB-UART driver
Partial outputLoose connectionCheck wire connections
Permission denied (Linux)User not in dialout groupsudo usermod -aG dialout $USER