Can't Upload any code.
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
Can't Upload any code.
I first tried uploading the sketch that the wizard created and this is the error I got...
The following features were automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Wifi Attachment
Simple Menu
Binary sketch size: 31,500 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\Steve\AppData\Local\Temp\build6010104045777780908.tmp\sketch_may09a.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:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude done. Thank you.
I have the USB to TTL Cable connected with the black lead to the right most pin on the connection.
The 2 left pins are open.
Then I tried to upload the WiFi Test Code and got this error...
The following features were automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Wifi Attachment
Simple Menu
Binary sketch size: 30,138 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\Steve\AppData\Local\Temp\build6010104045777780908.tmp\WifiTestCode.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:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude done. Thank you.
Now I never see the head unit re-boot.
As a matter of fact there are no lights or anything on the head unit.
The following features were automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Wifi Attachment
Simple Menu
Binary sketch size: 31,500 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\Steve\AppData\Local\Temp\build6010104045777780908.tmp\sketch_may09a.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:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude done. Thank you.
I have the USB to TTL Cable connected with the black lead to the right most pin on the connection.
The 2 left pins are open.
Then I tried to upload the WiFi Test Code and got this error...
The following features were automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Wifi Attachment
Simple Menu
Binary sketch size: 30,138 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\Steve\AppData\Local\Temp\build6010104045777780908.tmp\WifiTestCode.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:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude done. Thank you.
Now I never see the head unit re-boot.
As a matter of fact there are no lights or anything on the head unit.
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Can't Upload any code.
Which controller do you have? Sounds like you have the wrong board selected.
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
Re: Can't Upload any code.
Sorry. I thought I covered all the questions.
I have the RA+ and the software is set to Reef Angel Plus Controller.

I have the RA+ and the software is set to Reef Angel Plus Controller.

-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
Re: Can't Upload any code.
According to the Arduino interface yes, but like I said I don't see activity on the head unit.
No lights, no LCD screen. Am I supposed to or not?
Here is a video of what is going on on the program interface...
[youtube]http://www.youtube.com/watch?v=uz0n_ar8WD0[/youtube]
No lights, no LCD screen. Am I supposed to or not?
Here is a video of what is going on on the program interface...
[youtube]http://www.youtube.com/watch?v=uz0n_ar8WD0[/youtube]
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Can't Upload any code.
You must have the controller turned on to be able to program it.
Roberto.
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
Re: Can't Upload any code.
Ok. I feel like an idiot, but I can't figure out how to turn the head unit on.
I don't see any switches on it.
I have the USB-TTL cable plugged in. I heard my computer go "bodoink" when I plugged the USB cable in.
There is no power light or status light. The LCD screen is not light up.
I tried pushing the joystick in to see if that was the on/off button. Nothing.
HELP.
I don't see any switches on it.
I have the USB-TTL cable plugged in. I heard my computer go "bodoink" when I plugged the USB cable in.
There is no power light or status light. The LCD screen is not light up.
I tried pushing the joystick in to see if that was the on/off button. Nothing.
HELP.
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Re: Can't Upload any code.
The power is provided when plugged into a plugged in relay box.
Do you have the RA+? It should have shipped with a USB power cable that you plug into one of the temp probes if you need power at your computer.
Do you have the RA+? It should have shipped with a USB power cable that you plug into one of the temp probes if you need power at your computer.
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
Re: Can't Upload any code.
I thought I ordered the. RA+.
I don't see any cable like you are talking about in my package.
Is there a way to tell looking at it?
I don't see any cable like you are talking about in my package.
Is there a way to tell looking at it?
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Can't Upload any code.
Look at the part in the store for a visual reference. Its called USB power cable.
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Can't Upload any code.
Then you'll need to have it plugged into the relay box
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
Re: Can't Upload any code.
OK. I got the RA + board.
Installed it and plugged it into the relay box.
I got power n the head unit and the LCD is on.
Plugged the TTL-USB connection in to the head unit and my laptop.
I loaded the Wifi Test code and tried to upload it.
I got the following error...
"Serial port Com 3 is already in use. Try quitting any programs that may be using it."
I don't know of anything that would be using it.
Installed it and plugged it into the relay box.
I got power n the head unit and the LCD is on.
Plugged the TTL-USB connection in to the head unit and my laptop.
I loaded the Wifi Test code and tried to upload it.
I got the following error...
"Serial port Com 3 is already in use. Try quitting any programs that may be using it."
I don't know of anything that would be using it.
-
mudcat1
- Posts: 133
- Joined: Sun Dec 09, 2012 7:23 pm
Re: Can't Upload any code.
I seem to remember having this problem at one time awhile ago. I have multiple usb ports on my laptop so I think I moved the TTL-USB cable to a different USB port and it started working.Sacohen wrote:OK. I got the RA + board.
Installed it and plugged it into the relay box.
I got power n the head unit and the LCD is on.
Plugged the TTL-USB connection in to the head unit and my laptop.
I loaded the Wifi Test code and tried to upload it.
I got the following error...
"Serial port Com 3 is already in use. Try quitting any programs that may be using it."
I don't know of anything that would be using it.
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL