sofirn IF25A - flashing new Andúril 2 - success!

25 posts / 0 new
Last post
flashburn
Offline
Last seen: 4 days 20 hours ago
Joined: 09/21/2020 - 14:18
Posts: 32
sofirn IF25A - flashing new Andúril 2 - success!

So fired up by this thermal thing, I decided to flash the IF25A with the latest Andúril 2.
Now I’ve flashed the original firmware again. It is actually better.

 

Edited by: flashburn on 11/15/2020 - 08:21
SammysHP
SammysHP's picture
Offline
Last seen: 2 hours 19 min ago
Joined: 06/25/2019 - 14:35
Posts: 1041
Location: Germany

You could permanently solder some thin wires to the attiny. Small interface board with pads or a tiny connector glued to the PCB so that it is accessible.

river345
Offline
Last seen: 1 week 2 days ago
Joined: 07/07/2020 - 03:07
Posts: 185

It’s so sad to learn that it’s difficult to flash the IF25A. I brought mine direct from sofirn, but it came with older firmware. I don’t like how the low mode comes on. I wish it had the same version of Anduril that the SP36 came with. Their website saids it did, but that’s not true.

thefreeman
thefreeman's picture
Offline
Last seen: 16 min 15 sec ago
Joined: 01/06/2020 - 09:56
Posts: 984
Location: France

Great that it worked out. Personnaly I solder a solid wire to the base of the spring and pull on it, the IF25’s driver (same construction) came off easily this way.

Now I wonder if I could flash Anduril on it (the stock firmware is proprietary with tint ramping), but I’m stil a bit clueless about firmware flashing.

thefreeman
thefreeman's picture
Offline
Last seen: 16 min 15 sec ago
Joined: 01/06/2020 - 09:56
Posts: 984
Location: France

Ah yes indeed, different MCU, I guess I’ll wait for the mini LT1 project.

Tom E
Tom E's picture
Offline
Last seen: 9 hours 1 min ago
Joined: 08/19/2012 - 08:23
Posts: 14998
Location: LI NY

This is a pretty cool setup! Thanks for sharing!! Would be nice to see pics to help visualize, but the description is pretty good.

There were missing 5K1 resistors?

Tom E
Tom E's picture
Offline
Last seen: 9 hours 1 min ago
Joined: 08/19/2012 - 08:23
Posts: 14998
Location: LI NY

The charging problem of missing resistors sounds like the same issue the LT1 had? I didn't follow that issue closely but they fixed it in newer shipped batches, I understand.

I received my IF25A couple days ago and noticed some messy contaminants on the MCPCB and brass contact button. Cleaned it up well with isop. alcohol and added a 20 AWG bypass that gives it a nice bump with a 40T.

I'll be upgrading Anduril as well but don't think I could take on your flashing mod because of parts, etc.

 

 

Tom E
Tom E's picture
Offline
Last seen: 9 hours 1 min ago
Joined: 08/19/2012 - 08:23
Posts: 14998
Location: LI NY

Nice! Look'n at it now. Any functional changes from TK's Anduril 2? What TK version is it based on?

Not sure if she's got a settled down version yet, but do you plan on keeping them in sync?

Tom E
Tom E's picture
Offline
Last seen: 9 hours 1 min ago
Joined: 08/19/2012 - 08:23
Posts: 14998
Location: LI NY

OK, but by strobe you mean beacon? Can both SOS and beacon can be disabled with compile switches?

As long as I can get batt check and temp check directly back to back, and I don't mind losing beacon and SOS.

VrestoTaylor
VrestoTaylor's picture
Offline
Last seen: 9 hours 50 min ago
Joined: 01/25/2011 - 17:49
Posts: 1101
Location: Slovakia

can be this flashlight reprogrammed to classical modes configuration?i dont like ramping.thanks:)

EDC-Sofirn IF-25A Lh351d, Mezzol X8R-L xhp70 nw, Astrolux ST01 xhp50

Headlamp-Thrunite TH30 nw

Tom E
Tom E's picture
Offline
Last seen: 9 hours 1 min ago
Joined: 08/19/2012 - 08:23
Posts: 14998
Location: LI NY

Thanks! I use git every day. but locally - github is a good solution.

shutterboy
Offline
Last seen: 2 weeks 4 hours ago
Joined: 03/14/2020 - 00:02
Posts: 25

@flashburn could you explain one more time how you got the driver out. In case you have pictures, that would be awesome. I would love to flash a more recent version on this flashlight.

shutterboy
Offline
Last seen: 2 weeks 4 hours ago
Joined: 03/14/2020 - 00:02
Posts: 25

Thank you. It was very nice of you to say that. Also, could you explain the adding the USB-C resistor process?

shutterboy
Offline
Last seen: 2 weeks 4 hours ago
Joined: 03/14/2020 - 00:02
Posts: 25

Thank you. Since you have updated your flashlight, do you know of any known bugs in the default firmware? I know there are additional features in the newer Anduril, but are you aware of any bugs in the stock firmware?

Thanks

StuG_IV
StuG_IV's picture
Offline
Last seen: 1 year 1 month ago
Joined: 08/01/2018 - 09:49
Posts: 7
Location: Italy

So do you reccomend a sofirn IF25A? My aliexpress cart is already 110Euros say no please

Also I see that you also live in italy, do you have any problems receiving flashlights with included batteries?

ME NEW, ME LIKE BIG LIGHT.

river345
Offline
Last seen: 1 week 2 days ago
Joined: 07/07/2020 - 03:07
Posts: 185

Nice to hear you were successful! I’d like to give this a try if I can feel confident about the process.

thornton90
Offline
Last seen: 3 days 19 hours ago
Joined: 03/28/2021 - 11:32
Posts: 12

Which hex file did you use to flash anduril 2, there isnt a dedicated one in the repository?

Bwana
Offline
Last seen: 9 hours 37 min ago
Joined: 02/27/2020 - 06:57
Posts: 519
Location: NEW JERSEY

I got arrested for flashing once

sidpost
Offline
Last seen: 18 hours 9 min ago
Joined: 06/19/2021 - 10:07
Posts: 73
Location: United States

Bwana wrote:
I got arrested for flashing once

 

surprised

allanrps
Offline
Last seen: 1 week 6 days ago
Joined: 11/03/2021 - 02:04
Posts: 18

I want to reflash this light, do you have any tips for going about it? Which pins go where on the driver? A picture would be super helpful. Thanks

flashburn
Offline
Last seen: 4 days 20 hours ago
Joined: 09/21/2020 - 14:18
Posts: 32

Hi Allan.

I do not know the IF25, just the IF25A.

Flashing the IF25A worked with the SP36 hex of Anduril2 from here:
http://toykeeper.net/torches/fsm/anduril2/
The first builds of Anduril2 were not so good, so I reflashed Anduril1 until recently.
“anduril.2021-10-25.sofirn-sp36.hex” is actually quite nice.
The switch light is still configurable, even a bit easier to do so.

The flashing procedure is the usual ATtiny85 procedure decribed many times in the forum.

To reach the pins, you need to unscrew the bezel, then carefully take out the TIR without breaking the standoffs by pulling it straight out. Be careful not to touch the TIR with fingers or anything dirty.
Then unscrew the battery tube and the ring from the switch. Take out the silicone switch cover.
Then desolder the wires to the LED-MCPCB. Be careful, they are silicone and quite easily to destroy the insulation.
Loosen the switch PCB and take out the controller PCB stack by gripping the brass knob from the battery side.
Both PCB are glued into place, so a bit of force is needed to get them moving.
The switch PCB has to be noodled through the head opening.
To access the ATtiny85, the top PCB has to be carefully desoldered and removed. Take note of the orientation of the top PCB, as a mistake here will lead to an explosion later.
After flashing put everything together in reverse order.
Be careful to align the top PCB traces to the traces of the standoff bridge.
To pull the LED wires through the MCPCB, it makes sense to temporarily solder a longer wire to the pack of three and use this to pull the three wires though. Be careful to solder each wire to it’s correct pad. Risk of catastrophic failure here.
There is a notch in the PCB and a peg inside the head to find the correct orientation for the USB socket.
There is no need to glue the PCB in place, as they will be held by screw-on parts anyway.

It is definitely not the easy flash, because of the many dis/assembly steps and the good tools needed, like desoldering pump and a really good soldering iron. Separating the PCB without burning them, soldering on the LED-MCPCB, all need to be well trained skills to make this work.

Good luck! Wink

PS: Aah, forgot, after resoldering the LED wires, clean the LEDs from fume deposits with a jet of pure Isopropyl Alcohol or IPA-Pentane.Cleaning makes the light run less hot and gives visibly more output.

 

thornton90
Offline
Last seen: 3 days 19 hours ago
Joined: 03/28/2021 - 11:32
Posts: 12

Thanks so much for this reply. Glad to hear the sp36 hex works well for it. I plan to use probes to access the chip instead of desoldering the top board. Fingers crossed! I already swapped out the sst20s for some 2700k lh351d and it is great. Definitely want anduril 2 on it though. How is the thermal management with the sp36 hex?

flashburn
Offline
Last seen: 4 days 20 hours ago
Joined: 09/21/2020 - 14:18
Posts: 32

Thermal management on the hardware itself is less than optimal, as it relies only on the ATtiny’s internal sensor. So there is a lot of slack in this: LED heat the head which heats the PCB which heats the ATtiny.

Anduril2 manages to work surprisingly well anyway, if you keep the temperature settings sane.

 

entscheidung
Offline
Last seen: 4 days 6 hours ago
Joined: 12/02/2021 - 03:15
Posts: 1
thornton90 wrote:
Thanks so much for this reply. Glad to hear the sp36 hex works well for it. I plan to use probes to access the chip instead of desoldering the top board. Fingers crossed! I already swapped out the sst20s for some 2700k lh351d and it is great. Definitely want anduril 2 on it though. How is the thermal management with the sp36 hex?

Have you managed to do it with your method? Some pointers would be nice! I just received a new IF25A in the mail and it’s not A2, bummer.

flashburn
Offline
Last seen: 4 days 20 hours ago
Joined: 09/21/2020 - 14:18
Posts: 32

Once open and the ATtiny exposed, it makes sense to solder some very fine silicone wires to the pins and fit a JST-SH www.jst-mfg.com/product/pdf/eng/eSH.pdf connector.
This can then be crammed behind the switch PCB and be pulled out for flashing. Only the ring has to be unsrewed and the switch taken out, something one would do not more than a few times anyway, before being satisfied with the functionality.
I made a programming adapter with a second JST-SH pigtail and two SH sockets soldered together as gender-changer. This way you do not need to make an adapter PCB.