Pages: [1]   Go Down
Author Topic: heeeelp new Mega 2560: stk500 timeout  (Read 1027 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

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,
Jeroen.
« Last Edit: October 07, 2010, 11:30:10 am by jm_wsb » Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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,
Jeroen.
Logged

Pages: [1]   Go Up
Jump to: