Code: Select all
screen /dev/ACM0 57600
The way udev assigns device links can be semi-random based on what USB devices you have and what ports they use.
Personally I use fixed etc/udev/rules.d/ to make sure device links are fixed, e.g.:
Code: Select all
SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="ttyUSB-RFLink"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200", SYMLINK+="ttyUSB-ZStick"
-D (disable explicit erase) is needed in newer avrdude, because Arduino Mega will auto-erase on programming. Therefore explicit erasing is not needed - and will actually fail with error if you try without this switch.Stuntteam wrote:Why the -D ?