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.)
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.
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
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?
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
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.