What is destroying my arduinos?

Binaire sketch-grootte: 14.280 bytes (van een 258.048-byte maximum)
C:\Users\Senne\Downloads\arduino-1.0.1-windows\arduino-1.0.1\hardware/tools/avr/bin/avrdude -CC:\Users\Senne\Downloads\arduino-1.0.1-windows\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cstk500v2 -P\.\COM3 -b115200 -D -Uflash:w:C:\Users\Senne\AppData\Local\Temp\build793042159127217844.tmp\RESERVE.cpp.hex:i

avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Users\Senne\Downloads\arduino-1.0.1-windows\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf"

Using Port : \.\COM3
Using Programmer : stk500v2
Overriding Baud Rate : 115200
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]

And it keeps on going like this for all day long..

Senne:
But the arduino resets before it receives anything?

As it is supposed to...

And then it just starts its program again while the computer is trying to upload something.

Could be something else then. Since you are using a different arduino to mine, it might not be 25C at which it goes unresponsive.
Still worth switching it off for a while and trying at night time when everything is a bit cooler.

Also, what is the length of your usb cable? Mine is a 2m extender plus 30cm usb to micro-usb-B
And there can be peculiarity of the operating system needing a random delay between your inserting a usb device and the os finding it. I don't use Windows so I don't know what it will name it as.

Have you tried uploading any other program to your Megas - for example the blink program that comes with the Arduino IDE?

If it won't upload, what errors does the IDE show?

...R

I tried most of the exemples , the IDE doesn't give an error but it keeps on sending data while the arduino isn't responding.
Binaire sketch-grootte: 1.632 bytes (van een 258.048-byte maximum)
C:\Users\Senne\Downloads\arduino-1.0.1-windows\arduino-1.0.1\hardware/tools/avr/bin/avrdude -CC:\Users\Senne\Downloads\arduino-1.0.1-windows\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cstk500v2 -P\.\COM3 -b115200 -D -Uflash:w:C:\Users\Senne\AppData\Local\Temp\build8287028269624245675.tmp\Blink.cpp.hex:i

avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Users\Senne\Downloads\arduino-1.0.1-windows\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf"

Using Port : \.\COM3
Using Programmer : stk500v2
Overriding Baud Rate : 115200
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
AVR Part : ATMEGA2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : STK500V2
Description : Atmel STK500 Version 2.x firmware
Programmer Model: Unknown
avrdude: Send: . [1b] . [01] . [00] . [02] . [0e] . [03] . [90] . [85]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]

And I have 2 usb cables, one which is about 30cm and one that is about 45cm.

From your first post.

They both still run the program, but when I try to upload something I get an error and the arduino just resets itself.

From your last post

avrdude: stk500v2_getsync(): timeout communicating with programmer

That the error messsage.

Also from your last post

Using Port : \.\COM3

Go back to the getting start instructions and learn how to select the correct com port!

Mark

It is the right COM port

Com3 is NOT the correct com port.

Mark

It should be easy to see which COM port corresponds to your Arduino by seeing what ports exist when the Arduino is unplugged, and then seeing what ports exist when it has been plugged in.

Yes COM3 is that port and when I also plug in the other arduino I have COM3 and COM5.

Suggest you disconnect all hardware from the board (except the USB cable, obviously), double-check that you have selected the correct board type and serial port, then upload the Blink example.

If it still doesn't work then just for the sake of something to try, use Windows device manager to delete the serial port corresponding to the Arduino, take the option to uninstall the device driver, disconnect and reconnect the Arduino and let it reload the device driver.

If that doesn't help, my next suggestion is to get another known working good Arduino that runs on the same voltage as these ones, and configure one as an ISP, and upload via that using the ICSP interface. If something related to the hardware serial port has been damaged, that would avoid the problem.

If the Mega 2560 is still running your program, but somehow you have damaged the UART on the pins 0 and 1 connected to the usb connector (RXD0/TXD0) you may be able to salvage the mega by using one of the three additional UARTS on pins 14/15, 16/17, and 18/19.
I have no idea if they share important functions within the 2560 or if they are independent. You might be able to modify a usb cable to run the RX/TX lines over to them.

If you have damaged all the UARTS within the 2560, you still might be able to salvage the board with a USB to Serial adaptor like is used with the Arduino Mini but I'm not sure how you would connect it.

If it is indeed the case that your application has damaged the hardware serial port, then getting to the root cause of that is what started this thread.

What happens when you run the loop back test referenced in the Installation and Troubleshooting section of the forum.
http://forum.arduino.cc/index.php?topic=73748.0

I currently have 2 arduinos and

If they are not identical, then when you open the arduino IDE, make sure the appropriate board is selected for that IDE instance. I've got a mega, uno and Duemilanove. When I'm running them at the same time connected to the same pc, the correct boards and associated com ports can get mixed up. I suggest you close the IDE, then reopen it. Go to tools and ensure the correct board is selected, then check the available com ports. If more than is available, try them all by trying to upload a simple program like the blink example to each of the com ports.

I have found it is much easier to "break" the uploading process, than it is to break the arduino itself.

And the problem seems more likely to be at the computer end than the arduino end ( with a mega it is, anyway , the flakey pro minis are a different story ).

Try rebooting your computer.

I have often encountered a situation where the Device Manager screen claims the arduino is on COM4, but the arduino IDE only has a choice of COM3, and the uploads don't work. Rebooting the computer should fix it.

michinyon:
Rebooting the computer should fix it.

..... in true The IT Crowd fashion: "Have you tried turning it off and on again?"

Uninstalling and reinstalling the Arduino IDE is also worth trying.

...R

The Loop back test didn't work, I don't receive anything back on my computer, when I send something, the RX led flashes , but there is no TX flash.
I already rebooted my computer, this didn't work.
The COM port is the right one , it has always worked on COM3, as you can see on the device manager.
The IDE is not installated