• 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: ESP32-S3FH4R2 Matrix 8x8 RGB-LED-WiFi Bluetooth QST Attitude Gyro Sensor QMI8658C Arduino Python USB Camera 2MP GC2093 ‌WDR Backlight Compensation‌ Onboard microphone RP2040 X1003 Raspberry Pi 5 PCIe to M.2 NVMe SSD MINI Adapter Board HAT Pi5 2242 2230 Raspberry Pi Pico GNSS expansion board L76K GPS Beidou (BDS) GLONASS QZSS A-GNSS For RP2040/RP2350 Raspberry Pi Starlight Camera IR-CUT IMX462 (A) Sensor 2MP 90 Degree UGV Beast PT Kit AI OpenCV Robot Car MediaPipe For Jetson Orin Raspberry Pi 5 Raspberry Pi 8 inch DSI MIPI LCD TouchScreen Display 8inch 800x1280 For Luckfox Lyra RK3506/ESP32-P4/Luckfox Omni3576 ESP32-P4 Smart 86 TV Box Development Board 4 inch 720x720 Display TouchScreen RS485 Relay Camera RJ45 ETH STLINK 4.2 inch e-Paper Display G Red/Yellow/Black/White 4.2inch E-link Screen For Arduino /Raspberry Pi /Jetson Nano /STM32 Industrial Modbus RTU RS485 8-ch 30A High Current Relay Module (E) With Digital Input PI5 X1203 Raspberry Pi 5 UPS Board Uninterruptible Power Supply For Li-Battery (NOT includ) 7inch Monitor Display ESP32 Thermal imaging camera USB-CAN-B Raspberry Pi 4 Sound Card Workstation electronic Nameplate