Serial Connection
The serial connection is a method of communication between the host computer and the development board using a serial interface. It allows you to monitor the output and interact with the board during the boot process and after the Linux system has started. This method is particularly useful when modifying the bootloader or the Linux kernel, as it provides access to the board even if the system is not fully operational.
Make sure that the board is connected as described in the Connect the Board section.
- Linux
- Windows
The recommended way to access the serial console on Linux is to use the
tio utility. Any other terminal emulator that supports serial
communication can also be used.
To install tio, run the following command:
sudo apt update
sudo apt install tio
To list the available serial devices, run the following command:
tio --list
Choose the appropriate serial device from the list (e.g., /dev/ttyUSB0)
and run the following command to access the board:
tio /dev/ttyUSB0 -b 921600
After running the command, you should be able to interact with the board through the serial console.
To set up PuTTY on Windows, follow the instructions below:
- Download the latest PuTTY installer from the official URL.
- Install PuTTY on your computer by running the downloaded installer and following the installation prompts.
- Open PuTTY and configure the serial connection in the Connection/Serial settings:
| Setting | Value |
|---|---|
| Speed (baud rate) | 921600 |
| Data bits | 8 |
| Stop bits | 1 |
| Parity | None |
| Flow control | None |
- Click the Open button to start the serial connection.
After opening the connection, you should be able to interact with the board.