i have an empty arduino, that is connected on the correct port with new driver and new arduino software.
I want to upload (for example a small testpogramm), but after around 90% of upload nothing happens. There are no !!! in the code.
Than this message is comming: avrdude: stk500v2_ReceiveMessage(): timeout
If i upload with shift+upload, there will appear this message: Error: Could not find USBtiny device (0x1781/0xc9f)
So I installed new USBtiny driver.
I read the troubleshooting guide and i have done the Loop-Back Test.
Nothing chanced.
So i tested my pc-settings with an other Mega and everything was fine.
Do anybody can give me an advise for a chance to bring my arduino back to life ,-(.
It´s a cheap one from von china, but it has done good works.
The board is a clone? Doesn't sound like it has a bootloader installed.
What do you have for an AVR programmer? A USBtiny? Connected to your ICSP header?
I want to upload (for example a small testpogramm), but after around 90% of upload nothing happens. There are no !!! in the code.
Unfortunate it doesn't have to be just in the form of three !!! ascii characters in some string constant statement to hang up in the mega 1280/2650 bootloader's useless monitor mode bug/feature. Any code or data that is uploading that contains three consecutive 0x21 byte values will do the same thing. However trying to determine if the hex file contains that or not is probably a hard thing to determine other then manually reading it.
Probably the best route is to reburn the bootloader with a newer version that fixes that bug/feature and try again. That would also fix the watch dog timer problem with the original mega bootloader.
Shift+upload means "upload using device programmer" in any version of Arduino since 1.0
It USED to mean "upload in verbose mode", which was useful for debugging. Beware any tutorial that suggests this for figuring out why your upload doesn't work. (The modern equivalent is to enable verbose upload in the "preferences" dialog.)
Probably the best route is to reburn the bootloader with a newer version that fixes that bug/feature and try again. That would also fix the watch dog timer problem with the original mega bootloader.
Can you set "Show verbose output during upload" in the Preferences dialog, then upload one more time (not shift-upload, for the reasons mentioned by Lefty Westfw). You should get a detailed error log that you can paste here.
Probably the best route is to reburn the bootloader with a newer version that fixes that bug/feature and try again. That would also fix the watch dog timer problem with the original mega bootloader.
i have done this. no change ;-(
Just to be sure, how did you reburn the bootloader? As Westfw mentioned, there are "special steps" involved. If you just tried to use Tools - Burn bootloader from the Arduino IDE, without a programmer between your PC and the "bad" Arduino, you could not get what you wanted.
Sorry for the stupid question: I assume that the loopback test did not work, or did it?
Well if the loopback test fails then burning a new bootloader to the 2560 chip is not going to get you a functional board running again. Fix the loopback problem first, then determine if you have a bootloader problem or not.