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. 🙂
A simple “Update your Retrode on Linux” helper script by Stephan Sokolow is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution under the same terms as the associated post.
All comments are moderated. If your comment is generic enough to apply to any post, it will be assumed to be spam. Borderline comments will have their URL field erased before being approved.