A python wrapper & UI built around avrdude. To facilitate programming for openrb If you want the most straightforward experience, go ahead and download the prebuilt executable for avr-programmer. This is a quick UI I built in python to directly facilitate flashing for this project, for windows it bundles its own copy of avrdude to handle the flashing, but it is cross platform with the caveat that you need to have avrdude installed and in your path for it to work.
Steps:
-
Download the latest release of avr-programmer
-
Download the latest release of openrb
-
Leave your arduino unplugged
-
Run
avr-programmer.exe
-
Select "Type" -> atmega32u4 (this is currently the only type)
-
Leave "Port" empty (this will auto-detect when you plug your arduino in)
-
Select the firmware file you downloaded earlier
-
Enable "Auto Flash". Here's an example for final settings:
-
Plug your Arduino in and wait ~10s. The Leonardo may require you to press the reset button before it flashes, if nothing happens within 10s of plugging in, try pressing the physical reset button on the arduino. A successful flash will look something like this:
-
Close avr-programmer and unplug your arduino, you're ready to go! Any firmware updates in the future will be done with this method