I have a problem again with an Arduino Mega 2560 board (SainSmart). The IDE gets stuck at the "Uploading to I/O board..." message. The bargraph shows around 95% but then there is no further progress. I tried this with Windows 7 64bit and Win XP, with 101 and 0023. Uploading is impossible. Board type and COM port are correctly set in the IDE. Any ideas to solve the problem?

• Is there any error message or does it just hang? If it hangs does it have an info bar saying at what stage? – Oli Glaser Jul 16 '12 at 3:53
• Did you try verbose mode? Turn on verbose mode in preferences(1.0) or hold shift(0022) – jippie Jul 17 '12 at 21:32

Do you have another Mega board to test with? That way we can tell if it's just this specific board. Is it timing out? Something like...

avrdude: stk500_2_ReceiveMessage(): timeout


It could very well be a driver issue. Give this a go:

Mac:

1) Go to System Preferences -> Network

2) If it asks you to add the Arduino (modem device), say cancel

3) Remove the Arduino device from the list if its there

Also, make sure you're not sending !!! via serial at any point in your sketch as that initiates a special monitoring mode baked into the bootloader.