Serial Login
Serial login is a core method for interacting with the board through serial communication interface (UART) in embedded development. Through serial tools, you can view system output logs and perform command line interactions.
When using USB serial data cable for serial login with CM4 IO board, please ensure the pin connections are correct. Incorrect pin connections may cause hardware damage to the board.
It is not recommended to connect the VCC interface (red wire) of the USB serial data cable to avoid damage to the board caused by incorrect connections.
Connect the USB serial data cable to the UART0 interface of CM4 IO board, and connect the other end to the PC's USB port.

| CM4 IO Board Pin Function | Connection Method |
|---|---|
| CM4 IO Board : GND(Pin6) | CM4 IO Board GND pin connected to USB serial data cable GND pin (black DuPont wire) |
| CM4 IO Board : UART0_TXD(Pin8) | CM4 IO Board UART0_TXD pin connected to USB serial data cable RXD pin (white DuPont wire) |
| CM4 IO Board : UART0_RXD(Pin10) | CM4 IO Board UART0_RXD pin connected to USB serial data cable TXD pin (green DuPont wire) |
Serial Login
Serial communication parameters
- Baud rate: 1500000
- Data bits: 8
- Stop bits: 1
- Parity: None
- Flow control: None
Using Tabby
We recommend using Tabby for serial port login. Tabby is a powerful and user-friendly serial debugging tool that supports multiple protocols including serial port and SSH, and is compatible with mainstream operating systems such as Windows, macOS, and Linux.
Download Tabby
Visit the Tabby official website to download and install the Tabby software.
Install Tabby
Select the appropriate installation package for your operating system and hardware architecture (Windows: tabby-<version>.exe, Linux: tabby-<version>.deb, macOS: tabby-<version>.dmg) to install the Tabby software.
Using Tabby
After installation, double-click the Tabby icon to launch the application.

Serial Port Configuration
① --> Settings : Click the settings option
② --> Profiles & connections : Click to configure connection options
③ --> New profile : Click to add a new configuration

Select Serial Port Template
Choose a base configuration as a template: Select any Serial template. You can modify parameters such as device name, serial port device number, and baud rate in the subsequent configuration interface.

Modify Serial Port Parameters
After selecting the Serial template, modify the following parameters:
① --> Name : Set the connection name (recommended to use the product name)
② --> Device : Set the serial port device number (default is /dev/ttyUSB0 if only one serial device is connected to a Linux system)
③ --> Baud rate : Set the baud rate to 1500000
④ --> Save : Save the configuration
For different platforms or when multiple serial devices are connected, you can safely unplug the USB serial cable connected to the board and observe the device number changes to identify the correct device.
Login via Serial Port
Click the run button to log in to the serial port device.

After a successful connection, press Enter to display the command line interface.
Using the Serial Port
Once successfully logged in via the serial port, you can view system logs and run commands to test system functionality through the serial port.