upload error help?

Basic / Standard Reef Angel hardware
Post Reply
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: upload error help?

Post by rimai »

No, you can use any type of wire to extend those.
Roberto.
Nikkwins
Posts: 20
Joined: Fri Nov 18, 2011 10:30 pm

Re: upload error help?

Post by Nikkwins »

ruckusman wrote:It was the wrong board in this error, but I got it with the right board as well. That said, after re-booting the machine and closing all other applications I got it to upload to the controller.
I just had the exact same problem with my XP machine, everything appeared to be set correctly but it just wouldn't take the code. I tried rebooting after reading this thread and it worked. Thanks!

-Nick
ruckusman
Posts: 34
Joined: Sun Nov 27, 2011 6:51 am

Re: upload error help?

Post by ruckusman »

back to this error and rebooted about 10 times. Tried it with the usb cord in and out, just won't send it up....trying to upload the wifi code to get it to broadcast. Can't upload the regular library that I got to go up fine before after rebooting either....

Binary sketch size: 29306 bytes (of a 32256 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 -cstk500v1 -P\\.\COM7 -b115200 -D -Uflash:w:C:\DOCUME~1\BRADHA~1\LOCALS~1\Temp\build9152611718273512517.tmp\sketch_jan08a.cpp.hex:i

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "C:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM7
Using Programmer : stk500v1
Overriding Baud Rate : 115200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done. Thank you.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: upload error help?

Post by rimai »

Does the controller reboot during the upload process?
It should happen right after
avrdude: ser_open(): setting dtr
Roberto.
ruckusman
Posts: 34
Joined: Sun Nov 27, 2011 6:51 am

Re: upload error help?

Post by ruckusman »

It seems to, turns everything off and then comes back on.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: upload error help?

Post by rimai »

Can you check if "Set RTS on Close" is check marked?
Please go to Control Panel->System->Device Manager
Then expand "Ports (COM & LPT)" and double-click the "USB Serial Port (COM7)"
Click tab "Port Settings" and click "Advanced" button
Make sure that checkbox "Set RTS on Close" is checked and click "OK" on all opened windows.
Roberto.
ruckusman
Posts: 34
Joined: Sun Nov 27, 2011 6:51 am

Re: upload error help?

Post by ruckusman »

It is/was. Still getting same error. Seems to turn the control on/off 3 times when it fails. Once when you mentioned it should, then a few seconds later, then a bit after it fails....How fast should it re-boot. The lights and all go off, but come back on in a matter of a couple seconds...
Post Reply