LilyPad Development Board Hookup Guide
Troubleshooting
Common Arduino Compile Error Message
Not working as expected? Don't worry, it happens to us all. Sometimes things do not go as planned even though you followed the guide. This section highlights a few possible errors that you may encounter when trying to upload code to the LilyPad Development Board.
Error 1: avrdude: stk500_getsync(): not in sync
If you get an error message at the bottom of the Arduino IDE like the following:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
or
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x8c
The error output that you are seeing can be due to a number of reasons.
The value of the "sync resp
" is different and not always the same, so it’s hard to say. Here are a few common reasons for the error and possible solutions that are known in our knowledge base:
- You don't have the Board and Processor correctly set.
- The Tools > Board menu should be set to LilyPad Arduino for the board and ATmega328 as the processor. It should only be set to LilyPad Arduino w/ ATmega328.
- Serial Port may not be set correctly.
- If you've got more than one Serial Port listed in the menu, try selecting some of the others.
- Or the drivers didn't install properly.
* Try unplugging and re-plugging the ProtoSnap in. If it prompts you to install the drivers, try doing so again. If that still fails, I'd recommend shooting an email over to our technical support team.
Error 2: avrdude: ser_open(): can't open device
If you get an error message like the following:
avrdude: ser_open(): can't open device "\\.\COM15": Access is denied.
- It's possible that the wrong COM port was selected.
- Ensure that the COM port is the same as the FTDI connected to your computer. If not, select the correct COM port.
- It could also mean that there is a bad connection between the LilyPad Arduino Simple and your computer.
- In this case, the correct COM port was selected on
COM15
but the Lilypad Arduino Simple was not connected physically to the FTDI.
- In this case, the correct COM port was selected on
More Problems Uploading?
If you still have problems uploading code to the LilyPad Arduino Simple and it is not outlined here, try checking out the troubleshooting section of our activity guide:
Or you can also try following the link provided at the end of the upload error:
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
The link heads over to Arduino.cc's general troubleshooting page with a few possible solutions that are not outlined in our guides.