Greetings!
1) Bought kit from amazon avrisp V2,
2)I have windows 7 64 bit and followed the instructions on sparkfun to install the drivers using the legacy feature.
link to sparkfun drivers installation for windows https://www.sparkfun.com/products/9825
and the work around for windows 7 64 bithttps://forum.sparkfun.com/viewtopic.php?f=7&t=27074
legacy feature explained end of video http://www.youtube.com/watch?v=PgGHIKSe ... FE73BD1DE1
3) Programming software WinAvr chip using is atmega32a
4) Usbtinyisp has never been tested until now (collecting dust but no more then a couple of months)
Programmer light turns green and is recognized by computer as such [first attachment].
However after typing the command in cmd window i get the following error [2nd attachment].
Hard wire of programmer and micro controller[3rd attachment].
Wires are attached pretty sturdy and follow the pinout of programmer.
side note is i dont get a 5v reading using a voltameter across vcc and gound when connected to computer. (this wrong? possible due to switching of arduino cable?) or unspecified device?
Best Regards,
OhmnUU
Could not find usbtiny Device (0x1781/0xc9f)
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 5
- Joined: Mon May 28, 2012 10:15 pm
Could not find usbtiny Device (0x1781/0xc9f)
- Attachments
-
- photo (1).JPG (726.67 KiB) Viewed 5356 times
-
- error message.png (43.46 KiB) Viewed 5356 times
-
- deviceman.png (179.86 KiB) Viewed 5356 times
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Could not find usbtiny Device (0x1781/0xc9f)
Moved this topic to Microcontrollers. The "Supported Products and Projects" forums are for help with Adafruit products and projects.
- brucef
- Posts: 215
- Joined: Tue May 03, 2011 4:51 pm
Re: Could not find usbtiny Device (0x1781/0xc9f)
If your programmer is an AVRISP mkII rather than a USBtiny, try "-c avrisp2" as your programmer option and see if you get any better result.
-
- Posts: 5
- Joined: Mon May 28, 2012 10:15 pm
Re: Could not find usbtiny Device (0x1781/0xc9f)
Thanks for moveadafruit_support wrote:Moved this topic to Microcontrollers. The "Supported Products and Projects" forums are for help with Adafruit products and projects.
I am not sure why i was so set on -c usbtiny and didnt see it sooner. Thank you it worked! However now i am left with this error message.BruceF wrote:If your programmer is an AVRISP mkII rather than a USBtiny, try "-c avrisp2" as your programmer option and see if you get any better result.
avrdude: stk500_2_ReceiveMessage(): timeout
Ill continue searching and post here if i find anything thanks again!
Cheers!
- brucef
- Posts: 215
- Joined: Tue May 03, 2011 4:51 pm
Re: Could not find usbtiny Device (0x1781/0xc9f)
Glad to hear that worked, I wasn't certain which programmer you had from your post.
Now that we have that sorted out, you might need to specify '-P usb' on your command line too; I do to get avrdude talking to the AVRISP mkII on Mac OS. If 'usb' isn't the right parameter to use, it may well be that you need to feed some COM port specification to -P.
The full command line I use to download a program called foo.hex to an ATmega328p looks like so:
Just getting to the point of talking to the chip, you can ditch the -U stuff, and of course the verbose -v flag:
Now that we have that sorted out, you might need to specify '-P usb' on your command line too; I do to get avrdude talking to the AVRISP mkII on Mac OS. If 'usb' isn't the right parameter to use, it may well be that you need to feed some COM port specification to -P.
The full command line I use to download a program called foo.hex to an ATmega328p looks like so:
Code: Select all
avrdude -p atmega328p -c avrisp2 -P usb -v -U flash:w:foo.hex
Code: Select all
avrdude -p atmega328p -c avrisp2 -P usb
-
- Posts: 5
- Joined: Mon May 28, 2012 10:15 pm
Re: Could not find usbtiny Device (0x1781/0xc9f)
Thank you Bruce,
I am feeding COM3 as the parameter for -P (seen from attachments)
however now i am left with this mess
avrdude: stk500v2_BANNED(): command failed
avrdude: stk500v2_recv(): checksum error
avrdude: stk500v2_program_enable(): bad STK600 connection status:; Unknown (0x64)
avrdude: initialization failed, rc =-1
Double check conections and try again, or use -F to override this check.
avrdudee done. Thank you.
using override i then obtain this message.
avrdude: stk500v2_BANNED(): command failed
avrdude: stk500v2_recv(): checksum error
avrdude: stk500v2_program_enable(): bad STK600 connection status:; Unknown (0x64)
avrdude: initialization failed, rc =-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA32 is 1E 95 02
avrdudee done. Thank you.
I checked my connections and everything seems right however, ill try and get someone else to lookover them. Anyways thanks for the help
I am feeding COM3 as the parameter for -P (seen from attachments)
however now i am left with this mess
avrdude: stk500v2_BANNED(): command failed
avrdude: stk500v2_recv(): checksum error
avrdude: stk500v2_program_enable(): bad STK600 connection status:; Unknown (0x64)
avrdude: initialization failed, rc =-1
Double check conections and try again, or use -F to override this check.
avrdudee done. Thank you.
using override i then obtain this message.
avrdude: stk500v2_BANNED(): command failed
avrdude: stk500v2_recv(): checksum error
avrdude: stk500v2_program_enable(): bad STK600 connection status:; Unknown (0x64)
avrdude: initialization failed, rc =-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA32 is 1E 95 02
avrdudee done. Thank you.
I checked my connections and everything seems right however, ill try and get someone else to lookover them. Anyways thanks for the help
Please be positive and constructive with your questions and comments.