Minicom for console on engineering board


First, plugin the usb connector to your workstation
sudo minicom -s

If you have not the minicom command, you should install it by the
$sudo apt-get update
$sudo apt-get install -y minicom

/dev/ttyUSB0
115200 8N1
no flow control
no flow control

> save as dlf

Minicom shortcuts

Ctrl+A,Z to show the menu
X for Quit and save changes
Q for Quit without save changes
C for clear the screen
J for Jump to shell
W for Toggle line-wrap on/off
C for Open capture file(Save screen data, to a file)
Ctrl+A,L to capture the typing and texts to a file

Minicom Locked

Sometimes, we forget to exit minicom, we will get a error message in the next time.
Device /dev/ttyUSB0 is locked.

because the system lock is set, we should reset the lock.
$sudo rm /var/lock/LCK..ttyUSB0

留言