Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nieldk authored Apr 13, 2020
1 parent 44975b7 commit 551962c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:
```
Expand All @@ -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.

0 comments on commit 551962c

Please sign in to comment.