Page 1 of 1

Arduino uploading error

Posted: Sat Dec 01, 2012 4:10 pm
by Robert1969
Trying to upload a sketch and I'm getting an upload error. Reinstalled the Reefangel installer and it recognized the USB cable.
It was working just last week.
Here is what I got when I tried to upload:

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
Wifi Attachment
Custom Main Screen
Date/Time Setup Menu
Relay Expansion Module
Number of Relay Expansion Modules: 1
Simple Menu
Binary sketch size: 31,522 bytes (of a 32,256 byte maximum)
The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
Wifi Attachment
Custom Main Screen
Date/Time Setup Menu
Relay Expansion Module
Number of Relay Expansion Modules: 1
Simple Menu
Binary sketch size: 31,522 bytes (of a 32,256 byte maximum)
C:\Program Files\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM3 -b115200 -D -Uflash:w:C:\DOCUME~1\ROBERT~1\LOCALS~1\Temp\build5872358701059039420.tmp\sketch_nov19c110812.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\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: 0 [30]
avrdude: stk500_getsync(): not in sync: resp=0x30

avrdude done. Thank you.

Re: Arduino uploading error

Posted: Sat Dec 01, 2012 5:25 pm
by rimai
Are you sure it is com3?
Please check the USB-TTL cable connection

Re: Arduino uploading error

Posted: Sat Dec 01, 2012 7:52 pm
by Robert1969
Looked under device manager to make sure. Also just connected up my old board and couldn't connect to it also. Is their any way to check the USB-TTL CABLE?

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:22 am
by rimai
Do you have wifi attachment?

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:27 am
by Robert1969
Yes. And it's working

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:51 am
by rimai
Looks like the cable could be bad then

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:11 pm
by Robert1969
I'm able to use the cable to communicate with my wifi.

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:29 pm
by rimai
Does the controller reboot and flash the red led status when you try to upload codes?
What about when power cycle it?

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:31 pm
by Robert1969
No no flashing at all

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:37 pm
by Robert1969
When I get the upload error on Arduino it states the overriding baud rate is 115200. Is that right?

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:40 pm
by rimai
not even when you power cycle it?
yes, it is supposed to override to 115200 when uploading

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:43 pm
by Robert1969
By power cycle do you mean unplugging and plugging the reef angel?

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:44 pm
by rimai
yes

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:46 pm
by Robert1969
On a reboot the red light does flash, but nothing when I connect the cable

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 5:58 pm
by rimai
Can you check the last wire in the left?
It is the wire responsible for rebooting the controller when you upload codes.

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 6:01 pm
by Robert1969
Looks fine as far as I can tell

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 6:05 pm
by rimai
I'm boarding now on my way back.... Glad to be coming back :)
Let's resume this tomorrow, but by the way you re saying the controller doesn't reboot when you hit upload and that you can use the wifi attachment fine, it leads me to believe it is the cable.

Re: Arduino uploading error

Posted: Sun Dec 02, 2012 6:07 pm
by Robert1969
Ok sounds good. Welcome back

Re: Arduino uploading error

Posted: Tue Dec 11, 2012 6:54 pm
by Robert1969
ok got the new cable and still not able to load a code. No red light flashing or anything