[Solved, faulty board] error: Executing command; exit status 1

Hi,
Everything was working fine then I started getting this problem of timing out and not completing the compile. I tried programming other programs that I knew were ok and got the same error. Anyone else having this same problem?
Thanks
jessey

arduino-builder/arduino-builder -compile -core-api-version 10611 -build-path /
tmp/049852094/build -hardware arduino-builder/hardware -hardware arduino-builder/
packages/cores -tools arduino-builder/tools -tools arduino-builder/packages/tools -
built-in-libraries arduino-builder/latest -libraries /tmp/049852094/pinned -libraries /
tmp/049852094/custom -fqbn arduino:avr:mega:cpu=atmega2560 -build-cache /tmp 
-logger humantags -verbose=false -logger humantags /tmp/049852094/The_Duke_On_A_Mega

Sketch uses 16904 bytes (6%) of program storage space. Maximum is 253952 bytes.

Global variables use 3392 bytes (41%) of dynamic memory, leaving 4800 bytes for local variables. Maximum is 8192 bytes.

Flashing with command:C:/Users/Jessey/.arduino-create/arduino/avrdude/6.3.0-arduino9/bin/avrdude.exe -CC:/Users/Jessey/.arduino-create/arduino/avrdude/6.3.0-arduino9/etc/
avrdude.conf -patmega2560 -cwiring -PCOM11 -b115200 -D -Uflash:w:C:/Users/Jessey/
AppData/Local/Temp/arduino-create-agent918053051/The_Duke_On_A_Mega.hex:i

avrdude: ser_open(): can't open device "\\.\COM11": Access is denied.

avrdude: ser_drain(): read error: The handle is invalid.

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.

Hi jessey

Maybe you could read this post and add some additional information please.

Thanks Bob,

Here is the info you need. If there's anything else you need let me know.

• Your computer operating system and version. E.g. Windows 10 pro x 64. •
Windows 10 pro Version 1703 64 bit operating system

• Your Browser information such as Chrome Version 56.0.2924.87 (64-bit). •
Firefox 56.0(32-bit)

• The type of Arduino you are using (clones are accepted). •
Arduino mega (clone) had the same problem on an arduino nano (clone)

• Types of USB port being used with the Arduinos? •
Generic USB Hub

• Does your board work on the regular DESKTOP IDE (If so please include the version). •
I don't have the arduino IDE installed on my computer so haven't tried it. But I'm sure it's not the program because I also tried a simple blink program and got the same thing.

Another thing I noticed tonight, I got the same error and it did compile but it wouldn't complete the process because the 'upload and save' box I click on to get it to compile does not stop showing BUSY. Sometimes (it happened a couple times tonight) if I interrupt it by clicking on it while showing BUSY the box gets bigger to show Interrupted instead of BUSY and the only way to bet it back to normal is to close create and restart it. Other times it just prints interrupted on the bottom left side and the boxes go back to normal - one with a check and the other showing an arrow.

I tried to put the error message in code boxes but got an error saying I exceeded the number of charters allowed so I'm including the error in a notepad file.

Thanks
jessey

Arduino Error Report.txt (21.5 KB)

Thats good. Can you share the link to the sketch too please.

Hi Bob,
I've included my code for the program I'm working on in attachment. But like I was saying in a previous post, I tried a basic blink sketch and got the same timeout. I'll try another computer tomorrow to see if I get the same problems. It could just be firefox on my computer?
Thanks
jessey

The Duke On A Mega Copy.txt (80.1 KB)

You know you can just share a link for the sketch don't you ?

Will probably be tomorrow or the day after before I get to it.

Hey Bob,
The Arduino Web Editor is working good now. My mega board was faulty, I got another mega and it's programming good now. If and when I ever find a legitimate bug in the web editor at least I now know what to include with the report.
Thanks
jessey

Thanks for the update.