Error Uploading

New members questions
tiberian
Posts: 4
Joined: Fri Dec 14, 2012 8:09 pm

Error Uploading

Post 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.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error Uploading

Post by rimai »

Did you purchase the standard RA or RA+?
Roberto.
tiberian
Posts: 4
Joined: Fri Dec 14, 2012 8:09 pm

Re: Error Uploading

Post by tiberian »

Standard RA
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error Uploading

Post by rimai »

Can you post a photo of how the cable is connected to RA?
Roberto.
tiberian
Posts: 4
Joined: Fri Dec 14, 2012 8:09 pm

Re: Error Uploading

Post by tiberian »

photo.JPG
photo.JPG (24.98 KiB) Viewed 8252 times
Certainly.
tiberian
Posts: 4
Joined: Fri Dec 14, 2012 8:09 pm

Re: Error Uploading

Post 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!
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error Uploading

Post by rimai »

You should be able to respond to pm now.
I think it is more than 3 posts minimum.
Roberto.
Paulweck
Posts: 71
Joined: Fri Dec 28, 2012 2:26 pm

Re: Error Uploading

Post by Paulweck »

i also am having the same issue can we please post the fix
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error Uploading

Post by rimai »

Can you post the error you are getting?
Do you have RA or RA+?
Roberto.
Paulweck
Posts: 71
Joined: Fri Dec 28, 2012 2:26 pm

Re: Error Uploading

Post 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
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error Uploading

Post by rimai »

Did you change to Reef Angel Plus Controller under Tools->Board?
Roberto.
Paulweck
Posts: 71
Joined: Fri Dec 28, 2012 2:26 pm

Re: Error Uploading

Post by Paulweck »

yes i did im still getting the error thanks for your help by the way
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error Uploading

Post by rimai »

Can you copy and paste the errors in red you are getting??
Not the wizard error.... Try to upload any code...
Roberto.
Paulweck
Posts: 71
Joined: Fri Dec 28, 2012 2:26 pm

Re: Error Uploading

Post 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'
Last edited by Paulweck on Fri Dec 28, 2012 3:33 pm, edited 1 time in total.
Paulweck
Posts: 71
Joined: Fri Dec 28, 2012 2:26 pm

Re: Error Uploading

Post 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.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error Uploading

Post 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.
Roberto.
Paulweck
Posts: 71
Joined: Fri Dec 28, 2012 2:26 pm

Re: Error Uploading

Post by Paulweck »

no it does not
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error Uploading

Post by rimai »

Can you take a photo of the usb-ttl cable connector? The one with several colors at the end?
Roberto.
Paulweck
Posts: 71
Joined: Fri Dec 28, 2012 2:26 pm

Re: Error Uploading

Post 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
Sebyte

Re: Error Uploading

Post 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.
Sebyte

Re: Error Uploading

Post by Sebyte »

Just taken a second look and you are connected correctly. I initially had problems by missing the end pin.
smoothdog
Posts: 43
Joined: Wed Jan 02, 2013 11:53 am

Re: Error Uploading

Post 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.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error Uploading

Post by rimai »

Does the controller reboot?
Roberto.
smoothdog
Posts: 43
Joined: Wed Jan 02, 2013 11:53 am

Re: Error Uploading

Post by smoothdog »

No, it does not.
smoothdog
Posts: 43
Joined: Wed Jan 02, 2013 11:53 am

Re: Error Uploading

Post 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. :(
smoothdog
Posts: 43
Joined: Wed Jan 02, 2013 11:53 am

Re: Error Uploading

Post 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.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Error Uploading

Post 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. :)
dnastynice
Posts: 16
Joined: Sun Oct 07, 2012 8:53 am
Location: columbus GA

Re: Error Uploading

Post 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/
smoothdog
Posts: 43
Joined: Wed Jan 02, 2013 11:53 am

Re: Error Uploading

Post by smoothdog »

Roberto sent a new cable and all is well now. Great customer service, thanks for the quick response Roberto!
mason dixon
Posts: 26
Joined: Mon May 14, 2012 6:19 am

Re: Error Uploading

Post by mason dixon »

I've got the same problem. How do I get a new cable?
Post Reply