Sofirn SC21 mini

I just got my SC21 Pro in today and can confirm that it’s using the attiny1616 since I was able to successfully ping, read, and write with pymcuprog.

Does anyone have any ideas about what firmware might work on it? Maybe the SP36-1616 build?

Yay!

I look forward to your Anduril 2 installation success.

Anduril 1 was never ported to the 1616 officially, so I wonder which firmware they use.

Okay guys, I’ve tried the 1616 builds for the following all without success:

Sp36: light will turn on but ramping is extremely slow

Q8: light will turn on but flashes between turbo and different levels while ramping.

Sp10: light comes on immediately after connecting battery. Button won’t work

Any ideas?

thanks for being the Lead Scout.

does an SP10 Pro driver work in the SC21 Pro? :innocent:

Can you share the original firmware dump that you hopefully made before messing with the driver? We need the build ID to know what was used. Have you checked the version information before updating it?

I thought it should be the SP36 firmware, but I could be wrong.

Here’s the hex file the I dumped. The version readout was 20210113.

It’s possible it’s using the sp36 firmware. Are fuse values still a thing on the attiny1616? Maybe something like CKDIV8 is making the ramp slow. I’ve had that issue with Lume1 drivers in the past. Any tips on changing fuse values using pymcuprog?

Okay, I figured out how to read fuses and this is what’s currently on the light:

Can anyone read the fuses from their sp36-1616 to compare? I only own the t85 version

Thank you. -This is already Anduril 2 as far as I can see from disassembling and analyzing the file. But it’s a very early build. I guess it’s a development build from gchart with a SP36-like configuration as the tinyavr port was merged much later.

Actually I’m mostly sure it is a build based on this revision: https://bazaar.launchpad.net/~toykeeper/flashlight-firmware/anduril2/files/579.1.7/ToyKeeper/spaghetti-monster/anduril-

Maybe not, see below.

Very interesting. It acts so much like Anduril 1. No simple mode and 4C from on goes into ramp config. Is this consistent with early builds of Anduril 2?

No, Anduril 2 had simple UI from the beginning. Very strange.

This entire time I’ve been trying anduril.2021-12-13.sofirn-sp36-t1616.hex and getting the slow ramping, but I just tried anduril.2021-08-31.sofirn-sp36-t1616.hex and it works!!

APPLAUSE)!!

Looking forward to learning how to do that for mine.

question
does that build have the double flash midramp… cause if it does, Im out

Now I’ve checked the complete callgraph and it appears to be Anduril 1, indeed. Weird.

The real question is who made an Anduril 1 build for the SP36-1616 and why did Sofirn use that on this light

The real question is

Can I replace Anduril 1 w Anduril 2 on my SC21 Pro, Without getting a double flash midramp?

The SP36 build from 8/31 doesn’t have the flash mid-ramp.

Im IN!

Congrats and thanks of placing the anchor bolts on the route

Im ready to learn to climb Reflash Mountain

I have the pogo adapter from gchart, and all the software he helped me load… what do I do now? :student:

Also, I recall the mid-ramp flash was intentionally programmed in. It is intended to alert the user when switching channels.

If you are comfortable with coding and compiling, you can probably edit the flash or flashes in the ramp out of any version of Anduril 1 or 2.

Personally, I agree that a smooth ramp without any flashes is best. The only point of knowing when you’re switching channels would be to get an idea of when efficiency drops as you go to FET. With that knowledge you could fine-tune your output to stop just before you hit that point. However, in practice this does not work as the default ramp speed of 2 seconds is far too fast to provide any meaningful fine-tuning around channel switches.