USB to serial port under virtual machine

  
 

1. Open the VMware workstation, click the setting under the VM on the menu bar, enter the virtual machine setting dialog

2, click add, add the serial port, (I chose my windows display here) The usb to serial port generated COM4 port, here is a problem, in fact, just click the next step, until it is completed.

3. Connect the development board, open the linux virtual machine, enter the terminal and enter minicom – s, enter the minicom setting mode.

a) Check if the device /dev/ttyUSB0 exists. If not, create one: (I have not been able to find /dev/ttyUSB0, create one as follows, and open this minicom without popping it.) I checked the original usb to serial port and also run under windows, did not load linux, found ttyUSB0 in /dev after loading, very smoothly connected)

mknod /dev/ttyUSB0 c 188 0

a) Select the serial port: in the selection menu, click “Serial port setup”, press Enter, and then press ““A” to set “Serial Device”/dev/ttyUSB0 (note that the USB is Capitalized), press Enter to return.

b)Set the baud rate: Press the <;E” key to enter the setting >bps/par/Bits” (baud rate) interface, if you press “I” to set the baud rate to 115200, Press Enter to return. (I am using the 2440 board)

c)Set the flow control by “F”, Hardware Flow Control" for “No”.

Note: Useful in minicom Function

Command Help“Ctrl +A”Press “Z”

Clear Screen"Ctrl+A”Press “C”

Settings“ Ctrl +A”Press “O”

Send File“Ctrl +A”Press “S”

Exit“Ctrl +A”Press “Q”< Br>

Copyright © Windows knowledge All Rights Reserved