- screen /dev/ttyUSB0 115200
- Ctrl-a \
- pip2 install esptool
- esptool.py --port /dev/ttyUSB0 erase_flash
- run sudoedit /etc/udev/rules.d/50-ttyusb.rules
- add
KERNEL=="ttyUSB[0-9]*",NAME="tts/USB%n",SYMLINK+="%k",GROUP="uucp",MODE="0666"
- replug serial
- check : http://www.electrictoolbox.com/screen-cannot-open-your-terminal/
-
- Log out of the terminal/SSH session and log back in as the user you want to run screen as instead of using su.
-
script /dev/null
screen /dev/ttyUSB0 115200