sudo apt-get install picocom
picocom -b 115200 /dev/ttyUSB0
WarningFailing to close the Screen or picocom connection fully may stop you from being able to log in next time without rebooting the development platform. Close Screen sessions every time you are done with your serial connection. To end a Screen session, type Ctrl + A, then Ctrl + Q. |
Problem | Possible causes |
---|---|
Nothing at all shown on terminal emulator | Connected to wrong pins on GPIO header Faulty USB-serial cable or level shifter /boot/cmdline.txt and /etc/inittab have already been edited (see below) Flow control turned on in terminal emulator Wrong baud rate in terminal emulator |
Text appears corrupted | Wrong baud rate, parity, or data settings in terminal emulator Faulty level shifter |
Can receive but not send (nothing happens when you type) | Connected to wrong pins on GPIO header Flow control turned on in terminal emulator Faulty level shifter |
Problem | Possible causes |
---|---|
Python error 'No module named serial' | python-serial package not installed |
Python error '[Errno 13] Permission denied: '/dev/ttyAMA0' | User not in group 'dialout' getty is still running (from /etc/inittab) /dev/ttyAMA0 doesn't have rw access by group 'dialout' |