• sales

    +86-0755-88291180

Milk-V Duo UART login Terminal Tutorial

Serial console login

Prepare a USB to TTL module (USB serial device), using our lead wire as an example. Each pin is defined as follows:



Connect the USB to TTL serial cable to the Milk V Duo development board as shown below (do not connect to VCC)



Connection diagram:



After the serial communication device is correctly inserted into the computer, the corresponding device name and port name will be displayed on the device manager (where the port name is COM15)




To use remote access tool (in this case, PuTTY), select Serial mode, choose the port number that corresponds to the serial communication device (COM15), and set the baud rate to 115200.





When the Duo development board boots up, the system status information will be printed, and finally the command line operation interface will appear, which means that the serial port login has been successfully used



The default serial settings for Duo u boot and kernel console are:


Attention! If using a serial port login while the development board is powered on, it is likely to cause the console login software to remain blocked. It is recommended to use the remote access tool serial port login first when the development board is completely powered off (i.e. the Duo development board power supply and USB to TTL pins are removed from the Duo development board), and then power on the Duo development board, Then, use a USB to TTL device to connect the TXD, RXD, and GND pins of the Duo development board, so that the serial login function can be used normally


Attention! When using serial port login, the DUO development board should be powered on first before connecting the USB to TTL device, as the TXD pin of the USB to TTL carries electrical signals. If the serial port pin is connected first and then the DUO development board is powered on, the level of the TXD pin will cause the chip to be in a low voltage working state, which may cause confusion in the serial port timing of the chip and prevent the normal use of USB to TTL device login, And keep the remote access tool in a blocked state.

TAG: EVAL-ADXL354CZ EVAL BOARD RM520N GL 5G/4G/3G M.2 Moudle IoT EMBB For LTE-A/NSA/SA And GNSS For DFOTA /VoLTE For Quectel ESP32-S3 GEEK Raspberry Pi Monitor Official Original DisplayScreen 15.6 inch LCD Full HD 1920x1080 15.6inch 4.26inch 3key Keyboard Raspberry Pi Pico 2 RP2350 1.43 inch AMOLED TouchScreen Development Board 466x466 1.43inch Display QMI8658 6-Axis | PCF85063 RTC | SD | Battery Port Milk-V Duo HUB VGA to TTL Arducam CSI-to-HDMI ESP32 S3 2.1 inch Round LCD Development Board 480x480 TouchScreen Display LVGL HMI With QMI8658C 6-Axis Sensor JLINK OB ESP32 S3 AI 4.3inch (C) Industrial Development Board 4.3 inch TouchScreen Display Sensor CAN I2C RS485 DeepSeek RV1103 Laser 450nm 5W high precision module Adjustable focal length For Laser Carving / Laser 3D Printing ESP32-C6 Geek 1.14inch Development Board with 1.14 inch 65K Color LCD Sipeed FPGA Tang Primer 20K Dock/Lite 128M DDR3 Development Board GW2A-LV18PG256C8/I7 RP2040 1.5inch LCD LuckFox Pico Raspberry Pi 4B