Error when uploading code to lilypad arduino

Arduino: 1.8.13 (Windows 10), Board: "LilyPad Arduino, ATmega328P"

Sketch uses 1018 bytes (3%) of program storage space. Maximum is 30720 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

An error occurred while uploading the sketch

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x22

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x22

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x22

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x22

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x22

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x22

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x22

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x22

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x22

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x22

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Install the board core for your board via the IDE:

· Tools > Board > Boards Manager

· Search for "Arduino AVR Boards"

· From the drop-down menu select latest version

· Click "Install/update"

· Wait for installation to finish

· Click "Close" and restart your IDE.

. Plug your board back to the computer and select the board and port via tools.

See https://www.arduino.cc/en/Guide/Cores

Did you select the correct board? Did you select the correct port?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.