Page 1 of 1

Error uploading

Posted: Thu Jun 18, 2015 12:20 pm
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

Re: Error uploading

Posted: Fri Jun 19, 2015 8:19 am
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

Re: Error uploading

Posted: Fri Jun 19, 2015 5:25 pm
by coolsilver
Hi Binder
Tried it it sayes skitch is too large
My controller is Reef Angel Plus

Re: Error uploading

Posted: Sat Jun 20, 2015 4:49 am
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

Re: Error uploading

Posted: Sat Jun 20, 2015 5:11 pm
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

Re: Error uploading

Posted: Sat Jun 20, 2015 7:17 pm
by binder
hmmmm, Roberto will probably have to chime in for additional input.

Sent from my Moto X

Re: Error uploading

Posted: Sat Jun 20, 2015 9:04 pm
by rimai
Does this happen on every code you try to upload?
Try the Template in the examples folder.

Re: Error uploading

Posted: Mon Jun 22, 2015 4:28 pm
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 :?:

Re: Error uploading

Posted: Mon Jun 22, 2015 4:42 pm
by rimai
Seems there is something wrong with the board then.
If you want to send it in for analysis, PM me.

Re: Error uploading

Posted: Sat Jul 11, 2015 11:43 am
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.

Re: Error uploading

Posted: Sun Jul 12, 2015 5:12 am
by cosmith71
Are you sure it's the right COM port?

Re: Error uploading

Posted: Tue Jul 14, 2015 3:36 pm
by coolsilver
Hi cosmith71 yes there is only one option

Re: Error uploading

Posted: Sat Jul 18, 2015 11:03 am
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.

Re: Error uploading

Posted: Sat Jul 18, 2015 2:07 pm
by rimai
Were you ever able to upload anything before?

Re: Error uploading

Posted: Sun Oct 18, 2015 7:50 pm
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: