Emisar D4V2 Flash Kit Instructions (Official How To)

112 posts / 0 new
Last post
darrylo
Offline
Last seen: 6 hours 23 min ago
Joined: 06/21/2016 - 02:30
Posts: 31

Thanks.

f0xx
f0xx's picture
Offline
Last seen: 24 min 49 sec ago
Joined: 02/27/2019 - 18:44
Posts: 239
Location: Near Dallas, Texas

I have some screenshots and some notes for the Mac/OSX portion of the guide. I’m shooting for submitting the guide here tomorrow (I have to build a fence first, so it might be pretty late before they go up if I even make it by tomorrow), but it may be Sunday before I get around to it. I didn’t get my D4V2 or programming key in time to use it as an example, but after you get everything installed flashing is basically identical to the Windows avrdude portion.

A bash/batch script might follow as well, but I’m not sure how to make it foolproof (as one would want for an easy mode script). I could make it so that if placed in a folder with a single .hex file, it would flash that file (or flash the newest file). It might be better to list all the .hex files in the same folder, and prompt to pick one by number. It has been a while, so I’m a bit rusty and it might take me a while to remember how to do that. Could be fun though.

I’d think it should also run the command to check connectivity (avrdude -p t1634 -c usbasp -n), then present a prompt like “Was that successful? Press ‘y’ to begin flashing or press ‘n’ to retry”

Another thought to make this more universal, maybe there is a way get it to ask which MCU (t13, t85, t1634, etc) is connected and then issue the correct command automatically.. I don’t know avrdude that well though.

Any thoughts on this from the community? Personally, I’d rather just type everything in or copy/paste… but it seemed there was some interest in a script to simplify things.

f0xx
f0xx's picture
Offline
Last seen: 24 min 49 sec ago
Joined: 02/27/2019 - 18:44
Posts: 239
Location: Near Dallas, Texas

How to flash on OSX:

1. Install Xcode from the Mac App Store (6.1GB install, so be ready for a long download)

2. Open Xcode and accept the agreement, wait for it to finish “Installing components”, and then close it.

3. Install homebrew (this is a package manager for OSX, for more info see https://brew.sh)

  • press “Return” and follow the prompts.
  • The install will tell you what it is about to do, then you will be asked to enter your password. Do so and then press “Return”.
  • Once finished, it will return you to the prompt (computername:~ username$)

4. Use Homebrew to install avrdude.

  • In the Terminal window, type:
    Quote:
    brew install avrdude

  • Homebrew will download and install the necessary dependencies, then install avrdude
  • Once finished, it will return to the prompt.
  • To test our installs, run avrdude. Type
    Quote:
    avrdude
    at the prompt and press “Return”
  • the last line before the prompt should tell you the version of avrdude

5. Now we are ready to flash!

  • In the terminal window, type:
    Quote:
    cd ~/Downloads
  • Press “Return”. This will take you to the “Downloads” folder.

From this point on, the process is the same as with the Windows version above.

I may come back and edit this with screenshots of the flashing process after I get my D4V2 and my programming key.. but avrdude on Windows, Linux, and OSX is basically the same.

Terry Oregon
Terry Oregon's picture
Offline
Last seen: 1 hour 41 min ago
Joined: 10/21/2017 - 17:03
Posts: 469
Location: Beaverton Oregon

Quote:
How to flash on OSX:

 

Thanks for doing this, I posted a link to this post in my second reserved post.

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.

kazibole
Online
Last seen: 4 min 22 sec ago
Joined: 09/01/2012 - 20:24
Posts: 17

FYI new firmware binaries were released today: http://toykeeper.net/torches/fsm/?C=M;O=D

Terry Oregon
Terry Oregon's picture
Offline
Last seen: 1 hour 41 min ago
Joined: 10/21/2017 - 17:03
Posts: 469
Location: Beaverton Oregon

Quote:
FYI new firmware binaries were released today:

 

Looks like the first 'muggle fix' firmware update was released on July 18th.  I wonder what's different on these new files?

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.

wkweksl
Offline
Last seen: 5 days 15 hours ago
Joined: 04/01/2011 - 07:07
Posts: 55
Location: SG

Changelog can be viewed here

Terry Oregon
Terry Oregon's picture
Offline
Last seen: 1 hour 41 min ago
Joined: 10/21/2017 - 17:03
Posts: 469
Location: Beaverton Oregon

wkweksl wrote:
Changelog can be viewed

 

OK, updated instructions with latest version.

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.

Earpuller
Offline
Last seen: 5 days 5 hours ago
Joined: 08/09/2019 - 12:44
Posts: 23
Location: United Kingdom

D4S headHi all, I'm new here on BLF hope I've posted this in the right place I've been following the Emisar D4V2, D4S and this thread for a while now. I've got a couple of D4 V1s' as well as the D4S I ordered from Hank at intl-outdoor.com last year. I'm really happy with all my Emisars. Hope someone can help me I want to flash Anduril to my D4S using the new D4V2 flashkit. I've been in contact with Hank earlier this week and he says it is possible to flash the D4S with this kit but the wires may need a bit of modding. I have no experience with soldering etc but he did send me an image with the wires connected to the D4S head. Please could someone let me know if I was to order the flashing kit from Hank, would it be fairly straight forward to connect to my D4S? if its fairly straight forward I'll take a chance and order it. I'm happy with the rest of the process using the info in the first post which is extremely clear but I'll tackle the specific command to flash the D4S if I end up ordering the kit. Sorry I'm not sure how to post the image of the kit connected to the D4S as I have it saved locally.!https://ibb.co/MN6QLcf! Thanks.!https://ibb.co/MN6QLcf!:https://ibb.co/MN6QLcf

kazibole
Online
Last seen: 4 min 22 sec ago
Joined: 09/01/2012 - 20:24
Posts: 17
Earpuller wrote:
I’ve been in contact with Hank earlier this week and he says it is possible to flash the D4S with this kit but the wires may need a bit of modding. I have no experience with soldering etc but he did send me an image with the wires connected to the D4S head. Please could someone let me know if I was to order the flashing kit from Hank, would it be fairly straight forward to connect to my D4S?

I believe that you would just need some male to female Dupont jumper cables, such as in this set: https://m.banggood.com/120pcs-20cm-Male-To-Female-Female-To-Female-Male-...

No soldering required.
f0xx
f0xx's picture
Offline
Last seen: 24 min 49 sec ago
Joined: 02/27/2019 - 18:44
Posts: 239
Location: Near Dallas, Texas
Earpuller wrote:
Hi all, I’m new here on BLF hope I’ve posted this in the right place I’ve been following the Emisar D4V2, D4S and this thread for a while now. I’ve got a couple of D4 V1s’ as well as the D4S I ordered from Hank at intl-outdoor.com last year. I’m really happy with all my Emisars. Hope someone can help me I want to flash Anduril to my D4S using the new D4V2 flashkit. I’ve been in contact with Hank earlier this week and he says it is possible to flash the D4S with this kit but the wires may need a bit of modding. I have no experience with soldering etc but he did send me an image with the wires connected to the D4S head. Please could someone let me know if I was to order the flashing kit from Hank, would it be fairly straight forward to connect to my D4S? if its fairly straight forward I’ll take a chance and order it. I’m happy with the rest of the process using the info in the first post which is extremely clear but I’ll tackle the specific command to flash the D4S if I end up ordering the kit. Sorry I’m not sure how to post the image of the kit connected to the D4S as I have it saved locally.

Firstly, welcome to the forum!

This is the image you were trying to show:

It didn’t work because you were linking to the page instead of the picture itself (click the “quote” button on my post to see how I did it).

For the D4S, you don’t need to solder anything (thankfully) as long as the USBasp that comes in the kit has removable wires between it and the pins (I’m thinking they will, but I don’t have one to verify).

You just need to get some Dupont wires (like these): https://amzn.to/2YXFItm
You need the female connector on one end to connect to the USBasp (thing with the USB port) and you could remove the connector at the other end and insert the wire directly into the programming holes on the D4S. No need to solder, just check the connection and then flash.

The only difference between the D4V2 and the D4S as far as avrdude is concerned will be that you replace “t1634” with “t85” in the command you type and of course the name of the file you are flashing (use the one for the D4S, not the D4V2). We’re happy to help answer additional questions as needed.

Lux-Perpetua
Lux-Perpetua's picture
Offline
Last seen: 1 hour 51 min ago
Joined: 03/01/2018 - 04:39
Posts: 1555
Location: Germany, 德国, ドイツ, Германия, जर्मनी

What are the minimum requirements for using the Android app? Any specific Android version? Can anyone recommend a cheap Android smartphone to use the flashlight kit with?

Earpuller
Offline
Last seen: 5 days 5 hours ago
Joined: 08/09/2019 - 12:44
Posts: 23
Location: United Kingdom

Hi kazibole & f0xx. Thanks for your quick replies I’m really tempted to order the kit from Hank but will hold off for a week or two and read about peoples experiences though you make it sound fairly straight forward with the Dupont wires. Thanks for mentioning the correct command for the D4S I’m used to working in Windows command prompt so should have no issues with the commands it was just connecting the kit to the D4S that was bothering me.

I’m hoping to become more active on BLF I got the flashlight bug after following the 18650 and 26650 review threads a couple of years a go and started out with an old 3AAA basic generic EDC light then moved to the Xtar Pilot II, then to a Wowtac A10 but it was the Emisar D4 thread that good me really hooked to BLF I spent days reading my way through the thread. I’ve been using a black D4 as my EDC with XPL-high 5000K for a year or so before ordering the D4S XPL-high 6500K exactly 1 year a go and have been using it as my primary EDC ever since and really loving the light. Both of my D4 V1 lights have the temp sensor issue where the reading is out by a big margin I had one which had accrurate readings but the leds died gradually but I just love the form factor of the D4S and the fact I get more runtime from using a good quality 26650 cell.

Once again, thanks for making me feel at home here.

f0xx
f0xx's picture
Offline
Last seen: 24 min 49 sec ago
Joined: 02/27/2019 - 18:44
Posts: 239
Location: Near Dallas, Texas

Earpuller wrote:
Hi kazibole & f0xx. Thanks for your quick replies I’m really tempted to order the kit from Hank but will hold off for a week or two and read about peoples experiences though you make it sound fairly straight forward with the Dupont wires. Thanks for mentioning the correct command for the D4S I’m used to working in Windows command prompt so should have no issues with the commands it was just connecting the kit to the D4S that was bothering me.

I’m hoping to become more active on BLF I got the flashlight bug after following the 18650 and 26650 review threads a couple of years a go and started out with an old 3AAA basic generic EDC light then moved to the Xtar Pilot II, then to a Wowtac A10 but it was the Emisar D4 thread that good me really hooked to BLF I spent days reading my way through the thread. I’ve been using a black D4 as my EDC with XPL-high 5000K for a year or so before ordering the D4S XPL-high 6500K exactly 1 year a go and have been using it as my primary EDC ever since and really loving the light. Both of my D4 V1 lights have the temp sensor issue where the reading is out by a big margin I had one which had accrurate readings but the leds died gradually but I just love the form factor of the D4S and the fact I get more runtime from using a good quality 26650 cell.

Once again, thanks for making me feel at home here.

Sounds like a good way to get started!

If you intend to update your D4’s (as in the plural of D4, not “D4S”), you may need an SOIC8 clip such as this one: https://amzn.to/2YSGcoW

I don’t have this exact clip (the one I bought is listed as “currently unavailable”), but mine was about as cheap and works well enough for me. Banggood is another place where you can probably find it cheaper, but with slow Chinese shipping. I’ve heard that the Pomona branded clips are higher quality if that is desired.

You can put Anduril on them for more features if you wanted.

If your old D4’s have fried their emitters, it might be a good opportunity to start doing some mods (emitter swaps aren’t too bad). The Samsung LH351D in 5000k 90+cri is a favorite of mine.

EDIT:
I’m not sure if this applies to avrdude in Windows, but in Linux/Unix the command line is case sensitive. Just something to be aware of. If you fail a flash or the command doesn’t work, most of the time you can just adjust and try again.

chinooker
chinooker's picture
Online
Last seen: 14 min 11 sec ago
Joined: 12/16/2015 - 13:27
Posts: 1589
Location: mid USA left coast

My gray D4S is on the left, my green one is on the right.

Earpuller
Offline
Last seen: 5 days 5 hours ago
Joined: 08/09/2019 - 12:44
Posts: 23
Location: United Kingdom

Just another quick question please could anyone tell me if these 2 items from Ebay would let me flash Anduril to my D4S? I think the specs of the USBASP look fine for the D4S along with the Dupont wire. If both items seem fine I’ll order them as I’d love to have all the flashing modes to play with.

Sorry I’m completely new to firmware flashing but I’m both nervous and excited but willing to learn from the community.

USBASP programmer

I’m assuming the programmer will run at USB 5V but would like to confirm it will be fine for the D4S.

Dupont wire

Thanks.

TMaxxJJ
Offline
Last seen: 3 hours 26 min ago
Joined: 02/01/2018 - 03:18
Posts: 28
Location: England

Earpuller wrote:
Just another quick question please could anyone tell me if these 2 items from Ebay would let me flash Anduril to my D4S? I think the specs of the USBASP look fine for the D4S along with the Dupont wire. If both items seem fine I’ll order them as I’d love to have all the flashing modes to play with.

Sorry I’m completely new to firmware flashing but I’m both nervous and excited but willing to learn from the community.

USBASP programmer

I’m assuming the programmer will run at USB 5V but would like to confirm it will be fine for the D4S.

Dupont wire

Thanks.

They look fine yeah. My USBASP and DuPont leads arrived about a month ago, but like you I was a bit apprehensive to do it. I finally got round to reflashing my D4S on Thursday and it all went smoothly thanks to the brilliant walkthroughs on here! I just filed down the male side of 6 DuPont leads so that I could just push them in the holes of the D4S with a bit of resistance so they wouldn’t pop out again. I’ve now just ordered a SOIC8 clip so I can do my Q8!

Earpuller
Offline
Last seen: 5 days 5 hours ago
Joined: 08/09/2019 - 12:44
Posts: 23
Location: United Kingdom

Thanks TMaxxJJ I’ll order the USBASP tomorrow along with the Dupont wire glad to finally be making some progress. I’ll leave my D4 V1s with the stock firmware as they are running fine and I have absolutely no experience soldering but hopefully flashing the D4S should be fairly straight forward. I’ll ask for more help once the stuff has arived hopefully this week. I found the latest TK Anduril D4S hex file this morning so will grab AVDUDE and the driver utility from the first post when I attempt the flash operation. Thanks for the quick reply.

f0xx
f0xx's picture
Offline
Last seen: 24 min 49 sec ago
Joined: 02/27/2019 - 18:44
Posts: 239
Location: Near Dallas, Texas

Those should work.

I found this post that will probably be helpful for the D4S: http://budgetlightforum.com/comment/1369948#comment-1369948

Does your light match the left or right one in chinooker’s post (thank you for that chinooker!)?

Earpuller
Offline
Last seen: 5 days 5 hours ago
Joined: 08/09/2019 - 12:44
Posts: 23
Location: United Kingdom

Thanks for the D4S post showing the flashing process hopefully I don’t mess it up. Will order the USBASP and Dupont wire tomorrow

My black D4S has the same pin layout as Chinookers green D4S in his image. I’ll ask for help with the pin layout and wire connections when everythings arived.

I’ve posted an image of my D4S head below hopefully I’ve done it correctly.

srvctec
srvctec's picture
Offline
Last seen: 22 hours 14 min ago
Joined: 06/03/2016 - 22:42
Posts: 39
Location: Central Kansas, USA

I thought this thread was specifically for the D4V2 flashing only.

 

I subscribed to it based on the title "Emisar D4V2 Flash Kit Instructions (Official How To)" so I could get notifications (I'm getting them) whenever there was more info or tips on the process but now it seems to be about the D4 and D4S flashing.

Earpuller
Offline
Last seen: 5 days 5 hours ago
Joined: 08/09/2019 - 12:44
Posts: 23
Location: United Kingdom

Really sorry if I’m posting in the wrong thread could someone point me to the right location?

Thanks

srvctec
srvctec's picture
Offline
Last seen: 22 hours 14 min ago
Joined: 06/03/2016 - 22:42
Posts: 39
Location: Central Kansas, USA

Earpuller wrote:
Really sorry if I'm posting in the wrong thread could someone point me to the right location? Thanks

 

No worries!!  I just get an email every single time this thread is posted in expecting info on flashing the D4V2.

 

Sorry, I don't know where the D4 thread is since I don't have one.  I'm sure someone will chime in shortly.

srvctec
srvctec's picture
Offline
Last seen: 22 hours 14 min ago
Joined: 06/03/2016 - 22:42
Posts: 39
Location: Central Kansas, USA

Thanks for all the work on this Terry Oregon and especially ZozzV6!!  Ordered my flash kit on Aug. 2nd and it shipped on Aug. 4th, using standard free shipping without tracking.  I received it today but I wasn't expecting it for another week or so, so that's pretty quick to the center of the US in Kansas.  I just flashed both of my D4V2's following the instructions by ZozzV6 using my Note 8.  It was a piece of cake!  Both lights are updated and the bonus is that if there are any F/W updates down the road, I can update as I please.  I just wish I knew how to write code, then I could edit it and personalize Anduril specifically for me.

 

Of course, a huge thank you to Hank and TK for a fantastic light.  I've been a Zebralight fan for years and have EDCed 2 of them (18650 lights) for a couple years now.  The D4V2 is my first Emisar and won't be my last.  It pushed my ZL SC600w mkIII HI out of my pocket when I received it a few weeks ago.

kazibole
Online
Last seen: 4 min 22 sec ago
Joined: 09/01/2012 - 20:24
Posts: 17

Received the flashing kit from Hank today and followed Terry’s instructions. Had my D4v2 updated within minutes. Thanks all!

mattlward
mattlward's picture
Offline
Last seen: 3 hours 22 min ago
Joined: 06/19/2015 - 09:20
Posts: 2513
Location: Illinois, USA
Lux-Perpetua wrote:

What are the minimum requirements for using the Android app? Any specific Android version? Can anyone recommend a cheap Android smartphone to use the flashlight kit with?

I am using an old Samsung S5, the main thing is OTG support and I think either the S5 or S4 was the first in the Samsung line to include OTG support.

EDC rotation:
FW3A, LH351D 3500k
FW3A, SST20 4000k
FW3A, Nichia 4000k sw40 r9080 (favorite light!)
Emisar D4V2, SST20 4000k
Zebralight SC62w

Takuan
Takuan's picture
Offline
Last seen: 1 day 20 hours ago
Joined: 07/29/2019 - 12:02
Posts: 7
Location: New Orleans

My flash kit is on the way from Hank, though my technical aptitude and adeptness is approximately nil. I only have a Mac, so I will try following the instructions posted earlier in the thread by f0xx. I might need some help once I get to the point of using avrdude, though… maybe someone could help me? Smile

f0xx
f0xx's picture
Offline
Last seen: 24 min 49 sec ago
Joined: 02/27/2019 - 18:44
Posts: 239
Location: Near Dallas, Texas
Takuan wrote:
My flash kit is on the way from Hank, though my technical aptitude and adeptness is approximately nil. I only have a Mac, so I will try following the instructions posted earlier in the thread by f0xx. I might need some help once I get to the point of using avrdude, though… maybe someone could help me? Smile

I would be happy to help. Terry Oregon’s instructions on that part are pretty thorough, but if you need some extra pointers or specific help feel free to send me a PM.

Man Without Shadow
Man Without Shadow's picture
Offline
Last seen: 1 hour 13 min ago
Joined: 02/20/2017 - 18:17
Posts: 417
Location: Wisconsin

The truly “tricky” part is resourcing the files, flasher and flashing hardware on your own by reading a bunch of scattered posts that discuss different and hard to reach chips with fidgety wires and disassembling flashlight heads.

This will be really easy. You are given/bought all the correct hardware that is precisely compatible with the chip in the light, and all the software/links for this specific light are also provided.

Access to the chip to flash is a mere touch of the pins to the easy to reach pads/vias. No “tech” work at all.

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...

 

brewster
Offline
Last seen: 4 hours 30 min ago
Joined: 07/19/2019 - 23:29
Posts: 12
Location: Australia

Does anyone know the minimum version of Avrdude that is needed to flash the t1634 chip in the D4V2? The reason for asking is that I may have a simpler installation for Mac OSX than that shown in Reply #34. It is also a much smaller download. But my method only installs version 6.0.1 not version 6.3 as that method does.

Both the OP and Reply #5 suggest that Avrdude version 6.0.1 is sufficient, but I’m unsure if this is actually tested on the D4V2.

I was able to flash the latest Anduril to a BLF Q8 and to a D4S yesterday, with the only hassle being the fiddly wires and the cheap clip I was using.

My pogo pin adapter from Hank is somewhere in transit, but should be here in a week or two. I can check the D4V2 compatibility then.

Assuming my installation works for the D4V2, I’m happy to do it for anyone for the cost of the postage both ways. (Probably only feasible from within Australia.)

My setup: MacBook Pro, early 2013, OSX 10.13.6. (Yeah, I know, all ancient. But it was a retirement gift from my former employer and, unlike me, it is still working.)

Pages