Integrating AVRDUDE with the Swiss Army Programmer - SensitTechnologies/SAPAPP GitHub Wiki
AVRDUDE:
AVRDUDE - AVR Downloader Uploader - is a program for downloading and uploading the on-chip memories of Microchip’s AVR microcontrollers. It can program the Flash and EEPROM, and where supported by the programming protocol, it can program fuse and lock bits. AVRDUDE also supplies a direct instruction mode allowing one to issue any programming instruction to the AVR chip regardless of whether AVRDUDE implements that specific feature of a particular chip.
AVRDUDE was originally written in 2003 by Brian S. Dean. Since 2006, AVRDUDE has been maintained by Jörg Wunsch, with the help of various contributors.
AVRDUDE is what we will be using for the purposes of this application. Unfortunately, AVRDUDE uses the free GNU LibUSB driver rather than the default Microchip driver used by Atmel Studio, so we will have to change the driver in this installation process.
Avrdude documentation page: https://avrdudes.github.io/avrdude/8.0/avrdude.html
Configuring avrisp mkII driver: how-to-use-avrisp-mkii-with-avrdude-and-great-cow-basic
Installation Process:
Installing AVRDUDE
- Download the latest AVRDUDE package (avrdude-vX.X-windows-x64.zip) from the releases page on GitHub
- Unzip the package in your downloads folder
Changing the AVRISP mkII’s driver:
Luckily, other people have solved the driver problem and there are free solutions that make this task much easier. Here we will use ZADIG, which is a free GNU USB driver installer, because it makes it really simple.
- Plug in the avrisp mkII
- Download ZADIG from here https://zadig.akeo.ie/
- Install and Run ZADIG
- From the options tab, select “List all Devices”
- From the drop-down menu, select "avrisp mkII”
- On the right side Driver menu, select the latest "libusb-win32” Driver
- Click “Replace Driver”
- Once the program is done, unplug and re-plug the device for the new driver to take effect
Configuring for the SAP APP:
- Open the app and Navigate to settings -> preferences
- Find the selector for the AVRDUDE executable and click browse
- In the file browser, navigate to the AVRDUDE executable and click open
- Click “Ok” on the window
AVRDUDE is now configured for use with the SAP APP