I'm trying to program an ATmega162 using my 51 AVR ISP programmer. When I run avrdude, I get this error:
C:\Program Files (x86)\Atmel Studio\AVRDude>avrdude -p m162 -c usbasp -P USB -U "flash:w:""F:\Files\Dev\EE\BeerGoat\Test1\Test1\Debug\Test1.hex"":i" -vvv avrdude: invalid file format 'i -vvv' in update specifier avrdude: error parsing update operation 'flash:w:"F:\Files\Dev\EE\BeerGoat\Test1\Test1\Debug\Test1.hex:i -vvv' C:\Program Files (x86)\Atmel Studio\AVRDude>avrdude -p m162 -c usbasp -P USB -vvv -U "flash:w:""F:\Files\Dev\EE\BeerGoat\Test1\Test1\Debug\Test1.hex"":i" avrdude: Version 5.11-Patch#7610, compiled on Aug 31 2011 at 08:02:19 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "C:\Program Files (x86)\Atmel Studio\AVRDude\avrdude.conf" Using Port : USB Using Programmer : usbasp avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc avrdude done. Thank you.
I'm not sure why avrdude is failing to find the device. I used Zadig to install the driver (as documented here) and Windows can see it just fine (with the correct VID and PID).
I'm running Windows 7 64-bit, but I turned off UAC and the like for this test. I didn't run into any hiccups installing the driver. Avrdude is running with administrative privileges and should have no problem enumerating USB devices.
Any suggestions?