Hey @antti.havulinna @Rongzhong Li @3dp @leukipp @Lilie Boizumault, has anyone had any luck doing the same for Bittle and recent Arduino? I encountered the same avrdude issue as was mentioned above by several persons.
avrdude-original: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/home/ubuntu/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/home/ubuntu/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyS0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude-original: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30
avrdude-original: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0d
avrdude-original: stk500_getsync() attempt 3 of 10: not in sync: resp=0x0a
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 4 of 10: not in sync: resp=0x0a
avrdude-original: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30
avrdude-original: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0d
avrdude-original: stk500_getsync() attempt 7 of 10: not in sync: resp=0x0a
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 8 of 10: not in sync: resp=0x0a
avrdude-original: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30
avrdude-original: stk500_getsync() attempt 10 of 10: not in sync: resp=0x0d
Note that I'm on headless Ubuntu 20.04, RPi Zero 2 W. Reset pin was assigned to GPIO 26. Also note that arduino-cli doesn't recognize the NyBoard. Wondering what option should I use there?
I tried the following 2 w/o luck:
arduino-cli upload -p /dev/ttyS0 -b arduino:avr:pro:cpu=20MHzatmega328 OpenCat
arduino-cli upload -p /dev/ttyS0 -b arduino:avr:uno OpenCat