Funduino Mega 2560 works sometimes...

Hi!

I happen to have a rather cheap (but nonetheless, extremely "fun"!) Funduino Mega 2560 R3. I uploaded the "blink" and "fade" code successfully onto the board. It worked fine so I attempted to upload my 4KB countdown timer sketch onto it. It did not work.

I do have the board set to "Arduino Mega 2560 or Mega ADK" under the "Tools" section.

After compiling the sketch, the software would attempt to upload it, freezing just as it was about to finish. It would just sit there with the blue bar almost filling the white bar.

After unplugging the USB cord (I had been waiting for quite a while), the error messages would show...

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail

This is very frustrating.
If anybody has any ideas, then please help!

Hi,
I encountered the same problem, and i am not really sure since what i've been told goes to an ATmel 2560MEGA card (not funduino), but it seems to be a problem with a program called bootloader on the card.
I am currently checking the way to solve it with a normal MEGA card, hping that it will work on a FUNDUINO. Here are the links am currently going through.

http://www.atmel.com/images/doc8429.pdf

ama let you know if i got something new!..

If it is an older bootloader, check your code for "!!!". That will cause the bootloader to fail.

(deleted)

I also have the experience that "!!!" in the sketch will cause my Funduino MEGA 2560 to hang. The same sketch works well on Arduino. I tried this in a sketch that uses the LoL and also one that uses the Adafruit L2C LCD backpack. If I use e.g. "! ! !" then all is fine. If "!!!" is put into a variable that is not further used in the sketch, it will not hang.