upload error help?
Re: upload error help?
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!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.
-Nick
Re: upload error help?
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.
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.
Re: upload error help?
Does the controller reboot during the upload process?
It should happen right after
avrdude: ser_open(): setting dtr
It should happen right after
avrdude: ser_open(): setting dtr
Roberto.
Re: upload error help?
It seems to, turns everything off and then comes back on.
Re: upload error help?
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.
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.
Re: upload error help?
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...