Here is an alternative to Reply #34 for installing and using Avrdude on a Mac with OSX (See below for my setup. YMMV.)
This method may be simpler for some users, because it is closer to a regular Mac installation. It is certainly quicker, because the download is 42.7MB instead of the 6.1GB or so of the other package (that is less than 1% of the download).
1. Log in as administrator.
2. Go to this page and follow the instructions down to the paragraph Option 1. AvrMacPack. Ignore the rest of the page from the heading Option 2. OSX-AVR to the end of the page (that is most of the page you will ignore). Hint: You can also find the Terminal app using the Launchpad (where it may be in a folder called Utilities or Other).
3. Do as instructed in Option 1, which tells you to go to this page.
4. Download the latest version of the .dmg file at the top of the list (it is from 2103). That gives you a disk image containing a regular Mac installer. Double click the downloaded disk image file and follow the usual Mac installation.
5. Download the appropriate hex file with Anduril as described in the OP paragraph Downloading Flash Files.
6. You need to relocate this hex file to where the Avrdude program can find it. I found it easiest to put it in my ‘home’ directory. It has a path like “Macintosh HD\Users\yourname”, where “yourname” is your login name. It is the folder that contains folders like Documents and Downloads that are put there by the Mac system.
7. Follow the rest of the OP instructions from Testing The AVRDUDE Installation to the end.
My setup: MacBook Pro early 2013 with OSX 10.13.6.
Just leaving some feedback. Flashed four d4v2 on a mac OS without any issues with the instructions from f0xx. didn’t see this comment from brewster until now.
I just flashed my 2 D4v2s using my Note8. My only trouble was finding the correct placement of the pogo pins with my 76 year old eyes. I kept getting error messages until I put on a binocular jewelers magnifier. If I can do it, probably anybody else can, too, thanks to Hank and ZozzV6.
Got my flash kit today. Flashed 8/5/2019 hex in a few seconds using the Android phone app. Works great and the phone app really made it easier than using AVRdude (which isn’t that hard anyway). Thanks for the Android method! I hope any future Emisar lights use the same pad/via configuration for updating firmware.
My kit arrived today. USB recognized but avrdude wouldn’t communicate with light. Inspection of pogo pin soldering revealed that there were some sections with solder bridging the traces.
Simply dragging a thin X-acto between the pins along the board surface a couple times cleared it out. Flashed and good to go!
I received my flashing kit. Using the posts above, I was able to easily get everything working on MacOS, and now my D4V2 is updated. Thanks for taking the time to create these easy to follow posts!
Try a couple more times, making sure you're holding the pins steady. I ran into this problem as well. What I did - was flashed the other hex file (non Nichia version), and it worked. Then I went back and flashed the correct hex file for my light (Nichea version), and it also worked. Not sure what causes this error.