A good rule of programming is, if you find something bothersome twice, and you can’t rule out having to do it again, automate it… I had to look up the steps to update my Retrode twice.
In short, I wrote a little script to automate the process of updating a Retrode’s firmware on Linux.
In addition to converting two hard-to-remember dfu-programmer commands into a single
./update_retrode.sh new_firmware.hex, it also does a few basic safety checks and reminds you which order to press and release the buttons on the Retrode to put it into programming mode.
I hope someone finds this useful. 🙂