Troubleshooting
avrdude: stk500_getsync()
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x4e avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6f avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6d avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6f avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x72 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x65 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x61 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x64 An error occurred while uploading the sketch
Bien selectionner la board Arduino/Genuino Micro
can't open device "/dev/ttyACM0": Device or resource busy
avrdude: ser_open(): can't open device "/dev/ttyACM0": Device or resource busy
modemmanager
tente d'utiliser l'Arduino comme un modem, plusieurs solutions sont possibles pour l'en empécher.
Soit créer une règle UDEV d'exclusion, en créant un fichier /etc/udev/rules.d/10-tty-acm.rules
:
- /etc/udev/rules.d/77-arduino.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0001", ENV{ID_MM_DEVICE_IGNORE}="1"
Voir cette page pour déterminer les valeurs de idVendor
et idProduct
.
Soit, plus radicalement, supprimer le paquet modemmanager
qui n'est plus utilisé aujourd'hui.