Error: could not find USBtiny device (0x1781/0xc9f)

I am having trouble connecting to my Pocket AVR Programmer.

I am using an Atmega328p-pu on Windows 7 64 with WinAVR. I am fairly certain I have everything plugged up correctly (my multimeter can detect power when the programmer is connected to my computer). I have tried switching MISO and MOSI. I downloaded the driver from the SparkFun product catalog page and have since rebooted my computer.

I get the following error message when I attempt to program my avr:

C:\Users\Owner\Programs\WinAVR\Demo>avrdude -c usbtiny -B1 -patmega328p -U flash
:w:demo.hex -v -P usb:xx

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"


         Using Port                    : usb:xx
         Using Programmer              : usbtiny
         Setting bit clk period        : 1.0
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

avrdude done.  Thank you.


C:\Users\Owner\Programs\WinAVR\Demo>

Please instruct me how to download programs to my AVR. I apologize I am unable to upload photographs of my set-up (The “Img” button in the “Post a new topic” editor requires a URI and the “Upload attachment” box only allows attachments of a size less than one megabyte.)

Thank you in advance.

P.S. What do MISO, MOSI, and SCK stand for?

It looks like in the port parameter you specified ‘usb:xx’ I would try changing that to just: -P usb because I believe it may be confused as to which USB port you are referring to.

Just a guess :?

Thank you for the suggestion, nevertheless, it did not work:

C:\Users\Owner\Programs\WinAVR\Demo>avrdude -c usbtiny -B1 -patmega328p -U flash
:w:demo.hex -v -P usb

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"


         Using Port                    : usb
         Using Programmer              : usbtiny
         Setting bit clk period        : 1.0
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

avrdude done.  Thank you.


C:\Users\Owner\Programs\WinAVR\Demo>

Hm, it looks like it still can’t find the programmer itself. I’d try changing the port parameter to COM1 through COM3 because on my computer the USB port I use is called COM3

If that doesn’t work then there might be firmware problems on the programmer or maybe something wrong with your driver installation :? Hope that helps :smiley:

That did not work either.

C:\Users\Owner\Programs\WinAVR\Demo>avrdude -c usbtiny -B1 -patmega328p -U flash
:w:demo.hex -v -P com1

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"


         Using Port                    : com1
         Using Programmer              : usbtiny
         Setting bit clk period        : 1.0
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

avrdude done.  Thank you.


C:\Users\Owner\Programs\WinAVR\Demo>avrdude -c usbtiny -B1 -patmega328p -U flash
:w:demo.hex -v -P com2

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"


         Using Port                    : com2
         Using Programmer              : usbtiny
         Setting bit clk period        : 1.0
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

avrdude done.  Thank you.


C:\Users\Owner\Programs\WinAVR\Demo>avrdude -c usbtiny -B1 -patmega328p -U flash
:w:demo.hex -v -P com3

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"


         Using Port                    : com3
         Using Programmer              : usbtiny
         Setting bit clk period        : 1.0
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

avrdude done.  Thank you.


C:\Users\Owner\Programs\WinAVR\Demo>avrdude -c usbtiny -B1 -patmega328p -U flash
:w:demo.hex -v -P COM3

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"


         Using Port                    : COM3
         Using Programmer              : usbtiny
         Setting bit clk period        : 1.0
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

avrdude done.  Thank you.


C:\Users\Owner\Programs\WinAVR\Demo>avrdude -c usbtiny -B1 -patmega328p -U flash
:w:demo.hex -v -P COM2

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"


         Using Port                    : COM2
         Using Programmer              : usbtiny
         Setting bit clk period        : 1.0
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

avrdude done.  Thank you.


C:\Users\Owner\Programs\WinAVR\Demo>avrdude -c usbtiny -B1 -patmega328p -U flash
:w:demo.hex -v -P COM1

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"


         Using Port                    : COM1
         Using Programmer              : usbtiny
         Setting bit clk period        : 1.0
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

avrdude done.  Thank you.


C:\Users\Owner\Programs\WinAVR\Demo>

My programmer’s Stat2 light has never come on. Does this mean something is wrong with the driver?

Hello guys,

i am having teh exact same issue, my programmer’s state LEDs never came on and I have no idea what else to do. I am thinking maybe the unit is defective there is only the Blue Power LED which is on and the device is not being picked up by windows new device notifier

i am using Win 7 - 64 bit

Please help

Thans

When programming by ISP in the Arduino IDE you need to hold the shift button while clicking upload. Maybe you already did this but it’s easy to overlook.

https://learn.adafruit.com/usbtinyisp/faq

How do I program a bootloader onto an Arduino?

Put a fresh AVR chip (such as an Atmega328) into the Arduino in the correct orientation

Remove the jumper from the USBtinyISP

Plug in the USBtiny to USB

Plug the Arduino into DC or USB so it is powered

Plug the 6 pin cable from the USBtinyISP into the Arduino so that pin 1 mark is lined up with the red wire on the cable

Start up Arduino IDE

Select the chip/Arduino you are using in the Tools->Board menu

Do not select a COM/Serial port

Select Tools->Burn Bootloader->w/USBtinyISP

The USBtinyISP red LED should light up. It will take a minute or two to program the chip

When it is done, the IDE will tell you it has completed and the red LED will be off.

Well thanks for stating that on a year old thread.