RA not found on COM5
Re: RA not found on COM5
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\\.\COM15 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xFF:m
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 : \\.\COM15
Using Programmer : stk500v1
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
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 : \\.\COM15
Using Programmer : stk500v1
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: RA not found on COM5
is it related to the file boards.txt? because now i m running RA controller version 0.8.13.11 which is the latest version which has the boards.txt already edited
Re: RA not found on COM5
If you are trying to burn the new bootloader, you are not doing it correctly.
You should go to menu Tools-> Burn Bootloader -> w/AVR ISP.
If you are trying to upload and you are getting this error, most likely is because something went slightly not accordingly when updating the drivers.
Please go to Control Panel->System->Device Manager
Then expand "Ports (COM & LPT)" and double-click the "USB Serial Port (COM15)"
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.
You should go to menu Tools-> Burn Bootloader -> w/AVR ISP.
If you are trying to upload and you are getting this error, most likely is because something went slightly not accordingly when updating the drivers.
Please go to Control Panel->System->Device Manager
Then expand "Ports (COM & LPT)" and double-click the "USB Serial Port (COM15)"
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: RA not found on COM5
thats what I m exactly doing. Also I have RTS on Close checked and I m still getting the same error
I have aurdino open i goto menu Tools-> Burn Bootloader -> w/AVR ISP and I get the error posted before
I have aurdino open i goto menu Tools-> Burn Bootloader -> w/AVR ISP and I get the error posted before
Re: RA not found on COM5
Are you using a modified AVR chip as AVR ISP or you have a real programmer?
If you have the real programmer, you need to go with "w/ AVRISP mkII"
If you have the real programmer, you need to go with "w/ AVRISP mkII"
Roberto.
Re: RA not found on COM5
I have this programmer AVR AVRISP V2.0 STK500 USB ISP
http://ram-e-shop.com/oscmax/catalog/pr ... ts_id=1464
http://ram-e-shop.com/oscmax/catalog/pr ... ts_id=1464
Re: RA not found on COM5
I tried the avrisp mkII it said usb device not found
Re: RA not found on COM5
I've never used AVRISP, but there are some posts that mention wrong drivers.
What do you have on your device manager list?
More ifo:
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1228502992
What do you have on your device manager list?
More ifo:
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1228502992
Roberto.
Re: RA not found on COM5
some ppl on this link http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1228502992
were having the same problem that i m having.
Quoted from Mark in Arduino forums from the link above
were having the same problem that i m having.
Quoted from Mark in Arduino forums from the link above
I have added the three lines above to teh file programmer.txt in the arduino directory. but i do not understand what he means by switch 1 should be off and switch 2 should be on"Are you sure it is a MKII or is it a v2 ?
Today I received from a HK company (via eBay) a STK500 USB clone.
It uses an USB serial chip to make it look like a com port. It took me about an hour to figure out what was going on because it arrived with ZERO documentation.
I determined that I had to edit the boards.txt file and add these lines:
avrisp.name=HK-AVR ISPv2
avrisp.communication=serial
avrisp.protocol=stk500v2
Do an eBay search for "ATMEL STK500 Programmer for Arduino & Freeduino Board" to see what I got.
FYI: Switch 1 should be off, Switch 2 should be ON."
Re: RA not found on COM5
I think he means a dip switch. Does yours have a dip switch in it? You may need to open the case.
Roberto.
Re: RA not found on COM5
Thats the same link I was reading. in device manager I have the device named " USB serial port (COM15)" and the driver is FTDIrimai wrote:I've never used AVRISP, but there are some posts that mention wrong drivers.
What do you have on your device manager list?
More ifo:
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1228502992
Re: RA not found on COM5
nope my usb ttl cable is COM5
Re: RA not found on COM5
i opened the programmer and there were no switches at all inside.
Re: RA not found on COM5
Ok, if COM15 is your programmer, we can say for sure that you should not use "w/ AVRISP mkII".
It should be "w/ AVRISP" indeed.
It should be "w/ AVRISP" indeed.
Roberto.
Re: RA not found on COM5
ok what about the stk500 should i choose v1 or v2? I have tried V1 and it kept giving me this error:
also I keep getting this error "avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51" alot during uploading code using the TTL usb cable. I have to keep trying by unplugging the usb plug from the pc and plugging it back in while the RA is connected to the cable. it used to happen once in a while before but now it happens a lot. I thought it might be related to the upgrade i made to the RA controller files but then i reverted to the old RA controller installer version 0.8.13.1 and i still get this error. sometimes it uploads normally and sometimes it just keeps bugging me with this error. but for the programmer case i kept trying several times with the AVRISP programmer choice in arduino but it never went through. do you think these two errors might be related?
Code: Select all
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\\.\COM15 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xFF:m
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 : \\.\COM15
Using Programmer : stk500v1
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: RA not found on COM5
I don't think they are related and according to the post, you should use v2 for the programmer
Roberto.
Re: RA not found on COM5
it worked! at last. thank you for your support. Now I have optiboot bootloader. I m trying to upload the internal memory PDE and I keep getting the error :
I tested the COM port using ragen find controller option and it found the controller but i m unable to upload sketches
the red LED now is blinking 3 times then off for a sec then blinks again continuously
Code: Select all
Binary sketch size: 7194 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\\.\COM5 -b115200 -D -Uflash:w:C:\Users\Ahmed\AppData\Local\Temp\build3707626226319611616.tmp\Memory_060111_0150.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 : \\.\COM5
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.
the red LED now is blinking 3 times then off for a sec then blinks again continuously
Re: RA not found on COM5
okay here is what i found. when i chose in the arduino program reef angel controller instead of reef angel w/optiboot the upload worked fine!! does that mean the bootloader i uploaded was not optiboot? how come, i followed the instructions on this link http://forum.reefangel.com/viewtopic.php?f=2&t=113 exactly?
Re: RA not found on COM5
Sorry, my fault.
I had the wrong procedure.
You need to select the Reef Angel Controller w/ optiboot under Tools->Boards, prior to burning the bootloader.
Whichever board is selected is the bootloader that will be burned.
I had the wrong procedure.
You need to select the Reef Angel Controller w/ optiboot under Tools->Boards, prior to burning the bootloader.
Whichever board is selected is the bootloader that will be burned.
Roberto.
Re: RA not found on COM5
okay i did that and it said it was done successfully the red led is blinking none stop is that okay? also i tried uploading internal memory sketch and i got the same error again. could there be something wrong with the section we need to add to the boards.txt file?
Re: RA not found on COM5
Yes, the non-stopping blinking happens everytime you burn a new bootloader.
When you upload you first code, it will stop that.
Does the controller reboot when you click upload button?
You will notice that the controller stops blinking for a quick second when it's rebooted.
You can see exactly how it looks like if you press the push button right next to the ISP header you connected the programmer to. That push button is a reset button.
Does it work if you push that button right when you see the first "avrdude: Send: 0 [30] [20] " shows up on the screen?
When you upload you first code, it will stop that.
Does the controller reboot when you click upload button?
You will notice that the controller stops blinking for a quick second when it's rebooted.
You can see exactly how it looks like if you press the push button right next to the ISP header you connected the programmer to. That push button is a reset button.
Does it work if you push that button right when you see the first "avrdude: Send: 0 [30] [20] " shows up on the screen?
Roberto.
Re: RA not found on COM5
when i burn the old bootloader it blinks three times then goes off of a sec repeatedly. with the new bootloader its different it keeps blinking non stop.
When i click the upload the controller does not reboot. it doesnt even work when i press the reset button as you said
When i click the upload the controller does not reboot. it doesnt even work when i press the reset button as you said
Re: RA not found on COM5
it turns out I had to regenerate a new internal memory file using ragen to make it upload. I was trying to upload the old internal memory sketch i was using on the old bootloader and that was why it didnt work.
Re: RA not found on COM5
just so that i get a better understanding I would like to know why i have to regenerate new sketches after updating the bootloader for the uploading process to work, if the old files compiled just fine?
Re: RA not found on COM5
So, you mean that if you generate new sketch, it works and if you use existing ones, it doesn't?
I've never heard of this one. Makes me curious why too. There is no logic behind it.
I've never heard of this one. Makes me curious why too. There is no logic behind it.
Roberto.
Re: RA not found on COM5
Yes exactly what happens. I keep getting this msg:
it seems to be the reason behind all my troubles in this thread
Code: Select all
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51