Hi guys i have a problem uploading one of my sketch on the arduino mega 2560 with 16u chip ATMEGA.
If i try to upload any of the example all works fine, if i try to upload a sketch that runned arduino 1280 it freezes, the rx / tx leds blinks simultaneusly, and the L led is on. The situation wont change untill i unplug the arduino from the usb. When i plug it back the L led start blinking like, blink blink, pause, blink blink pause ecc.
Since the sketch is 110kb big, i really cant immagin what is the problem...
If i wait 5-6 min the bar to end the upload ends this this message...
Binary sketch size: 109788 bytes (of a 258048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x13
avrdude: stk500v2_paged_write: write command failed
I have win 7 ,
IDE arduino 1.0.1
Mega 2560