System Login
This guide aims to help users set up UART connection for debugging.
Mobaxterm
Board UART Pins
Before performing UART debugging, please locate the UART pins as described.
K4B
- Diagram
K4B DEBUG pins are a separate 3-pin interface.

Preparation
- Software: MobaXterm_Portable_v20.3.zip
- Hardware: Serial Debug Cable
Tip
Red: VCC (Not needed for connection); Green: TX; White: RX; Black: GND
.jpg)
Connection Setup
K4B
- Image Example

Mobaxterm Configuration
- Click "Session" to create a new session window.
- Select the session window type as 'Serial'.
- Select the serial COM port number (Check the COM number in the Windows Device Manager -> Ports section).
- Set the Speed (bps) to 115200.
-
Start the session window.
-
As shown in the figure,After clicking OK, you will enter the command line input window.

When the board is powered on and connected to the computer, Mobaxterm will display the information output of the development board during startup.

Once the connection is successfully established, press Enter in the command line interface to input commands.

At this point, we have successfully connected to the development board's terminal via the serial port. Now we can use various commands to control and debug the development board.
ADB
Android supports the use of ADB functionality. ADB (Android Debug Bridge) is a development and debugging bridge tool for the Android system. It supports connecting devices via USB or network, enabling device management and debugging operations such as application installation, file transfer, and command execution.
Preparation
- Hardware: Double male USB Type-C cable
- Software: ADB-tools
Connection Setup
- K4B Installation Diagram: Connect one end of the Type-C data cable to the motherboard and the other end to the personal host computer.

ADB
1.Extract the adb-tools.rar archive, for example, to the D:\ADB\adb-tools directory.
2.Open the cmd window and navigate to the extracted directory.
3.Run the command. Successful execution indicates a successful installation.

4.Enable ADB debugging.
