Emisar D4V2 Flash Kit Instructions (Official How To)

113 posts / 0 new
Last post
d_t_a
Offline
Last seen: 16 hours 7 min ago
Joined: 08/04/2017 - 23:58
Posts: 1377
Location: Manila, Philippines

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?

Man Without Shadow
Man Without Shadow's picture
Offline
Last seen: 2 hours 9 min ago
Joined: 02/20/2017 - 18:17
Posts: 427
Location: Wisconsin

When I'm spending mony foolishly, I like to do it wi$ely...

I have all the flashlights I need, but not as many as I want...

 

ZozzV6
ZozzV6's picture
Offline
Last seen: 10 hours 14 min ago
Joined: 03/24/2016 - 12:19
Posts: 2315
Location: Near to my soldering iron.

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 Cool

mmander
Offline
Last seen: 1 month 3 weeks ago
Joined: 02/08/2015 - 23:15
Posts: 20
Location: Vancouver, BC, Canada
brewster wrote:
Here is an alternative to Reply #34 for installing and using Avrdude on a Mac with OSX (See below for my setup. YMMV.) …

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… Smile

Flashlights & light-painting on my blog: www.mikemander.com >flashlights

Takuan
Takuan's picture
Offline
Last seen: 6 hours 11 min ago
Joined: 07/29/2019 - 12:02
Posts: 9
Location: New Orleans

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.

bquinlan
Offline
Last seen: 1 hour 37 min ago
Joined: 04/19/2018 - 01:07
Posts: 74
Location: Madison, Wisconsin, USA

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.

pint
Offline
Last seen: 6 days 7 hours ago
Joined: 01/13/2019 - 10:14
Posts: 24
Location: UK

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

CoRDS
Offline
Last seen: 18 hours 21 min ago
Joined: 06/03/2019 - 03:58
Posts: 5
Location: AU

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

d_t_a
Offline
Last seen: 16 hours 7 min ago
Joined: 08/04/2017 - 23:58
Posts: 1377
Location: Manila, Philippines

CoRDS wrote:
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

What version of AVRDude are you using?

Try getting the latest AVRDude v6.3

Man Without Shadow
Man Without Shadow's picture
Offline
Last seen: 2 hours 9 min ago
Joined: 02/20/2017 - 18:17
Posts: 427
Location: Wisconsin

I had an old version of AVRDude installed…

Installed new version…still didn’t work…had to actually UNINSTALL the old version and reboot computer before old version stopped interfering with new version. (win10 computer here)

Then the new version (6.3) would work.

When I'm spending mony foolishly, I like to do it wi$ely...

I have all the flashlights I need, but not as many as I want...

 

Terry Oregon
Terry Oregon's picture
Offline
Last seen: 5 hours 24 min ago
Joined: 10/21/2017 - 17:03
Posts: 474
Location: Beaverton Oregon

Man Without Shadow wrote:
I had an old version of AVRDude installed... Installed new version...still didn't work...had to actually UNINSTALL the old version and reboot computer before old version stopped interfering with new version. (win10 computer here) Then the new version (6.3) would work.

That's pretty much what happened to me here.

 

Also, CoRDS, look at the very last part of my instructions under "problem/solution", this worked for someone on reddit.

 

My reviews: , My personal collection of lights LINK,  J5 Tactical V1 Pro review LINK,  Thirteen Optical Sensors review LINKZebralight SC700d review LINK,  Ray-O-Vac Super Power Sportsman review LINK,  Convoy S2+ color combos LINK,  How To flash D4V2 LINK.

f0xx
f0xx's picture
Offline
Last seen: 4 hours 2 min ago
Joined: 02/27/2019 - 18:44
Posts: 309
Location: Near Dallas, Texas

CoRDS wrote:
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

I believe the previous posts recommending you upgrade to the latest version of avrdude are correct, and doing so should resolve your issue.

Depending on your OS and method of install, the method to upgrade avrdude will be different. If you run into trouble, make sure you provide these details and we’ll be happy to help.

brewster
Offline
Last seen: 1 hour 37 min ago
Joined: 07/19/2019 - 23:29
Posts: 14
Location: Australia
brewster wrote:
… 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 compatibility ….

It seems the flashing pads on the updated D4SV2 have vias cut at both ends of the row of four pins. See the second photo at
http://budgetlightforum.com/comment/1556510#comment-1556510

That will greatly assist many folk in locating the pogo pins. The modification must have been in the works already, before my suggestion.

Takuan
Takuan's picture
Offline
Last seen: 6 hours 11 min ago
Joined: 07/29/2019 - 12:02
Posts: 9
Location: New Orleans

Well, I’ve tried to flash my D4V2 using my Macbook, but no cigar. I suspect I’m losing my way with AVRDUDE, etc. (I’m crap with programming of any kind), plus my eyesight is poor… maybe I’m not getting the pins aligned properly. So I’m wondering whether anyone might be willing to flash it for me… I can even send the flash thingy I received from Hank if anyone wants one. I will pay for postage, too. If anyone in the U.S. can help, please PM me. Thanks! (I’m in New Orleans, if that matters.)

Man Without Shadow
Man Without Shadow's picture
Offline
Last seen: 2 hours 9 min ago
Joined: 02/20/2017 - 18:17
Posts: 427
Location: Wisconsin

I’d be willing to do it…

do you have an android phone?

Should try it a few times…holding the pins steady…maybe you can use some tape to hold it in place?

I’ve successfully flashed a few of my lights

When I'm spending mony foolishly, I like to do it wi$ely...

I have all the flashlights I need, but not as many as I want...

 

Takuan
Takuan's picture
Offline
Last seen: 6 hours 11 min ago
Joined: 07/29/2019 - 12:02
Posts: 9
Location: New Orleans

No Android phone… iPhone. (I’m originally from WI, by the way.)

Man Without Shadow
Man Without Shadow's picture
Offline
Last seen: 2 hours 9 min ago
Joined: 02/20/2017 - 18:17
Posts: 427
Location: Wisconsin

Got a friend with an android phone?

I only encourage you to try because when it works, it takes 10 seconds.

I am sure willing to do it, but 30mins of fussing might just do the job vs a week or so in the USPS.

Does the AVRDude seem to work? or having problems with that too?

here’s how easy it can with an android phone…

https://www.youtube.com/watch?v=kyu7WOWApkc

When I'm spending mony foolishly, I like to do it wi$ely...

I have all the flashlights I need, but not as many as I want...

 

Takuan
Takuan's picture
Offline
Last seen: 6 hours 11 min ago
Joined: 07/29/2019 - 12:02
Posts: 9
Location: New Orleans

I have friends with Android phones, but likely not the USB adapter.

Man Without Shadow
Man Without Shadow's picture
Offline
Last seen: 2 hours 9 min ago
Joined: 02/20/2017 - 18:17
Posts: 427
Location: Wisconsin

here is a 3 pak for 5$, amazon

https://www.amazon.com/Rankie-Female-Adapter-Convertor-3-Pack/dp/B00YOX4...

Probably quicker and cheaper than sending it…

But I am very willing to do it. Wink

When I'm spending mony foolishly, I like to do it wi$ely...

I have all the flashlights I need, but not as many as I want...

 

Candil
Offline
Last seen: 1 month 6 days ago
Joined: 05/29/2014 - 06:17
Posts: 110
Location: Canada

reserved

Takuan
Takuan's picture
Offline
Last seen: 6 hours 11 min ago
Joined: 07/29/2019 - 12:02
Posts: 9
Location: New Orleans

Thanks to Man Without Shadow, I’m all set…

80T
80T's picture
Offline
Last seen: 7 hours 59 min ago
Joined: 01/24/2019 - 18:11
Posts: 161
Location: Romania/Ireland

Run cmd as Admin in the AVRDUDE install dir. (copy/paste in Notepad > save as .bat > execute.. )

 

Quote:

@echo off

title AVRDUDE

>nul 2>&1 "%SystemRoot%\system32\cacls.exe" "%SystemRoot%\system32\config\system"

if '%errorlevel%' NEQ '0' (goto UACPrompt) else (goto gotAdmin)

:UACPrompt
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    set params = %*:"="
    echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"

    "%temp%\getadmin.vbs"
    del "%temp%\getadmin.vbs"
    exit /B

:gotAdmin
    pushd "%CD%"
    CD /D "%~dp0"

Set Reg.Key=HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Free Software Foundation\MHV-AVR-Tools
Set Reg.Val=BINUTILS

For /F "Tokens=2*" %%A In ('Reg Query "%Reg.Key%" /v "%Reg.Val%" ^| Find /I "%Reg.Val%"') Do Call Set avrdir=%%B

cmd /k "cd %avrdir%\"

 

EDIT:

 

Really fancy the latest changes in the FW Smile

 - The "release for On" instead of "press for On" - feels much more intuitive now

 - The ramping down after a short release in the Strobe Modes - now consistent with the main ramping (always thought that I was doing something wrong when I was trying to ramp down in any Strobe mode.. )

 - Factory Reset -Yay! Nice to have a fail-safe, just in case..

 

The rest of the updates were already on my D4V2. Not on my FF's tho,, thus, next I'll need to cook up some Dupont wires to flash my FF's as they're becoming, umm.. outdated LOL

 

Now..

 - How would I go about compiling my own custom Anduril.. ? Would I need to.. idk, clone a custom fork or something.. ? And is the compiler online, on the launchpad site, or.. ?

 

I just want to start making some small changes to customize my lights, now that I've got my Flashing Kit on yesterday.

Things like stop at Moonlight while 1H from Off, instead of continuing to ramp, removing Muggle mode entirely, maybe change the Aux LED's R&G only as Batt. Lvl. Indicator and B as Cfg. Mode Status (instead of the main LED's) change the batt. cut-off voltage to ~3.2V, remove the mid ramp blinks, change the default On brightness (say.. a fraction of the ceil, ex. 1/2, 1/3, 1/4, 1/5... etc. of the ceil) and other fun bits like these..

Pages