metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
leornere
 
Posts: 9
Joined: Wed Nov 23, 2011 10:17 am

metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by leornere »

Hello,

All I am trying to do is run "blink". It runs on my Duemilanove but neither of my new metro boards.

I have done much searching of the internet, have found answers, but none of them solve my problem.

I am getting "avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30", etc. when I try to upload BLINK onto it. Trouble shooting steps gotten here: https://arduino.stackexchange.com/quest ... ed-avr-won (See below)

After all of the troubleshooting all I can think is there is a problem with the serial port or they are both dead (IMO Unlikely. I just got them yesterday).

When I plug in my good ol' Duemilanove i see com ports 3 and 4 but with the metro I am only seeing com 4.

I have a feeling it's the serial ports issue but have no idea what to do next.

Help please!

- Disconnect and reconnect the USB cable.
- Press the reset button on the board.
- Restart the Arduino IDE.
- Make sure you select the right board in Tools ► Board ►, e.g.
- Make sure you selected the right port in Tools ► Serial Port ►. One way to figure out which port it is on is by following these steps:
-Disconnect the USB cable.
-Go to Tools ► Serial Port ► and see which ports are listed (e.g. COM4 COM5 COM14).
-Reconnect the USB cable.
-Go back to Tools ► Serial Port ►, and see which port appeared that wasn't there before.
-Make sure digital pins 0 and 1 do not have any parts connected, including any shields.
-Double-check all board-related issues in the "easy fixes" list above.
-Make sure the microcontroller is seated correctly.
-You may need to burn the bootloader.
-Replace the microcontroller if you have another one handy nearby.
-You may have bricked your Arduino. Sorry :(

User avatar
dastels
 
Posts: 15670
Joined: Tue Oct 20, 2015 3:22 pm

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by dastels »

When you start getting the "avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30" messages, try pressing reset on the board.

Dave

User avatar
leornere
 
Posts: 9
Joined: Wed Nov 23, 2011 10:17 am

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by leornere »

Thanks for your quick response!

I have tried the reset button on both boards. No luck.

Than

User avatar
leornere
 
Posts: 9
Joined: Wed Nov 23, 2011 10:17 am

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by leornere »

Sorry one more note, I just got these boards yesterday and this is my first time trying to use them.

Dunno if that helps.

User avatar
dastels
 
Posts: 15670
Joined: Tue Oct 20, 2015 3:22 pm

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by dastels »

Which Metro boards do you have?

Dave

User avatar
leornere
 
Posts: 9
Joined: Wed Nov 23, 2011 10:17 am

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by leornere »

The Aduino compatible boards.

Adafruit METRO 328 - Arduino Compatible - with Headers - ATmega328 PID: 2488

User avatar
dastels
 
Posts: 15670
Joined: Tue Oct 20, 2015 3:22 pm

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by dastels »

OK, that's effectively an Arduino UNO. So you can broaden your search to include that.

This might have something useful: https://learn.adafruit.com/adafruit-met ... -ide-usage.

Dave

User avatar
leornere
 
Posts: 9
Joined: Wed Nov 23, 2011 10:17 am

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by leornere »

Ok I will do more research.

Just a side note. I plugged them into my linux machine (ubuntu studio) and it didn't even detect the boards.

Maybe that helps. I dunno. Off to research and try those drivers.

User avatar
leornere
 
Posts: 9
Joined: Wed Nov 23, 2011 10:17 am

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by leornere »

Ok did more troubleshooting. The board should show up under serial ports in device management when neither of them do.

So, they aren't reading the boards? These are new. What do I do? I am at the end of my rope. 2 new boards and just errors. Why does a board made in 2009 work better than these?

I'm not mad or ranting. Just very discouraged at this point.

No other advice?

User avatar
leornere
 
Posts: 9
Joined: Wed Nov 23, 2011 10:17 am

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by leornere »

I remebered that I bought a mini a couple weeks back and its giving me the same problem.

I've done all the troubleshooting I can at this point.

Looking forward to additional advice.

Thanks for everyone's time.

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by Franklin97355 »

Are you using a cable that you have tested for communication? (used it on another device).

User avatar
leornere
 
Posts: 9
Joined: Wed Nov 23, 2011 10:17 am

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by leornere »

It was the chord. Evidently a $1 cable from the dollar tree works better than expensive chords from all over.

Lol.

Test your cables people!!

User avatar
dastels
 
Posts: 15670
Joined: Tue Oct 20, 2015 3:22 pm

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by dastels »

I'd assumed you were using a proven cable since you mentioned that your Duemilanove was connecting.

The cost of the cable isn't a factor. It's a matter of how many wires it has in it: 5v & ground, or 5v, ground, D+, and D-.

Dave

User avatar
leornere
 
Posts: 9
Joined: Wed Nov 23, 2011 10:17 am

Re: metro - avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30

Post by leornere »

The D... Uses the usb-b printer cable because its a million years old so I couldn't swap cables.

The dollar store cable was unproven and luck of the draw I guess. Lol

Thank you for your time and patience.

-Erik!!

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”