Error uploading

Basic / Standard Reef Angel hardware
Post Reply
coolsilver
Posts: 20
Joined: Mon Apr 01, 2013 7:15 am

Error uploading

Post by coolsilver »

it has been long time since last time I uploaded a code

now I cant upload after compiling i receive

Error uploading message in the bottom


The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Simple Menu
حجم السكتش المترجم: 22,008 بايت ( 258,048 كحد أقصى
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\\.\COM5 -b115200 -D -V -Uflash:w:C:\Users\waleed\AppData\Local\Temp\build6026811067102450045.tmp\sketch_jun18b.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 : \\.\COM5
Using Programmer : stk500v2
Overriding Baud Rate : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [02]
avrdude: Recv: . [0c]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [04]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [02]
avrdude: Recv: . [00]
avrdude: Recv: . [1e]
avrdude: Recv: [20]
avrdude: Recv: ` [60]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.

please help me to resolve the issue
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Error uploading

Post by binder »

check what board is selected. the newer ones are reef angel with optiboot. you may want to try other board options to see if it makes a difference.


Sent from my iPad mini
coolsilver
Posts: 20
Joined: Mon Apr 01, 2013 7:15 am

Re: Error uploading

Post by coolsilver »

Hi Binder
Tried it it sayes skitch is too large
My controller is Reef Angel Plus
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Error uploading

Post by binder »

if you have the plus, then you will need to use that board selection. you will not get a sketch too big error with the plus.
also, make sure you have the cable plugged in properly when trying to upload. since the serial cable is smaller than the actual number of pins, people sometimes plug it in wrong.

Sent from my Nexus 7
coolsilver
Posts: 20
Joined: Mon Apr 01, 2013 7:15 am

Re: Error uploading

Post by coolsilver »

always choose Reef Angel Plus
this time it didn't work
I even tried new TTL cable same >>>
it blinks when I connect it
I dont know where to go next
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Error uploading

Post by binder »

hmmmm, Roberto will probably have to chime in for additional input.

Sent from my Moto X
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error uploading

Post by rimai »

Does this happen on every code you try to upload?
Try the Template in the examples folder.
Roberto.
coolsilver
Posts: 20
Joined: Mon Apr 01, 2013 7:15 am

Re: Error uploading

Post by coolsilver »

Hi Rimai



I am afraid to try the Template and then cant load again My tank relay on the Reef angel :?


I tried from new wizard it didn't work. also gave me same result :?:
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error uploading

Post by rimai »

Seems there is something wrong with the board then.
If you want to send it in for analysis, PM me.
Roberto.
coolsilver
Posts: 20
Joined: Mon Apr 01, 2013 7:15 am

Re: Error uploading

Post by coolsilver »

Hi all
I tried even the Template in the examples folder.
still :
The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
RF Expansion Module
Wifi Attachment
Relay Expansion Module
Water Level Expansion Module
2014 Main Screen
Extra Font - Medium Size (8x8 pixels)
Salinity Expansion Module
Number of Relay Expansion Modules: 1
Simple Menu
Binary sketch size: 62,834 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\\.\COM5 -b115200 -D -V -Uflash:w:C:\Users\waleed\AppData\Local\Temp\build9125265723131173521.tmp\sketch_jul11b.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 : \\.\COM5
Using Programmer : stk500v2
Overriding Baud Rate : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [02]
avrdude: Recv: . [0c]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [04]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [02]
avrdude: Recv: . [00]
avrdude: Recv: . [1e]
avrdude: Recv: [20]
avrdude: Recv: ` [60]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Error uploading

Post by cosmith71 »

Are you sure it's the right COM port?
coolsilver
Posts: 20
Joined: Mon Apr 01, 2013 7:15 am

Re: Error uploading

Post by coolsilver »

Hi cosmith71 yes there is only one option
nofearonabike07
Posts: 1
Joined: Tue Feb 05, 2013 12:07 pm

Re: Error uploading

Post by nofearonabike07 »

i have been having the same issue with the timing out error code. did you ever get it working? it doesnt matter what usb port i use, what software i use to upload or what code. i get the red flashing light on the controller when i plug it in and unplug it. it also does it when its starts to upload then it just gives up.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Error uploading

Post by rimai »

Were you ever able to upload anything before?
Roberto.
coolsilver
Posts: 20
Joined: Mon Apr 01, 2013 7:15 am

Re: Error uploading

Post by coolsilver »

dear nofearonabike07
until now I cant upload :(

DEAR RIMAI

it was fine before I uploaded several codes.

now it does not continue :geek:
Post Reply