Skip to content

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.

image-20251112163848620

Preparation

Tip

Red: VCC (Not needed for connection); Green: TX; White: RX; Black: GND

Connection Setup

K4B

  • Image Example

6f1ae0f544b8cbae4ef9948e446602cc

Mobaxterm Configuration

  1. Click "Session" to create a new session window.
  2. Select the session window type as 'Serial'.
  3. Select the serial COM port number (Check the COM number in the Windows Device Manager -> Ports section).
  4. Set the Speed (bps) to 115200.
  5. Start the session window.

  6. 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.

cd D:\ADB\adb-tools

3.Run the command. Successful execution indicates a successful installation.

adb --version

image-20251030103509920

4.Enable ADB debugging.

.\adb.exe shell

image-20251030103154909