Pages: [1]   Go Down
Author Topic: board wont upload blink program!  (Read 1241 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I keep getting errors that say

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

And it uploaded fine a week ago and now it wont even let me put a basic example program on there.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27434
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you making sure under Tools:Board and Tools:Serial Port that the right things are selected?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Sr. Member
****
Karma: 0
Posts: 298
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe you can go on my post and have a look as I have the same error + another error.
http://arduino.cc/forum/index.php/topic,55499.0.html
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes everything is selected correctly crossroads. i will look at your post vish. thanks for the help. i am going to keep searching for a solution!
Logged

Scotland
Offline Offline
Edison Member
*
Karma: 26
Posts: 1353
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

try this :


(remember to select the type of chip you are uploading to)


click upload on IDE
wait for sketch size
tap reset quickly
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for the tip spy. but still no luck. would this problem happen bc i have once removed my atmega328 chip from my uno board?
Logged

Gatineau, Qu
Offline Offline
Jr. Member
**
Karma: 1
Posts: 94
Did you Arduino today?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you perhaps reinserte the chip backwards? I did that once  smiley-red
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

nope. i matched the notch on top with the one on the chip holder. the notch on my atmega is on the opposite side from the usb and power plug ins.
Logged

'round the world...
Offline Offline
Faraday Member
**
Karma: 42
Posts: 3330
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you remove it and once you put it back it stopped working? If so, did you insert it correctly? And by correctly I don't mean in the right direction, I mean did you insert it all the way in the socket?

One of the things that happens to me all the time is to have the serial port open and try to download... sometimes it does download half the way, but most of the times I get that same error.

Have you tried using another USB port? Another computer? Where do you have your Arduino set on? Could there be a short circuit on the board because a resistor or something like that was underneath it? Do you have voltage on your board? 
Logged

Eu não sou o teu criado. Se respondo no fórum é para ajudar todos mediante a minha disponibilidade e disposição. Responder por mensagem pessoal iria contra o propósito do fórum e por isso evito-o.
Se realmente pretendes que eu te ajude por mensagem pessoal, então podemos chegar a um acordo e contrato onde me pagas pela ajuda que eu fornecer e poderás então definir os termos de confidencialidade do meu serviço. De forma contrária toda e qualquer ajuda que eu der tem de ser visível a todos os participantes do fórum (será boa ideia, veres o significado da palavra fórum).
Nota também que eu não me responsabilizo por parvoíces escritas neste espaço pelo que se vais seguir algo dito por mim, entende que o farás por tua conta e risco.

Dito isto, mensagens pessoais só se forem pessoais, ou seja, se já interagimos de alguma forma no passado ou se me pretendes convidar para uma churrascada com cerveja (paga por ti, obviamente).

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, i removed it a week ago and just used the chip with caps and crystals and once i put it back into the board, the right way pushed all the way in, and went to go change my code then i got those errors that i posted above.

I used another USB port but not another computer. It powers on and the "L" light is also lit. I dont think i have a short anywhere but i dont know how to tell. Should i just reset my UNO and try again or removed the IDE from my computer and re-install everything? thanks for all the help guys.
Logged

Scotland
Offline Offline
Edison Member
*
Karma: 26
Posts: 1353
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Take the chip back out and check the legs are not bent (or missing - happened to me once). then reseat it fully.

while you have the chip off the board - short together pin 0 & 1 (Rx &Tx) and run theserial monitor in the IDE. type something and see if yiu get it echoed in the monitor.

When you had the chip off the board on your own circuit, did you program it 'off board'. if you did - what methos did you use?


Drew.
« Last Edit: March 18, 2011, 05:41:56 pm by spycatcher2k » Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Colorado
Offline Offline
Full Member
***
Karma: 2
Posts: 220
Arduino 0022 and Ubuntu 11.10 64bit.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Which arduino board are using? Which version of Arduino software.  Which operating system?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Checked the legs and all are there and not bent and its in the right way and pushed in snug all the way. No echo in the moniter when i removed the chip and connected 0 and 1. I programmed the chip on the UNO board then i removed the chip and put it onto a breadboard with the crystal and caps. I realized the code i put in was missing a command so i put it back on the board and this is when i started having these problems.


Arduino alpha 0022. Its the latest download arduino has im assuming. I have an arduino UNO with ann atmega328 chip in it. I am running Windows XP on a laptop. The programs all uploaded fine stright out of the box, i programmed the chip and removed it to a board and tried to plug it back into the UNO board and the errors started. I have even tried another ATmega328 chip, and the same results occur.

How do i reset my board completely? Thanks for the help! I really appreciate it.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So is there anywhere i can send my arduino in to get it fixed or something? My uno is still inoperable.
Logged

Pages: [1]   Go Up
Jump to: