Digilent USB Programmer support for avrdude

dirkrob's picture

I've added support for Digilent's USB programming cable to avrdude. Thanks to Kyle's debugging help, it should now work with both versions of the cable. I've tested writing/reading to the flash and eeprom on the mega64 and mega168 (Cerebot and Nanocon boards). However, I'd appreciate feedback from other testers!

Until my patch gets into the avrdude project, you can apply it as follows. Make sure you've got the development package for libusb.

svn co svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude
cd avrdude
wget http://lists.gnu.org/archive/html/avrdude-dev/2009-05/txtuKhw8fQb4d.txt -O usbdigilent.patch
patch -i usbdigilent.patch
./bootstrap
./configure
make

To download to flash (on Cerebot):

./avrdude -C avrdude.conf -c usbdigilent -p m64 -U flash:w:First_Program.hex

Thanks, Dirk