Skip to main content

Set up the working environment

Use Serial Console

USB to TTL serial cable

Each pin of a USB-to-TTL cable is defined as follows:

Document Pictures

Connection

Connect USB to TTL serial cable as shown below. Do not connect the red wire.

Milk-V Mars<--->USB to TTL
GND (pin 6)<--->Black wire
TX (pin 8)<--->White wire
RX (pin 10)<--->Green wire

mars-serial

The default serial setting for Mars console is:

baudrate: 115200
data bit: 8
stop bit: 1
parity : none
flow control: none
  • carbonfix
  • Rjgawuie
  • logan-milkv
  • MilkvHaaland