• 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: MK20 Computer AI Deepseek Mechanical Voice Keyboard Linux 20x0.85inch LCD Screen Customize keys + 2.8 inch Secondary Display Font-Modulation-Tutorial User Guide Raspberry Pi 5 IR Camera Raspberry Pi Triple LCD HAT RS422 to CAN 5inch Raspberry Pi Touch Display 2 5-inch Official Original 720x1280 LCD DSI/MIPI Screen 1.3inch LCD RP2040-PiZero Game ST7789 Raspberry Pi Pico LCD Display Screen ESP32-S3 1.69inch Touchscreen LCD Round Display WiFi Bluetooth With QST Attitude Gyro Sensor QMI8658 Digital Photo Frames Finger Vein Scanner Module (B) Cortex M4F UART serial port EAL4+ security certification qualification Raspberry Pi CM5 Mini Base IO Board NANO B Development For Compute Module 5 RV1103 Raspberry Pi 1.3inch LCD DC-DC Step-Down Mini voltage Moudle Input 5~36V voltage Output 5V/3.3V 4A Milk V Duo ESP32 C5 Development Board 1.47 inch LCD Display Screen ST7789 For WiFi6/LVGL/HMI Onborad SD-Port/RGB-LED Raspberry Pi Pico 2 RP2350 3.5 inch LCD Capacitive 3.5inch TouchScreen Development Board 240x320 Display QMI8658 6-Axis /OV5640 Camera /SD ADXL354C Dev Board ESP32 C6 AI 0.85inch Development Board 0.85 inch DeepSeek RGB surround light Dual mike DeepSeek AI Voice Chat Camera Robot BOX ESP32-S3 Development Board 2 inch LCD N16R8 Touchscreen Display Camera