"Error Uploading" whenever trying to upload

New members questions
Post Reply
oconnellp
Posts: 6
Joined: Mon Nov 18, 2013 2:27 pm

"Error Uploading" whenever trying to upload

Post by oconnellp »

I have seen multiple users complain of this issue, but I haven't seen a fix yet.

I am trying to upload custom code using the wizard, but I get this message every time I attempt to upload:
The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Simple Menu
Binary sketch size: 25,122 bytes (of a 258,048 byte maximum)
C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cstk500v2 -P\\.\COM3 -b115200 -D -V -Uflash:w:C:\Users\Paul\AppData\Local\Temp\build4166232450658356248.tmp\InitialInternalMemory.cpp.hex:i

avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Copyright (c) 2000-2005 Brian Dean,
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM3
Using Programmer : stk500v2
Overriding Baud Rate : 115200
Rebooting Reef Angel Controller
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 have a ReefAngel Plus and I have Arduino set to "ReefAngel Plus Controller" and "COM3". I have tested using the other controller board settings, but they don't work either.
I have tried using different USP slots but I still get the same result.
I have the USP cable connected just as it shows in the manual.

Can anyone help me figure out what's going on? This is getting very frustrating.
Thanks,
Paul
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: "Error Uploading" whenever trying to upload

Post by rimai »

Does the controller reboot a few seconds after you hit upload?
Roberto.
oconnellp
Posts: 6
Joined: Mon Nov 18, 2013 2:27 pm

Re: "Error Uploading" whenever trying to upload

Post by oconnellp »

Yes, it does.
oconnellp
Posts: 6
Joined: Mon Nov 18, 2013 2:27 pm

Re: "Error Uploading" whenever trying to upload

Post by oconnellp »

Any idea what's going on?
oconnellp
Posts: 6
Joined: Mon Nov 18, 2013 2:27 pm

Re: "Error Uploading" whenever trying to upload

Post by oconnellp »

Anyone?

One thing I noticed is that my cable is not wired exactly like to cable in the picture. The cable in the picture is wired Green - Yellow - Orange - Red - Brown - Black. My cable is wired Green - Orange - Yellow - Red - Brown - Black. Could this be what the issue is?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: "Error Uploading" whenever trying to upload

Post by rimai »

I may very well be.
The cable may have been assembled wrong. Can you switch?
Roberto.
oconnellp
Posts: 6
Joined: Mon Nov 18, 2013 2:27 pm

Re: "Error Uploading" whenever trying to upload

Post by oconnellp »

I'm not quite sure how. Will I need any sort of crimping tool to do it?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: "Error Uploading" whenever trying to upload

Post by rimai »

No, no need to crimp anything. They are already crimped.
If you look at the black plastic connector, in the back, there are some latches that prevent the metal pin from sliding off. You can lift that latch and the pin will be free to slide off. Do this for both wires and reverse their order when you slide them back in.
Roberto.
oconnellp
Posts: 6
Joined: Mon Nov 18, 2013 2:27 pm

Re: "Error Uploading" whenever trying to upload

Post by oconnellp »

Yep, that was the issue. I switched the wires into the correct sequence and it works fine now. Thanks for the help.
Post Reply