Debug Usage
AIO-1684XJD4 provides one debug serial port with two connection methods, corresponding to the same debug serial port: via the RS232 serial port (RS232 level) or via the DEBUG port (TTL level):
| Debug Interface | Level | Connection | Windows Tool | Linux Tool | Serial Parameters |
|---|---|---|---|---|---|
| RS232 serial port | RS232 level | RS232-to-USB cable | MobaXterm (recommended)/PuTTY/SecureCRT | minicom/picocom/kermit | 115200 8N1, no flow control |
USB-to-serial adapter is the abbreviation of USB-to-serial TTL adapter.
You can use an RS232 to USB adapter to connect AIO-1684XJD4 to a PC for serial port debugging:
Serial Parameter Configuration
AIO-1684XJD4 uses the following serial port parameters:
- Baud rate: 115200
- Data bits: 8
- Stop bit: 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 develop U-Boot or kernel, you need to use the DEBUG port for debugging. The operation is the same as that of RS232 debugging, but you need to pay attention to the adapter and its driver.
Optional Adapter
There are many USB-to-serial adapters on the online store, which are divided into the following types according to the chip:
| Serial port | Maximum baud rate | Recommended or not | Evaluation | Purchase link |
|---|---|---|---|---|
| CP2104 | 2Mbps | Recommended | Support high baud rate communication, good stability Durable | Click to buy |
| CH340 | 2Mbps | Not recommended | In actual use, it is found that the actual baud rate of many CH340s on the market cannot reach 1.5 Mbps | |
| PL2303 | 1.2Mbps | Not recommended | The maximum baud rate cannot reach 1.5Mbps |
Generally speaking, adapters using CH340 chips have relatively stable performance and are more expensive.
Note
Hardware Connection
USB to Serial adapter with four pins:
- 3.3V power supply (NC), no connection required
- GND, the ground wire of the serial port, connect to the GND pin of the serial port of the development board
- TXD, the output line of the serial port, connected 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-1684XJD4 DEBUG port:
Install Driver
Download the driver and install:
After inserting the adapter, the system will prompt to discover new hardware and initialize it, and then you can find the corresponding COM port in the device manager:

