Trouble uploading firmware to arduino

what am I missing get this message when trying to zip Arduino files

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

1 Like

Welcome Maslowian!
Is the firmware unziped/extracted before the upload? On what operating system (win?) are you?
Edit: A screenshot of the arduino IDE can help to speed things up

1 Like

I’m following homesmiths video on youtube followed him all the way up til the part you hit the unzip button and I get this message

windows 10 home

1 Like

I know it is a poor attempt from a linux guy on a windows tutorial, but I still hope it can help.

3 Likes

Did @Gero solve this for you @weld4cash?

Thank you

Hey guys,
I received my maslow a few weeks ago and putting it together. I’m at the point where I’m trying to calibrate it and it’s not working. I had issues with ground control crashing when I plug in the arduino but I fixed that. I’ve been trying to upload the firmware to the arduino for the second time but it’s giving me an error message.

Arduino: 1.8.5 (Mac OS X), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

Sketch uses 57030 bytes (22%) of program storage space. Maximum is 253952 bytes.
Global variables use 1987 bytes (24%) of dynamic memory, leaving 6205 bytes for local variables. Maximum is 8192 bytes.
avrdude: ser_open(): can’t open device “/dev/cu.usbmodemfd121”: Resource busy
ioctl(“TIOCMGET”): Inappropriate ioctl for device
ioctl(“TIOCMGET”): Inappropriate ioctl for device
avrdude: ser_send(): write error: Bad file descriptor
avrdude: stk500_send(): failed to send command to serial port
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: Bad file descriptor
avrdude: stk500_send(): failed to send command to serial port
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: Bad file descriptor
avrdude: stk500_send(): failed to send command to serial port
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: Bad file descriptor
avrdude: stk500_send(): failed to send command to serial port
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: Bad file descriptor
avrdude: stk500_send(): failed to send command to serial port
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: Bad file descriptor
avrdude: stk500_send(): failed to send command to serial port
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
the selected serial port avrdude: stk500v2_getsync(): timeout communicating with programmer
does not exist or your board is not connected

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

Any help would be greatly appreciated.
Dan

NVM I figured it out.

Note to anyone having this issue. Which ever USB port you upload the firmware to on your computer you have to use the same USB port to do everything.

Cheers,
Dan

3 Likes

@Dan

When you move to a new port the port name changes. You would need to then choose that port in Ground Control or the Arduino IDE.

Here are some notes I have on the Mac and serial ports.

It references some unrelated software but the concept and tools apply.

Thank you

1 Like