I'v seen this very successful achievement by SammysHP, but this is not within the newbie's reach.
So unless a dedicated easy-to-use flashing kit becomes available, I'll be waiting for a future version of the SC31 Pro, more upgrade-friendly as I suggested in a PM to Barry.
Hey guys, I have a D4V2 with the KR4 driver i bought straight from hank. I was wondering if you guys knew what settings i needed for a PC based update… and if an update came out in the last year? Do we still use the same drivers/software outlined in this thread?
How do I figure out the correct one between the two? I know it has the KR4 driver but is the D4V2ti. I’m assuming it goes by driver and not flashlight model?
D4v2 with XPL-Hi LED can use the FET version (ie. not the NoFET version).
The firmware goes by the driver, not exactly the flashlight model.
I think there was some previous discussion regarding the difference between D4v2.5 and KR4, which I can’t exactly remember (will need to search previous posts or other message threads here in BLF). Both mentioned hex files would be usable on the D4v2 with the KR4 driver… but one may have a few issues (can’t remember exactly though… should be minor issue only)
Hi all
I flashed anduril.2021-01-25.noctigon-kr4.hex on my D4V2 with XP-L HI V3 3A, 5000K, so I believe I do have KR4 driver.
But I cannot configure AUX leds, going into advanced mode does nothing. Not sure if that’s correct then. Any help please ?
Just to retrace the steps from the start (Anduril 2):
do a factory reset first (hold down button while tightening the tailcap until the “exploding” animatino)
switch to Advanced UI: from OFF, do 10H (10 clicks but the 10th click is a “hold”)
configure Aux-LED:
from OFF: do 7 clicks to change the Aux-LED mode (Low -> High -> Blinking -> Off)
or from OFF: do 7H (7 clicks but the 7th click is a “hold”: continue holding will cycle each color / disco / rainbow / voltage)
I have come up with a much simpler way of doing a Mac install on Big Sur that does not need Xcode installed and is much simpler.
These are very minimal and simple instructions.
Open up a terminal window and type the following:
Confirm the installation of the Xcode tools
Let the home-brew system install - this may ask for your password
This will install the avrdude utility
This should have installed everything you need to flash your flashlights. To test that avrdude is installed and running type the following on the terminal window:
avrdude should return a version number.
From here you can install the new version of Anduril on your light following the Windows instructions from the step titled “Testing Communication To The D4V2”
For me this was a as simple as downloading the latest file and running this command line:
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: reading input file "anduril.emisar-d4v2.hex"
avrdude: input file anduril.emisar-d4v2.hex auto detected as Intel Hex
avrdude: writing flash (7926 bytes):
avrdude: error: program enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
I'm using the flashkit from intl-outdoor. I also tried using another USBasp and cable. I was able to flash my D4V2 Ti using Ubuntu with avrdude 6.3 and Zflasher on Android but not my D4V2 Sand.
sudo avrdude -c usbasp -p t1634 -n
avrdude: AVR device initialized and ready to accept instructions
Is there a second source for the pogo pin adapter? Emisar D4V2 / D4SV2 / KR4 reflashing kit seems like you can only pay with an actual Paypal account (as opposed to just via credit card thru paypal) and i don’t have a Paypal acct.
I just got a d4v2 and I’m so happy the driver has the AVR programming pins brought out to the back. I spent so much time writing code and flashing for the old attiny nanjg and similar driver boards for older generation lights and it was such a pain always having to take apart the head to reflash. So I’m looking forward to messing with Anduril without all the pain!
sure. I’m just thinking assembling something that holds the pogo pins perfectly in position and at the correct spacing would be a real challenge, at least for me. I’m fine with circuit design and engineering and i have a bunch of avr programmers, but as soon as it gets a little mechanical I’m uselesss… And using pogo probes that aren’t just right is really frustrating. Thanks for the links tho - good stuff.
Currently reflashing my D4V2 Brass with E21A with what I believe is the KR4 board (it’s white). I wanted to apply some click menu changes to so I tried to rebuild and flash using revision 247 with cfg-noctigon-kr4-nofet.h. Everything built without an issue and loaded to the flashlight except the button no longer lights up either along with the RGB brightness or tracking with the ramp. I assume that’s because the KR4 doesn’t have a lighted button. On a lark I added:
to the top of the cfg-noctigon-kr4-nofet.h but that just gives me errors that BUTTON_LED_DDR, _PIN, _PUE and _PORT are not set when I try to build.
Is there some happy combo of kr4-nofet and d4v2-nofet that’ll restore the backlit button functionality? I didn’t want to try d4v2-nofet without asking because it has a different set of PWM1 levels and a higher discrete floor than has been discussed here in this thread.
The same changes work without issue on my aluminum D4V2 with no backlit button using the cfg-emisar-d4v2.h.
Solution: I figured out that it was version 487 under the fsm branch that had all the necessary code. Running “bzr branch lp:~toykeeper/flashlight-firmware/fsm” caught everything up. Everything works great now. Leaving this in for anyone else who might need the info.
First time updating my D4V2 (I actually believe it’s a D4V2.5 since it’s got the D4V2 with KR4 driver). I see there’s an AVRdude 6.3 out, but can’t get that to run. I also see there’s ZADIG 2.5, is that correct? Lastly, where is the latest version of firmware stored? All I see for my light is D4V2-219. Is this correct? This is the light i have: Emisar D4V2 Ti Quad 18650 High Power LED Flashlight . Once i run it once I’ll be self sufficient but i need a bit of help right now. I do have the flash kit.
Which emitters does your D4V2 Ti with KR4 driver have? Is it a KR4 nofet? If you install the wrong firmware, you could burn out the emitters.
I made some notes, based on oweban’s Mac instructions, for installing avrdude under Ubuntu 18.04 and flashing Anduril 1 on my D4V2 Ti KR4 nofet with E21A emitters: