Go Down

Topic: heeeelp new Mega 2560: stk500 timeout (Read 1 time) previous topic - next topic


Oct 06, 2010, 08:01 pm Last Edit: Oct 07, 2010, 06:30 pm by jm_wsb Reason: 1

I've worked for 3 month with a arduino duemilanove without any connection problem. Yesterday I've got my brand new arduino Mega 2560.

But I can't upload a sketch of 26kb sketch (windows 7 32bit with arduino-0020 or 0021). The serial port is correct, the board selected is mega 2560.

It keeps endless saying 'uploading to i/o board'. The following messages starts to scroll after a while: avrdude: stk500_2_ReceiveMessage(): timeout

I've tried a lot, but no result.

more info: sketches till 15kb seems to work.
Apparently it has something to do with the size.
This sketch load perfectly to duemilanove.

Can someone else try to upload my sketch on Mega 2560 ?

Please advise,


Found problem :

In watever sketch you put the following code in the main loop:

int debug =1;
    if(debug ==1) Serial.print("windowStartTime+=cycle_time   !!!!!!!!!!!!!!!!");

it always keep uploading in Mega 2560

I think this is a bug.

Can someone confirm this with arduino mega 2560 and 0021 level ?

Best regards,

Go Up