Emisar D4V2 Flash Kit Instructions (Official How To)

Pretty much the same exact situation as TimMc. I executed:

avrdude -c usbasp -p t1634 -u -Uflash:w:XC8Application1.hex

which resulted in a read verification failure (probably just because I didn’t hold the pins steady enough).

Now when I try to reflash, I get:

avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: error: programm enable: target doesn’t answer. 1
avrdude.exe: initialization failed, rc=–1
avrdude.exe: AVR device initialized and ready to accept instructions
avrdude.exe: Device signature = 0x6d3430
avrdude.exe: Expected signature for ATtiny1634 is 1E 94 12
avrdude.exe: NOTE: “flash” memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.

avrdude.exe done. Thank you.

I have successfully reflashed the light several times before and the programmer still works fine on other lights. I have the tint-ramping version of the D4V2.

Also, normally when I connect the pogo pins, the button LED lights up; now it no longer does that, so I suspect something is pretty wrong.

Do you connect the pogo pins before powering on the USBasp? I’m not sure about the protection of the ATtiny, but I made bad experiences with other controllers when the ground has bad contact and a positive voltage is applied first. That’s why I always connect the pogo pins first and then plug in the USBasp into the USB port.

Thanks for the help.

Just tried that and I keep getting the same error.

For reference, I didn’t ever have to connect the USBasp that way before (i.e. I just leave it plugged in and then connect the pogo pins) and it was working fine.

What happens when you do a tailcap reset and try to flash again?

I had one occasion where I flashed a new version and got a message on the app saying it flashed with errors. The light appeared to work normally, but I reflashed it and this time got no errors.

I also tried to flash a version that was incorrect and the light wouldn’t work at all. So I flashed the correct version and all was well.

Have you verified the version you need to flash?

Edit: I gather you’re using a PC to reflash? I’ve not tried the PC method, but the Android app Zflasher AVR makes the process simple enough that even I had no trouble (other than the above) reflashing my Hank-lights.

Tailcap reset does nothing. Same error. The light won’t even turn on with a battery in it. Like I said, something seems seriously wrong.

The firmware version I’m flashing is custom, but that shouldn’t prevent the MCU from being reflashed…

Yes I’m using a PC; like I said I’ve been able to flash this light many times before and the programmer works to flash other lights.

I had a similar issue with the light not working at all when I flashed the wrong version. But reflashing with the correct version returned the light to normal operations.

Have you tried flashing a stock version to see if it works?

That’s the problem; I am unable to flash anything to the flashlight.

Ouch. Oh well, at least these aren’t expensive fixes, just inconvenient. I’ll be curious to learn what failed and what you need to do to fix it, if you decide on a repair option.

If it already failed it’s too late. The method I described is to prevent such problems (or at least reduce the risk).

So I have this titanium d4v2 and I want to flash the latest anduril 2 onto it. What firmware file should I use?

http://toykeeper.net/torches/fsm/anduril2/anduril.2021-12-13.emisar-d4v2.hex

I flashed that one but the light seems like it will only go low power. Here’s my light config:

If you have white driver, try this one:
http://toykeeper.net/torches/fsm/anduril2/anduril.2021-12-13.noctigon-kr4-nofet.hex
Or this one for higher turbo:
http://toykeeper.net/torches/fsm/anduril2/anduril.2021-12-13.noctigon-kr4.hex

That should be the right firmware. Every now and then, I get a bad download and the light won’t turn on after a flash. Download it again and try flashing again.

board looks to be white. Before I flashed it spit out version 20191015 with no four digit code

can try that easy enough

If white, you have the kr4 driver. The one you tried to upload would have to be used for the red driver.
Try one of the ones I wrote.

Thanks for joining the gang, BLFBoots!

I don't wear combat boots, but my sister does at times.

Flashed both of the ones you linked and neither doing the trick… light doesn’t power on now hmmmm

aux lights come on but not the main emitters

found a reddit post linking to this firmware and it worked… any ideas whats going on?

http://toykeeper.net/torches/fsm/anduril2/anduril.2021-10-25.emisar-d4v2.hex

I have the D4v2 with Neutral White - XP-L HI V2 5D, 4000K emitters. I used https://toykeeper.net/torches/fsm/anduril2/anduril.2021-12-13.emisar-d4v2.hex with no issues. I get proper brightness from moonlight to turbo.

I have to use the kr4 firmware for my DT8, but not for my D4v2.