Welcome to Firefly
English
Firefly Docsss
Last Updated: 2026-11-20 11:00:39

Debug Usage

AIO-1684JD4 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 InterfaceLevelConnectionWindows ToolLinux ToolSerial Parameters
RS232 serial portRS232 levelRS232-to-USB cableMobaXterm (recommended)/PuTTY/SecureCRTminicom/picocom/kermit115200 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-1684JD4 to a PC for serial port debugging:

Serial Parameter Configuration

AIO-1684JD4 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:

  1. Download the free version of MobaXterm from the official website.
  2. Select Serial as the session.
  3. Change the Serial port to the COM port found in Device Manager.
  4. Set Speed (bsp) to 115200.
  5. Click the OK button.

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 portMaximum baud rateRecommended or notEvaluationPurchase link
CP21042MbpsRecommendedSupport high baud rate communication, good stability DurableClick to buy
CH3402MbpsNot recommendedIn actual use, it is found that the actual baud rate of many CH340s on the market cannot reach 1.5 Mbps
PL23031.2MbpsNot recommendedThe maximum baud rate cannot reach 1.5Mbps

Generally speaking, adapters using CH340 chips have relatively stable performance and are more expensive.

Note

The default baud rate for AIO-1684JD4 is 115200.

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

If you encounter the problem that TX and RX cannot be input and output when using other serial adapters, you can try to reverse the connection of TX and RX.

AIO-1684JD4 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:

On this page