Can't upload any code :(

Post Reply
Junseld
Posts: 10
Joined: Sun May 17, 2015 7:35 am

Can't upload any code :(

Post by Junseld »

I get the same error message every time I try to upload code. This is the error I get with trying to upload the initial internal memory:

avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Copyright (c) 2000-2005 Brian Dean,bdmicro/
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 : \\.\COM4
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.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Can't upload any code :(

Post by binder »

do you have a standard ra or ra plus?
if you don't know, then you can try the opposite one you selected in the wizard.

also, make sure the cable is connected to your controller before you try to upload. i know these are basic suggestions but can be overlooked.


Sent from my iPad mini
Junseld
Posts: 10
Joined: Sun May 17, 2015 7:35 am

Re: Can't upload any code :(

Post by Junseld »

Binder, thank you for your reply and suggestions. I have already tried both troubleshooting steps but it still will not upload. Please share any other suggestions and thanks again.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Can't upload any code :(

Post by rimai »

Have you been able to upload any code in the past?
Roberto.
Junseld
Posts: 10
Joined: Sun May 17, 2015 7:35 am

Re: Can't upload any code :(

Post by Junseld »

I bought it used and have never seen it work. The version is v1.1.0 Wifi WDT 1.
Junseld
Posts: 10
Joined: Sun May 17, 2015 7:35 am

Re: Can't upload any code :(

Post by Junseld »

When I try to restore preloaded code I get the following error message:

The following features were detected:
Dimming Signal
Date/Time Setup Menu
Standard Menu
Binary sketch size: 34,520 bytes (of a 30,720 byte maximum)
processing.app.debug.RunnerException: Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
at processing.app.Sketch.size(Sketch.java:1844)
at processing.app.Sketch.build(Sketch.java:1775)
at processing.app.Sketch.exportApplet(Sketch.java:1797)
at processing.app.Sketch.exportApplet(Sketch.java:1783)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2357)
at java.lang.Thread.run(Thread.java:619)
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Can't upload any code :(

Post by rimai »

Yes, but you still need to find out if it is a standard RA or a RA+.
This is the first step.
Ask the person you bought it from or open the head unit to check the board revision.
Roberto.
Junseld
Posts: 10
Joined: Sun May 17, 2015 7:35 am

Re: Can't upload any code :(

Post by Junseld »

I bought it from a LFS and I have no idea who he ordered it from. I am going to open it it right now. What should I look for? By the way, thanks for helping me.
Junseld
Posts: 10
Joined: Sun May 17, 2015 7:35 am

Re: Can't upload any code :(

Post by Junseld »

It says Reef Angel Main Unit 6.1 and there are three jumpers on the board to the right of the knob. A black jumper to the far left and the other two are white jumpers.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Can't upload any code :(

Post by rimai »

That's a standard RA and you will have a bit of a trouble fitting most codes without stripping it down to the bare minimum.
Make sure the serial port is correct and choose "Reef Angel w/ optiboot" as the option on Boards menu.
Roberto.
Junseld
Posts: 10
Joined: Sun May 17, 2015 7:35 am

Re: Can't upload any code :(

Post by Junseld »

I tried a usb port that I didn't think of using before and I was able to upload the code that I made from the wizard. I got error messages, probably due to the fact that it had to strip down the code to get it to fit, but everything is working perfectly now. How much would it cost to upgrade to a RA+ board? Thanks again for your help.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Can't upload any code :(

Post by rimai »

All you need is the RA+ board upgrade in the webstore :)
It's pretty simple to swap.
Roberto.
Post Reply