I can't upload my sketch (also a simple setup) to the Arduino board. Since I haven't used the arduino for 5 years, I want to briefly check whether my hardware setup is correct.
Arduino 1.8.12
Mac Book 2019 with USB hub to Thunderboldt port.
Tools > Board: Arduino Uno
Tools > Port: /dev/cu.usbmodem141101 (Arduino Uno)
Tools > Programmer: AVRISP mkll (which is not used)
BN: Arduino Uno
VID: 0x2341
PID: 0x0043
SN: 85235353037351806252
while uploading i get the error code:
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
or error code:
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x00
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00