diff --git a/README.md b/README.md index 4d6c668..0f07be8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -# avrdude -avrdude patches for USBASP as a PDI programmer +# avrdude for USBASP-PDI + +In order to use avrdude for USBASP-PDI you will also need to patch avrdude to understand how to use it. ## Instructions: ``` @@ -19,5 +20,9 @@ avrdude patches for USBASP as a PDI programmer $ ./bootstrap $ ./configure $ make -``` -To create a modified usbasp from a cheap usbasp china clone, look here http://szulat.blogspot.com/2012/08/atxmega-programmer-for-050.html + +4. Now you can run avrdude like this (flash.hex needs to be replaced with your file) + write flash: $ ./avrdude -c usbasp -p x32a4u -U flash:w:flash.hex:i + read flash to file (flash.bin is raw binary here): $ ./avrdude -c usbasp -p x32a4u -U flash:r:flash.hex:r + +Caveat: It seems libusb have issues on 64 bit Linux OS, so you may experience that you need to use a Windows box instead of Linux. Compilation for that is available, but I have attached a working binary in releases.