Description
I'm having problem in uploading the sketch to the board Arduino Mega 2560. It seems that this occurs when the sketch exceeds 13,000 bytes. For code with less than 13,000 bytes uploading is successful.
I'm using Windows 7, Arduino Mega 2560 and IDE 1.0.2. I have also tried the 1.0 IDE, and continues with the same error.
Please could someone help me?
Below is the result of uploading:
Binary sketch size: 13.026 bytes (of a 258.048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
...
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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
avrdude: stk500v2_ReceiveMessage(): timeout
...
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: stk500v2_ReceiveMessage(): timeout
...
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: stk500v2_ReceiveMessage(): timeout