Cannot load program onto EtherMega

Combining the power of the ATmega2560 MCU with onboard Ethernet, a microSD card slot, an efficient switchmode power supply, and a small prototyping area. [Product page]
proudy
Posts: 4
Joined: Wed Nov 09, 2011 7:08 am

Re: Cannot load program onto EtherMega

Post by proudy » Wed Oct 03, 2012 3:07 am

Hi,

The upoad to my Ethermega hung until this line was commented out:
myFile.println(F("Echo NOT OK!!!!!!"));

I removed the !!!! marks and it works fine !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
What a weird bug!!!!!!!!!!!!!!!!!!!!

proudy :D

User avatar
jonoxer
Freetronics Staff
Freetronics Staff
Posts: 298
Joined: Sat Oct 15, 2011 11:31 am
Location: Melbourne, Australia
Contact:

Re: Cannot load program onto EtherMega

Post by jonoxer » Mon Oct 08, 2012 1:01 am

Hi @proudy,

Yes, you've hit the infamous "!!!" bug. It's a bug in the bootloader used in the official Arduino Mega, and because we use the same bootloader to ensure compatibility it's hit the EtherMega too. Our policy is to stick as close as possible to currently shipping Arduino firmware, so that our hardware is a direct drop-in replacement with no compatibility problems.

Unfortunately "100% compatible" means that by using the same bootloader as the official boards we're not just feature-compatible but bug-compatible as well!

There's background info and a proposed fix here:

http://code.google.com/p/arduino/issues/detail?id=392

It's been a known bug for a long time, but getting fixes incorporated into the upstream source code can be rather slow.
--
Jon

Post Reply