Description
In Android systems, serial ports are usually not used directly for debugging. Instead, ADB (Android Debug Bridge) is used for debugging and log viewing.
Serial output is verbose and difficult to filter and manage, while ADB provides more powerful features and easier usage.
Therefore, in Android systems, the serial port is only used as a real-time log output channel for users to view system logs without ADB.
Connect for Serial Debugging
The board's serial interface is located on the side of the board (three pin headers). Use a USB to TTL module to connect to the board's serial interface. The connection method is as follows:
The USB to TTL module purchase link👉:LCSC-Openkits - Serial Tool (Official Tool)
Use Mobaxterm to View Serial Logs
Download and Install Mobaxterm
Download the Home Edition installer from Mobaxterm Official Website 🌐 and complete the installation following the prompts.
Connect the Serial Device
Open Mobaxterm, click the Session button in the upper left corner, and select the Serial tab.
Select the COM port number. Mine is COM29:
Enter the baud rate directly: 1500000 (Note: Do not click the dropdown on the right. 1500000 is not in the options, so just enter it directly)
Click settings to configure (follow the settings in the image below):
Then open the corresponding serial port: