Go Down

Topic: Can't upload to Arduino Mega 2560 (Read 25 times) previous topic - next topic

NRG WILL

#5
Jan 22, 2011, 11:39 pm Last Edit: Jan 22, 2011, 11:42 pm by NRG_WILL Reason: 1
I just completed my RMA too, I hope the new board is solid. Good Luck on your Projects!

OH YES- I heard back from the the Bootloader Developer. He said don't put !!! anywhere in your code. There is a bug when you use 3 exclamations in a row, no matter how you use them, the bootloader tries to go to a monitor mode and breaks the sketch. no !!!  :P

theray

xD

I think i've make a "///" for the comment...hope this don't make the board break too xD xD.....i'll make more attention to this thing!

Thank you very much...hope this post could help someone else!

naman

having a trouble uploading my program to my board please help hellllllllllpppppppppppppp

the program used
void setup()
{
pinMode(2,INPUT);
 pinMode(13, OUTPUT);
}

void loop()
{
int x=digitalRead(2);
if(x==HIGH)
{
digitalWrite(13,HIGH);
delay(100);
}
else
digitalWrite(13,LOW);
}
the error we are getting
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

please help :'( :'( :'( :'( :'( :'( :'(
i am very depressed so kindly help fast

theray

it seems a baud rate communication error...try change it in the configuration of avrdude

naman

what a baud and how can i do it  :( :-[

Go Up