How to connect to Serial port on board
Created by: jonahgraham
To connect to the serial port on the target board from the VM you need to do two things:
- Set rules in VM to give normal user permission (extracted from StackOverflow) this creates a new file.
a.
sudo nano /etc/udev/rules.d/50-myusb.rules
b. Add this to the file:
KERNEL=="ttyUSB[0-9]*",MODE="0666"
KERNEL=="ttyACM[0-9]*",MODE="0666"
c. Save and exit
- Connect the USB in VirtualBox to the VM a. Open the VM in VirtualBox - you may need to take it out of headless mode to do this b. From Devices menu -> USB -> Check "ARM DAPLink ..."