Page 1 of 1

Error uploading. (please help)

Posted: Mon Aug 04, 2014 10:57 pm
by alexwbush
I am trying to get an older basic RA up and running on a quarantine tank.

I am getting "Error uploading." with the following details:

Code: Select all

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Relay Expansion Module
Number of Relay Expansion Modules: 1
Standard Menu
Binary sketch size: 27,752 bytes (of a 30,720 byte maximum)
E:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CE:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM1 -b57600 -D -V -Uflash:w:C:\Users\ORBITO~1\AppData\Local\Temp\build8438675645450573292.tmp\sketch_aug04b.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 "E:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM1
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 57600
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: 
avrdude: stk500_getsync(): not in sync: resp=0x0c

avrdude done.  Thank you.

Re: Error uploading. (please help)

Posted: Tue Aug 05, 2014 12:18 am
by 89delta
Do you have Reef Angel Controller w/ optiboot selected and are on the correct port

Re: Error uploading. (please help)

Posted: Tue Aug 05, 2014 12:44 pm
by alexwbush
I'm not sure if it's optiboot or not. I've selected w/ and w/o optiboot. I've also tried the two ports that were options.

No dice. I'll try again when I get home.

Re: Error uploading. (please help)

Posted: Sun Aug 10, 2014 3:12 pm
by alexwbush
Still having problems... I can upload to my RA+ just fine, but my original RA does not upload w/ and w/o optiboot on the correct serial port.

Is there a way to reset the board to factory with the new UI? Or is it too big of a file?

Code: Select all

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Wifi Attachment
Relay Expansion Module
Number of Relay Expansion Modules: 1
Simple Menu
Binary sketch size: 31,200 bytes (of a 32,256 byte maximum)
E:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CE:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM3 -b115200 -D -V -Uflash:w:C:\Users\ORBITO~1\AppData\Local\Temp\build8680866803544489014.tmp\sketch_aug10f.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 "E:\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. (please help)

Posted: Sun Aug 10, 2014 4:52 pm
by rimai
It would be too big.
Does the controller reboot a few seconds after you hit upload?

Re: Error uploading. (please help)

Posted: Sun Aug 10, 2014 8:28 pm
by alexwbush
it might be restarting. It flashed like it's uploading and then goes black and back to the previous program. Should I avoid programming with the wizard all together with the basic RA?

I thought it was okay since it said the sketch size is 31,200 bytes and the max is 32,256

Re: Error uploading. (please help)

Posted: Sun Aug 10, 2014 9:05 pm
by rimai
Should be the same. It might be the head unit itself.