Hi everyone,
I hope I'm posting this on the right board. I actually searched the forum here and various other forums online and found several people have had this problem, but I couldn't find one definite solution.
The project I'm working on right now has several actuators and motors that I've been interfacing one at at time and testing with my Mega2560, and it had been working perfectly fine.
The program uses the Mega as a "slave" to the computer waiting for serial communication to send a "keystroke" to the board and from there actuate motors in various predefined cases. It had been working until yesterday when I tried to flash it again and an error message came up saying that there was a timeout communicating with the programmer.
I googled it, and saw that one of the fixes that popped up was to:
"Edit your boards.txt file and change
From:
mega2560.upload.protocol=stk500v2
To:
mega2560.upload.protocol=wiring"
As found here: http://arduino.cc/forum/index.php?topic=115010.0
I went to change it, it was already changed in my .txt file. I kept looking around, but I couldn't find anything that seemed applicable to what I was experiencing.
Can anyone help?
I'm running an Arduino Mega2560 on Windows 7 through the Arduino 1.0.2 IDE.
The outputs were:
Using Port : \.\COM10
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: wiring_open(): releasing DTR/RTS
avrdude: wiring_open(): asserting DTR/RTS
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
[then avrdude: Recv: .....[every letter on my serial message to be displayed]
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
avrdude done. Thank you.
I'm pretty worried, because I have to have this done in time by Wednesday.
Thanks in advance,
Dangerzone812