Pages: 1 [2] 3   Go Down
Author Topic: Can't upload to Arduino Mega 2560  (Read 4918 times)
0 Members and 1 Guest are viewing this topic.
Netherlands
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The loopback test goes wrong. I'm now trying to update the firmware of the 8u2 chip but I can't reset it.

Maybe I have to solder a 10k resistor on my board but I don't know where. Only the uno is shown in the tutorial. And I don't know if I've got a revision 1 or 2.
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No resistor, just a screwdriver.


First red arrow, then bridge and hold the 2 pads in the green arrow until windows detect a DFU device
Logged

My website: http://ried.cl

Netherlands
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I tried it but nothing is installing and com3 is still there.
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

it can be tricky you may solder the resistor if you can't do it with the screwdriver. I tried and it works eventually
Logged

My website: http://ried.cl

Netherlands
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

the screwdriver works, but windows does not detect a dfu device.
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

the screwdriver works, but windows does not detect a dfu device.

The first pins you bridge resets the arduino, the second one enables the DFU, you have to be quick or do that in another way. For me it worked nicely, jump reset, then DFU pins and windows eventually detected a new DFU device.

If you are not able to do that, the small chip is probably dead.
Logged

My website: http://ried.cl

Netherlands
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

when I bridge the green arrow pins, my arduino resets.

I think the chip is just dead. And now? Do I have to program my arduino with a usb-serial programmer?
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

when I bridge the green arrow pins, my arduino resets.

I think the chip is just dead. And now? Do I have to program my arduino with a usb-serial programmer?

My experience was only updating my mega, I am not sure if all the revisions are the same or behave the same, but if is dead, the option is to use another arduino or usb-serial as you say. Or try to replace the chip with a reworking station
Logged

My website: http://ried.cl

Netherlands
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Replacing the chip is a possibility, to bad that I don't have a reworking station. smiley-cry

I think I'm going to buy a programmer. Do you recommend the original programmer from atmel, or just a cheap usb to serial programmer from ebay?
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Replacing the chip is a possibility, to bad that I don't have a reworking station. smiley-cry

I think I'm going to buy a programmer. Do you recommend the original programmer from atmel, or just a cheap usb to serial programmer from ebay?

It depends, maybe you can buy original atmel one OR chinese cheap + chinese cheap rework station smiley-money
Logged

My website: http://ried.cl

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have exactly the same problem. Are you using 1.0.1 ? . I was and when I rebuilt the sketch for 0022 the problem went away !. I have no problems uploading to the other boards I have with 1.0.1 only the Mega 2560. Could it possibly be the software ?.
Dougie L
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have exactly the same problem. Are you using 1.0.1 ? . I was and when I rebuilt the sketch for 0022 the problem went away !. I have no problems uploading to the other boards I have with 1.0.1 only the Mega 2560. Could it possibly be the software ?.
Dougie L

Can you test http://arduino.cc/forum/index.php/topic,118440.0.html ? I upgraded the 'uploader' in that modded version. I had a similar problem (frequently) with 1.0.1 and my 2560 but Samueldw's arduino never worked.
Logged

My website: http://ried.cl

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

eried posted
Can you test http://arduino.cc/forum/index.php/topic,118440.0.html ? I upgraded the 'uploader' in that modded version. I had a similar problem (frequently) with 1.0.1 and my 2560 but Samueldw's arduino never worked. /quote

Just tried that and it still will not upload to a Mega 2560. No problem with a Uno or a Uno Pro. I have just rebuilt the Mega program so it does not use any 1.0.1. parts so I can upload with the old 0022. Do like that SRAM estimate though after getting caught out on one sketch.
Many thanks
Dougie L
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Samueldw,

I noticed in your earlier post that you had mentioned the use of the 8u2 chip and I am pretty sure the 2560 is using the 16u2.  May help may not but anyway it is generally good to know.  Also, I have not found any good information on resetting the 16u2.  I believe mine (16u2) is bricked but haven't completely thrown in the towel yet, whats more I have not been able to determine the reason why it is no longer working.  I must admit that locating complete information on the 2560 is a bit like tracking down "Big Foot" in a snow storm...occasionally you can find a foot print but "Big Foot" always seems to get away...smiley
Logged

Monterrey, N.L. México
Offline Offline
Full Member
***
Karma: 1
Posts: 154
Model Railroading & Arduino are Fun
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have exactly the same problem. Are you using 1.0.1 ? . I was and when I rebuilt the sketch for 0022 the problem went away !. I have no problems uploading to the other boards I have with 1.0.1 only the Mega 2560. Could it possibly be the software ?.
Dougie L

I had the same problem and also went back to 0022.
I feel fine with 022, it works great and I will not upgrade.  smiley-wink
Logged

Billy     http://www.z-world.com/operations/gbremer/

When you've eliminated the impossible,
whatever remains, however improbable, must be

Pages: 1 [2] 3   Go Up
Jump to: