These are excellent instructions, Terry! Thank you for all the work you put into making them clear, detailed, well-illustrated, and easy to follow! As someone with an aptitude for and some experience with technical writing, and writing instructions in particular, I can appreciate good work.
I used your instructions to update the firmware on my D4V2 and I ran into only one difficulty, which was my mistake, but I want to share it in case anyone else has the same trouble.
First, though, I want to remind everyone of the importance of performing the factory reset after updating, or at least rechecking the thermometer calibration. My flashlight’s thermometer was calibrated correctly when I first checked it, and while I can’t remember, that was probably before the update. I did not perform a factory reset after the update, and I just found that it was reading 8° low! After the factory reset I just performed, the thermometer was correct to within a couple degrees. I then calibrated it a little more accurately.
Anyway, while first installing AVRDUDE, I installed it into the AVRDUDE directory I created, carelessly deleting the auto-created MHV AVR Tools subdirectory in the Setup dialog’s installation path (I changed the installation path to “c:\AVRDUDE” instead of “c:\AVRDUDE\MHV AVR Tools”). For some reason, this seemed to cause avrdude.exe not to be found. And I looked in the directory and it was indeed not there. It is, in fact, in the bin subdirectory, not in the main install directory, and the command window found and ran it when I installed the application into the MHV AVR Tools subdirectory that was auto-created. I finally figured that out during one of my reinstallation attempts and then it all ran correctly.
If you lose connection to the flashlight during the update and get an infinite loop of error messages, don’t panic. Just close and reopen the command windows and try again (maybe I only needed to reconnect the POGO pins and it would have automatically resumed flashing - I didn’t try it). That happened to me and the firmware flashed correctly on the second attempt.
Also, I want to mention for anyone using these instructions that the links to ToyKeeper’s Andúril hex files in these instructions will become outdated as TK releases new versions. I used the base, directory URL of the files (Index of /torches/fsm) and found a later version to download. The file name to look for is in the format “anduril.[YYYY-MM-DD].emisar-d4v2.hex”, and if you want the Nichia 219 version, look for “–219” after the flashlight model.
For anyone interested, here is my review of the Emisar D4V2: Emisar D4V2 Review Supplement (the pickier details) (Emisar D4V2 Review Supplement (the pickier details))