Arduino uploading error

New members questions
Post Reply
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Arduino uploading error

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

Re: Arduino uploading error

Post by rimai »

Are you sure it is com3?
Please check the USB-TTL cable connection
Roberto.
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

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

Re: Arduino uploading error

Post by rimai »

Do you have wifi attachment?
Roberto.
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

Post by Robert1969 »

Yes. And it's working
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Arduino uploading error

Post by rimai »

Looks like the cable could be bad then
Roberto.
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

Post by Robert1969 »

I'm able to use the cable to communicate with my wifi.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Arduino uploading error

Post by rimai »

Does the controller reboot and flash the red led status when you try to upload codes?
What about when power cycle it?
Roberto.
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

Post by Robert1969 »

No no flashing at all
Image
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

Post by Robert1969 »

When I get the upload error on Arduino it states the overriding baud rate is 115200. Is that right?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Arduino uploading error

Post by rimai »

not even when you power cycle it?
yes, it is supposed to override to 115200 when uploading
Roberto.
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

Post by Robert1969 »

By power cycle do you mean unplugging and plugging the reef angel?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Arduino uploading error

Post by rimai »

yes
Roberto.
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

Post by Robert1969 »

On a reboot the red light does flash, but nothing when I connect the cable
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Arduino uploading error

Post by rimai »

Can you check the last wire in the left?
It is the wire responsible for rebooting the controller when you upload codes.
Roberto.
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

Post by Robert1969 »

Looks fine as far as I can tell
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Arduino uploading error

Post 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.
Roberto.
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

Post by Robert1969 »

Ok sounds good. Welcome back
Image
User avatar
Robert1969
Posts: 33
Joined: Fri Mar 18, 2011 6:18 pm
Location: Redding Ca

Re: Arduino uploading error

Post by Robert1969 »

ok got the new cable and still not able to load a code. No red light flashing or anything
Image
Post Reply