Arduino UNO :avrdude: stk500_getsync(): not in sync: resp=0x00

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Arduino UNO :avrdude: stk500_getsync(): not in sync: resp=0x00

Postby jpmcginley » Sat Mar 03, 2012 3:26 pm

I bought two eBay UNOs which did not work...so, I ordered two Arduino programmed chips from Adafruit last week. When I pull the chip(working) from my working UNO and put the Adafruit chip in and try to program, I receive the following message: avrdude: stk500_getsync(): not in sync: resp=0x00. Is there a way to tell whether or not bootloader is installed on the ATMel chip?
If I put the working chip, with a sketch on it in the eBay UNO, it blinks LED 13. I cannot program the known good chip in the eBay UNO, Arduino 1.0 IDE returns with: avrdude:ser_send(): write error: sorry no info avail. Is there any way to see whether UNO Bootloader is installed, or should I just use the USBtinyISP and program using ARDUINO 1.0 IDE?
I have tried pushing reset before uploading. I also purchased the Adafruit USBtinyISP which I'll build today/tomorrow to load bootloader onto chips with the Arduino.
Any suggestions for getting the new chips to at least work in my UNO? When I emailed Adafruit, they said to post the question here...so here it is.
Thanks
J.P.
jpmcginley
 
Posts: 3
Joined: Sun Nov 20, 2011 2:55 pm

Re: Arduino UNO :avrdude: stk500_getsync(): not in sync: resp=0x00

Postby sdb » Sat Mar 03, 2012 4:05 pm

Let's see if I understand correctly...

You have a working Uno with a removable chip. You program that Uno with a blink sketch and it works.

You have two non-working ebay Uno with removable chips. You can put your known-good chip with the blink sketch into an ebay Uno and it blinks.

You can not program the known good chip in an ebay Uno.

You can not program an ebay chip in the working Uno.

You also have two more chips, but lets not complicate things with those right now.

That about sum it up?

The Uno has a different bootloader from previous Arduinos and a different USB interface (instead of an FTDI, either an 8u2 or 16u2 is common).

Barring any contrary advice from Adafruit, I'd go ahead and try to program in the Uno bootloader using the USBTinyISP.

Be careful not to mess up your good chip!

I would attempt to ISProgram a currently non-working chip in whatever Uno it currently happens to be in -- good or ebay.

Note that in your ebay Unos you might also need to program the 8u2 (or 16u2) to make the USB work. But this is unnecessary when programming the ATmega328 using the USBTinyISP, so don't worry about the USB just yet.
sdb
 
Posts: 31
Joined: Thu Jan 12, 2012 3:24 am
Location: USA, ID

Re: Arduino UNO :avrdude: stk500_getsync(): not in sync: resp=0x00

Postby jpmcginley » Sat Mar 03, 2012 5:15 pm

That is a good summary of what I am dealing with. It is confusing
Just finished the USBtinyIPS and will try to get the bootloader working on the eBay Chip first ATMEGA328-PU
jpmcginley
 
Posts: 3
Joined: Sun Nov 20, 2011 2:55 pm

Re: Arduino UNO :avrdude: stk500_getsync(): not in sync: resp=0x00

Postby sdb » Sat Mar 03, 2012 5:51 pm

jpmcginley wrote:the eBay Chip first ATMEGA328-PU


Hmm. Is that really the number on the ebay chip?

Code: Select all
ATMEGA328P   is a different chip than
ATMEGA328-P

(For Atmel AVR's, characters before the hyphen (-) specify internal chip characteristics, but characters after the hyphen specify the chip package.)

Arduino's have typically been the '328p (after the '168).

AVRDude (commandline or in the arduino environment) checks the chip signature, and the '328P is the typical arduino chip and has a different signature than the '328. If expecting the '328p and the chip you have is a '328 then programming will fail.
sdb
 
Posts: 31
Joined: Thu Jan 12, 2012 3:24 am
Location: USA, ID

Re: Arduino UNO :avrdude: stk500_getsync(): not in sync: resp=0x00

Postby adafruit_support_bill » Sun Mar 04, 2012 6:46 am

When I pull the chip(working) from my working UNO and put the Adafruit chip in and try to program, I receive the following message: avrdude: stk500_getsync(): not in sync: resp=0x00. Is there a way to tell whether or not bootloader is installed on the ATMel chip?


The Adafruit processors have a Duamilanove-compatible bootloader on them. You can use them in an UNO, but you need to select Duemilanove as the board type for an upload.
User avatar
adafruit_support_bill
 
Posts: 16644
Joined: Sat Feb 07, 2009 9:11 am

Re: Arduino UNO :avrdude: stk500_getsync(): not in sync: resp=0x00

Postby jpmcginley » Sun Mar 04, 2012 8:54 am

Thanks all. The Duamilanove worked also. Guess when I ordered the Programmed Arduino ATMEGAs I should have read the BIG BOLD PRINT which stated:
Be sure to select "DUEMILANOVE with ATMEGA328" in the Arduino IDE
Yes the eBay chips have the ATMEGA328-PU for partno, the adafruit and genuine UNO have ATMEGA328P-PU , which have different signature bytes when attempting to use tinyUSB & IDE to program them. I eventually got them all working,but the eBay UNOs will only work with a chip which has a sketch on it, but I cannot program eBay UNOs through IDE, tried 0018/0023 and 1.0 Guess I got what I paid for, though a few $$$ more would have been able to program sketches to it. These were just spares OH WELL. Thanks again for all the help.
J.P.
jpmcginley
 
Posts: 3
Joined: Sun Nov 20, 2011 2:55 pm


Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: ginbot86 and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [113]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]