I have 2 MEGA 2560 boards that I want to upload two more Mega 2560's with a program that I have developed.
I have used this same program to program several other 2560's before. Today I tried programming two more boards and both failed to upload. The program still compiles as nromal, but neither board will upload the program.
This is the error that I get.
Arduino: 1.6.6 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:_Glenn_Drive\Projects\Valve Pack Project\005-10020 and 005-10022 Tester Assembly\Tester PCA's\014-xxxx Tester Firmware_014_xxxx_Valve_Controller_Tester_ino_014_xxxx_Valve_Controller_Tester_ino.ino:1381:27: warning: character constant too long for its type [enabled by default]
- LCD.print('Done');*
- ^*
Sketch uses 25,754 bytes (10%) of program storage space. Maximum is 253,952 bytes.
Global variables use 2,400 bytes (29%) of dynamic memory, leaving 5,792 bytes for local variables. Maximum is 8,192 bytes.
avrdude: ser_open(): can't open device "\.\COM10": An unexpected network error occurred.
avrdude: ser_drain(): read error: The handle is invalid.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. - This report would have more information with*
- "Show verbose output during compilation"*
- enabled in File > Preferences.*
**********************************************************************************
Can anyone help me?