Debug Usage
AIO-186JD4 provides one serial port with two connection methods, corresponding to the same debug serial port: via the Type-C serial port or via the DEBUG port (TTL level):
| Debug Interface | Level | Connection | Windows Tool | Linux Tool | Serial Parameters |
|---|---|---|---|---|---|
| Type-C serial port | Direct USB | Type-C data cable | MobaXterm (recommended)/PuTTY/SecureCRT | minicom/picocom/kermit | 115200 8N1, no flow control |
| DEBUG port | TTL level | USB-to-TTL serial adapter | Same as above (driver required) | Same as above (driver-free) | 115200 |
The AIO-186JD4 can be connected to a PC using a Type-C cable for serial port debugging:
Please note that if you need to enable the Type-C debug port function, you must set the corresponding dip switch to the specified position:
- ON: Indicates that the Type-C serial port is enabled
- 1: Indicates that it is used as a standard USB2.0 (Host only) interface
Serial Port Parameter Configuration
The AIO-186JD4 uses the following serial port parameters:
- Baud rate: 115200
- Data bits: 8
- Stop bits: 1
- Parity: None
- Flow control: None
Using Serial Port Debugging
On Windows, PuTTY or SecureCRT are commonly used. We recommend the free MobaXterm terminal software:
- Download the free version of MobaXterm from the official website.
- Select
Serialas the session. - Change the Serial port to the COM port found in Device Manager.
- Set
Speed (bsp)to115200. - Click the
OKbutton.
If you want to perform U-Boot or kernel development, you need to use the DEBUG port for debugging. The operation is consistent with Type-C debugging, but attention should be paid to the adapter and its driver issues.
Choosing an Adapter
There are many USB to serial port adapters available online, categorized by chip type as follows:
| Serial port | Maximum baud rate | Recommended? | Review | Purchase link |
|---|---|---|---|---|
| CP2104 | 2Mbps | Recommendation | Supports high baud rate communication, good stability and durability | Click to purchase |
| CH340 | 2Mbps | Not recommended | In actual use, it has been found that many CH340 adapters on the market do not achieve a baud rate of 1.5 Mbps | |
| PL2303 | 1.2Mbps | Not recommended | Maximum baud rate does not reach 1.5 Mbps |
Generally speaking, adapters using the CH340 chip have relatively stable performance, but are a bit more expensive.
Note
Hardware Connection
USB to Serial Adapter, with four pins.
- 3.3V Power (NC), no connection needed
- GND, the ground line of the serial port, connect to the GND pin of the development board
- TXD, the output line of the serial port, connect to the TX pin of the serial port of the development board
- RXD, the input line of the serial port, connect to the RX pin of the serial port of the development board
Note
AIO-186JD4 DEBUG port:
Driver Installation
Windows systems need to install the adapter driver (Linux does not):
Download the driver and install it.
After plugging in the adapter, the system will prompt that new hardware is found and initialised, after which you can find the corresponding COM port in Device Manager:

