• 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-C6 LCD Development Board 1.3 inch Display 1.3inch Screen ST7789 240x240 Mini TV SD-Port QST LVGL For Arduino 0.49inch OLED Screen Display 64×32 SSD1315 Arduino Raspberry Pi ESP32 Pico STM32 MPS2280D Raspberry Pi 5 PCIe to M.2 NVMe Dual SSD Adapter Board HAT Pi5 Double 2280 USB-CAN-B SpotPear ESP32 C3 RS485 Bus ESP32 IR Thermal Imaging Camera DeepSeek AI Voice Chat ESP32-S3 Box N16R8 AUDIO Board Support External LCD/Camera AI deepseek ESP32 C3 MINI TV Raspberry Pi IR Array Thermal Imaging Camera Far infrared 80×62 Pixels 45/90 Degree FOV USB Monitor DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 1.28 inch Round LCD 1.28inch TouchScreen N16R8 Raspberry Pi 64MP Camera ESP32-S3 AI 3.97-inch e-Paper Ink Screen 3.97inch Display AIoT Development Board Deepseek Milk-V Duo S WIFI Configuration Raspberry Pi Pico Camera PC Secondary Screen Bus servo driver board 7inch Round LCD HDMI Capacitive 7 inch Touchscreen Display 1080x1080 For Raspberry Pi/Jetson Nano/mini PC