Page 1 of 2

Error Uploading

Posted: Fri Dec 14, 2012 9:25 pm
by tiberian
We just got the controller today and I have spent hours trying to get it set up. Unfortunately, I keep getting an "error updating" error.
Things I have tried:
-re-installing the RA software
-re-installing drivers & RA software
-re-booting computer
-changing usb ports
-unplugging everything but the power and usb cable from the controller
-turning off my firewall (norton 360)

Board selected = Reef Angel Controller with optiboot
COM3 is the only one appearing as active

Below is the error code...what am I doing wrong? The controller does re-boot (screen goes dark, status light blinks) when it gets to that part of the upload, but then it says "Error Uploading".



The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Simple Menu
Binary sketch size: 6,812 bytes (of a 32,256 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 -patmega328p -carduino -P\\.\COM3 -b115200 -D -Uflash:w:C:\Users\Meredit\AppData\Local\Temp\build125967453092416192.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 : arduino
Overriding Baud Rate : 115200
Rebooting Reef Angel Controller
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x64

avrdude done. Thank you.

Re: Error Uploading

Posted: Fri Dec 14, 2012 9:36 pm
by rimai
Did you purchase the standard RA or RA+?

Re: Error Uploading

Posted: Sat Dec 15, 2012 7:21 am
by tiberian
Standard RA

Re: Error Uploading

Posted: Sat Dec 15, 2012 9:47 am
by rimai
Can you post a photo of how the cable is connected to RA?

Re: Error Uploading

Posted: Sat Dec 15, 2012 10:00 am
by tiberian
photo.JPG
photo.JPG (24.98 KiB) Viewed 8875 times
Certainly.

Re: Error Uploading

Posted: Sat Dec 15, 2012 10:09 am
by tiberian
Roberto, I got your PM and have downloaded the software, but there doesn't seem to be an option to reply to your PM. If I go to compose it says I am too new. :)
Is there another way to get it to you, or do I have to post it here?
Thank you for your help!

Re: Error Uploading

Posted: Sat Dec 15, 2012 10:11 am
by rimai
You should be able to respond to pm now.
I think it is more than 3 posts minimum.

Re: Error Uploading

Posted: Fri Dec 28, 2012 2:29 pm
by Paulweck
i also am having the same issue can we please post the fix

Re: Error Uploading

Posted: Fri Dec 28, 2012 2:41 pm
by rimai
Can you post the error you are getting?
Do you have RA or RA+?

Re: Error Uploading

Posted: Fri Dec 28, 2012 2:55 pm
by Paulweck
i have the RA+ pvm. when trying to upload my code via the wizard sometimes i get the error COM3 the other times it just gives me a SIMPLE error no code affiliated

Re: Error Uploading

Posted: Fri Dec 28, 2012 2:56 pm
by rimai
Did you change to Reef Angel Plus Controller under Tools->Board?

Re: Error Uploading

Posted: Fri Dec 28, 2012 3:00 pm
by Paulweck
yes i did im still getting the error thanks for your help by the way

Re: Error Uploading

Posted: Fri Dec 28, 2012 3:16 pm
by rimai
Can you copy and paste the errors in red you are getting??
Not the wizard error.... Try to upload any code...

Re: Error Uploading

Posted: Fri Dec 28, 2012 3:26 pm
by Paulweck
when trying to verify the is what it reads

The following features were automatically added:
Watchdog Timer



Version Menu

The following features were detected:
Simple Menu
core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Reef Angel Controller\hardware\arduino\cores\arduino/main.cpp:11: undefined reference to `setup'
C:\Program Files (x86)\Reef Angel Controller\hardware\arduino\cores\arduino/main.cpp:14: undefined reference to `loop'

Re: Error Uploading

Posted: Fri Dec 28, 2012 3:29 pm
by Paulweck
heres the what i get when trying to upload a pre-loaded code \

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
Extra Font - Medium Size (8x8 pixels)
Date/Time Setup Menu
Standard Menu
Binary sketch size: 38,738 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 -Uflash:w:C:\Users\paul\AppData\Local\Temp\build5120656404065021473.tmp\RA_Preloaded.cpp.hex:i

avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
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: . [1b]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [0e]
avrdude: Recv: . [01]
avrdude: Recv: . [14]
avrdude: stk500v2_getsync(): can't communicate with device: resp=0x01

avrdude done. Thank you.

Re: Error Uploading

Posted: Fri Dec 28, 2012 3:44 pm
by rimai
Does the controller reboot a few seconds after you hit upload?
Right when the "Rebooting Reef Angel Controller" message shows in the screen.

Re: Error Uploading

Posted: Fri Dec 28, 2012 3:45 pm
by Paulweck
no it does not

Re: Error Uploading

Posted: Fri Dec 28, 2012 3:54 pm
by rimai
Can you take a photo of the usb-ttl cable connector? The one with several colors at the end?

Re: Error Uploading

Posted: Fri Dec 28, 2012 4:02 pm
by Paulweck
here it is

sorry its a link the forum wont let me upload the picture
http://i241.photobucket.com/albums/ff19 ... ac25a0.jpg

Re: Error Uploading

Posted: Fri Dec 28, 2012 4:40 pm
by Sebyte
It looks like you have it plugged into the wrong pins, although it is not that clear in the pic. The plug should be biased to the right not the left, i.e. the black lead should go to the right most pin.

Re: Error Uploading

Posted: Fri Dec 28, 2012 4:45 pm
by Sebyte
Just taken a second look and you are connected correctly. I initially had problems by missing the end pin.

Re: Error Uploading

Posted: Mon Jan 07, 2013 3:07 pm
by smoothdog
I am getting this error when trying to upload the InitialInternalMemory on my new RA+. I have selected the correct board, the correct COM port and Checked the cable at least 3 times to make sure it is plugged in properly (black wire to the outside right pin):

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Simple Menu
Binary sketch size: 7,420 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\\.\COM5 -b115200 -D -Uflash:w:C:\Users\SMOOTH~1\AppData\Local\Temp\build9041109765076733720.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 : \\.\COM5
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.

Re: Error Uploading

Posted: Mon Jan 07, 2013 5:30 pm
by rimai
Does the controller reboot?

Re: Error Uploading

Posted: Mon Jan 07, 2013 6:12 pm
by smoothdog
No, it does not.

Re: Error Uploading

Posted: Mon Jan 07, 2013 7:30 pm
by smoothdog
I tried installing the software on a different computer thinking that there may have been some kind of issue with my desktop running Vista Ultimate 64bit. Installed on my old laptop running xp and I'm getting the exact same error so it's likely either a bad cable or controller board. :(

Re: Error Uploading

Posted: Mon Jan 07, 2013 9:43 pm
by smoothdog
Roberto, I don't have enough posts yet to reply to your pm. I sent you an email earlier from the address I used to place the order. It's an swbell dot net email address.

Re: Error Uploading

Posted: Wed Jan 09, 2013 10:51 am
by binder
smoothdog wrote:Roberto, I don't have enough posts yet to reply to your pm. I sent you an email earlier from the address I used to place the order. It's an swbell dot net email address.
You should have enough posts now. :)

Re: Error Uploading

Posted: Fri Jan 11, 2013 8:36 am
by dnastynice
hmmm i had trouble the other day trying to redo my RA+ using the wizard. it wouldnt upload error plz try again. Going to spend more time today fiddling with it. I may need some help today 8/

Re: Error Uploading

Posted: Fri Jan 11, 2013 2:58 pm
by smoothdog
Roberto sent a new cable and all is well now. Great customer service, thanks for the quick response Roberto!

Re: Error Uploading

Posted: Fri Jan 18, 2013 12:57 pm
by mason dixon
I've got the same problem. How do I get a new cable?