Pages: [1]   Go Down
Author Topic: Mega Pro 16 mHz/5v not uploading...  (Read 1288 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 1
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The title says it all really... The board is a sparkfun Mega Pro 5v/16 mHz, adafruit FTDI friend (5volt selected), 1.0 IDE, Windows 7 64bit

I can upload to my Arduino Pro 328 5v/16 mHz using the same FTDI. The board file are the correct ones from sparkfun and the correct board is selected.

When I try to upload the blink sketch, it compiles, states the sketch size and then reads uploading. The board will blink a couple times, FTDI very quickly blinks once and thats it. The IDE never completes the upload. FTDI does not blink. It will stay like this for well over a minute. No error code... Nothing.

I have to exit the program to stop it.

Anyone else have this problem?

BTW, I also tried this with IDE 22 and I got the same thing.

A quick video.

Logged

Offline Offline
Sr. Member
****
Karma: 1
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually I just noticed that the board files are for the 8mHz/3v3 board... The board.txt lists the Mega Pro as 8mHz...

Can someone point to where I can find the right board files?
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Oddly enough, I do not think Sparkfun updated the 5v0 model.  I appears to be an issue a month ago.

Based on my observations, I do not believe that 2560 is bootloaded, so the FTDI will not work (No Blinky on D13).  Do you have another Arduino?  If so, hook up SPI style either by the ICSP headers or Pin headers (I know, you have neither nor).

Then, download the Atmega Board Programmer:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=11635

And upload to your other Arduino.  When you open the Serial Monitor, you should be able to zap it into shape smiley-wink
Logged


Offline Offline
Sr. Member
****
Karma: 1
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Oddly enough, I do not think Sparkfun updated the 5v0 model.  I appears to be an issue a month ago.

Based on my observations, I do not believe that 2560 is bootloaded, so the FTDI will not work (No Blinky on D13).  Do you have another Arduino?  If so, hook up SPI style either by the ICSP headers or Pin headers (I know, you have neither nor).

Then, download the Atmega Board Programmer:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=11635

And upload to your other Arduino.  When you open the Serial Monitor, you should be able to zap it into shape smiley-wink


I can bootload through a USBtinyISP. Could I just use the normal Mega 2560 bootloader?
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I can bootload through a USBtinyISP. Could I just use the normal Mega 2560 bootloader?

That would be just fine.  Did you try the normal "Arduino Mega2560 ADK" board with your sketch and FTDI?  That one would be the 5v/16MHz board settings.
Logged


Offline Offline
Sr. Member
****
Karma: 1
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I can bootload through a USBtinyISP. Could I just use the normal Mega 2560 bootloader?

That would be just fine.  Did you try the normal "Arduino Mega2560 ADK" board with your sketch and FTDI?  That one would be the 5v/16MHz board settings.

Yes with a very well timed reset button push, I got it to upload once... But that, to me, eas luck and certainly not how it should be
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Yes with a very well timed reset button push, I got it to upload once... But that, to me, eas luck and certainly not how it should be

Really?  Try this.  Upload your sketch again with the normal Arduino Mega2560 board with the reset button held down and watch the Tx LED on the FTDI breakout board.  The moment you see *2* flashes on the Tx LED, release the reset button.
Logged


Offline Offline
Sr. Member
****
Karma: 1
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Yes with a very well timed reset button push, I got it to upload once... But that, to me, eas luck and certainly not how it should be

Really?  Try this.  Upload your sketch again with the normal Arduino Mega2560 board with the reset button held down and watch the Tx LED on the FTDI breakout board.  The moment you see *2* flashes on the Tx LED, release the reset button.

Reburned the fuse and bootloader using my USBtinyISP and AVRdude... Appears to be working well now.

Thanks for your help
Logged

Offline Offline
Sr. Member
****
Karma: 1
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Spoke too soon... Still doesn't work with 1.0 IDE.

It works with v 22 but I get two "avrdude: stk500_2_ReceiveMessage(): timeout" before it uploads.
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try turning down the upload speed in the boards.txt:
mega2560.upload.speed=57600

My reasoning is that the Mega1280 had an FTDI on it as well.
Logged


Offline Offline
Sr. Member
****
Karma: 1
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try turning down the upload speed in the boards.txt:
mega2560.upload.speed=57600

My reasoning is that the Mega1280 had an FTDI on it as well.

The board is clearly not auto resetting... unfortunately. Is there a fix for that?
Logged

Offline Offline
Sr. Member
****
Karma: 1
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah, slowing it down didn't help... I only tried it in 1.0, it may work in 22 but all of the code I want to upload it 1.0 based.

I just bought this board, so I think it will be going back...
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The board is clearly not auto resetting... unfortunately. Is there a fix for that?

If it resets manually but not automatically it is the 0.1uF cap inline with the DTR to the Reset pin of the Mega.

If you can send it back, that would be the easiest.
Logged


Pages: [1]   Go Up
Jump to: