Emisar D4V2 Flash Kit Instructions (Official How To)

Note the jumper location, exactly as I got it from Hank.

trailhunter;

You're using the flash kit from Hank?

Nah, I built my own Imgur: The magic of the Internet

"Nah, I built my own https://imgur.com/a/p2KgwEu"

That shouldn't be a problem, but where did the USBasp board come from?

">Imgur: The magic of the Internet

That shouldn’t be a problem, but where did the USBasp board come from?

[/quote]

amazon, ive been using it to flash fw3’s no problem. let me double check all the wiring one more time. im surprised the first check in passing.

Terry, I found the problem. So thinking this through and looking at my setup, I noticed that my wire leads may be a bit too long at 3v on the usbasp. So what I did is move the pin from 3v to 5v and guess what? That fixed my issue above. So basically, if you run longer leads, you’ll want to bump the voltage up to compensate for that voltage drop :smiley:

As you can see here, it updated just fine now.

Congrats.

@Terry Oregon Huge thanks to you for making the instructions for the community.

Everything worked right at the 1st attempt:

avrdude -c usbasp -p t1634 -u -Uflash:w:anduril.2019-08-05.emisar-d4v2.hex

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9412 (probably t1634)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "anduril.2019-08-05.emisar-d4v2.hex"
avrdude: input file anduril.2019-08-05.emisar-d4v2.hex auto detected as Intel Hex
avrdude: writing flash (9122 bytes):

Writing | ################################################## | 100% 9.20s

avrdude: 9122 bytes of flash written
avrdude: verifying flash memory against anduril.2019-08-05.emisar-d4v2.hex:
avrdude: load data flash data from input file anduril.2019-08-05.emisar-d4v2.hex:
avrdude: input file anduril.2019-08-05.emisar-d4v2.hex auto detected as Intel Hex
avrdude: input file anduril.2019-08-05.emisar-d4v2.hex contains 9122 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 4.86s

avrdude: verifying ...
avrdude: 9122 bytes of flash verified

avrdude done. Thank you.

I did the reset afterwards (hold 3 seconds when tightening battery cap) and also tried the other way ("13H") for curiosities sake but I found it next to impossible to get the timing right.

Received my kit yesterday. Reflashed my D4v2 via the Android and OTG method. Couldn’t be easier!

Now what else can I do with this kit? :slight_smile:

Done.

If I can do it (my old eyes needed a magnifying glass), everyone can. Thanks to TK & Hank for resolving the issue.

Now comes the really difficult part … getting my old preferences back into the light.

Kit arrived yesterday and update done to my D4V2 the same day from MacOS. As other oldies have noted, the hardest part is seeing close up to ensure the tiny pins are in place on the pads.

It might help to have a second via cut in the board to position the pins better. That could be done in future without affecting backwards compatability.

The quick reset now in Anduril is great, too. The reset cleaned up a small issue seen after flashing a Q8, where I presume some old configuration data wasn’t cleaned out by flashing.

Thanks to Hank and TK for sorting this - and incidentally for the great leap forward in firmware flashing.

I flashed my two D4v2s this morning without problem; the pogos neutralized my tremor. Thanks Terry for your clear instructions. Thanks TK and Hank for addressing the problem promptly and efficiently.

Also got my reflashing kit ordered from Hank, tested on my D4v2 and at first try, it didn’t succeed, most likely due to the pins not aligning properly with the D4v2 holes (they’re very tiny and my eyesight is a bit poor…) A second try worked successfully. (I have previous experience flashing the BLF/Sofirn Q8 into NarsilM v1.2 and Anduril already, so I sort of knew how the AVRDUDE works on PC… The flashing process seems to take just a little bit longer, maybe by a few seconds, on the D4v2 compared to the Q8, but it could just be my imagination)…

Regarding the 2019-08-05 hex file, aside from eliminating the muggle mode bug, adding a factory reset function, are there any other minor new functions added or changes in behavior (eg. thermal behavior or say candle mode behavior), compared to the June 2019 firmware?

here are some updates listed:

I am really happy that the Android phone method worked so well for many people and they are now happy D4V2 users.
Soon I will get my D4V2 too :sunglasses:

brewster, I also want to thank you for those Mac OS X instructions. Was super easy and it worked perfectly with my Mac Mini running OS X v10.13.6. And a thank you to the OP for the rest of the detailed instructions on using AVRDUDE, and also a thank you to Hank for sending out a warning, and then making those flashing kits available at a good price!

I now have an updated (and slightly safer) D4v2! What an awesome light it is… :slight_smile:

Well, I received the flash kit shebang from Hank today. I will try it tomorrow using Mac OS and, though I’m not very handy tech-wise, I will hope for the best. I’d try now, but I am a few too many sheets to the wind.

I just got home from a trip to find my kit waiting for me. It just took me a few minutes to flash both of my D4V2 lights.

Thanks to everyone who contributed to making this possible. Between the provided hardware and the excellent instructions the process was smooth.

For those who have already done some flashing, I should mention that I used the USB device, driver, and software that I already had. I just attached the new cable and followed the instructions without any modification.

Flashkit arrived a week or so ago, Flashed using the phone app instructions and that was it, simple and easy.
used the firmware listed here https://intl-outdoor.com/emisar-d4v2-reflashing-kits-p-941.html
is there a website/list of cmpatable firmwares, as it seems a shame to leave the flashing device sat idle in its bag

i got my flash kit today
and i get the following error
avrdude: AVR Part “t1634” not found.

i had no issues previously flashing my blf q8 or my d4s or fw3a