NLITE, a free firmware for NANJG drivers

Awesome, thanks so much Doc!

Sirius9: Try luxdrv and set it to 1 mode only in the MODES line:
#define MODES 255

This is an awesome help for a LOT of people out there Dr. TY :-)

Nice selection.
I had the kaidomain clone from KD which had a star to disable memory and thought why is that not the standard?

Could you please add a description which star is #1, 2….,?

awesome work DrJones, this is a very handy resource!

Oh man, I can't find enough free time to play with this :(

DrJones,

thank you very much for your effort and for sharing it with us.

This driver was the reason for me to just buy an isp programmer and a soic clamp, finally.
I read the perfect modes thread more than once and even downloaded some files… but it’s all way above my head.

But now there’s a chance for usable results and then, who knows where curiosity might yet lead me.

Again, thank you.

BTW, the latest QLITE Rev A drivers that I got in from I-O don’t seem to have any lock bits set. I have not tried reading/re-writing the firmware on them, but it should be doable.

great drJones!!! thank you very much!!! :slight_smile:

How do you know that it doesn’t have lock bits set if you didn’t tried reding it :slight_smile:

I read the lock bits and the fuse bits. I didn’t try reading and re-loading the firmware (didn’t want to muck it up if it didn’t work).

If I only know how to do that I would backup genuine SW immediately (also if I had new Qlite) :smiley:
so, in the name of BLF progress please do download that SW :stuck_out_tongue:
Thank you and God bless you :bigsmile:

+1

Thanks Dr. Jones!

BTW, is there any danger in flashing the driver in the assembled flashlight (with the LED connected to driver)?

I do it all the time. Note that if the star connected to pin 5 of the processor is connected you cannot flash the firmware.

Noted, thanks!

I just wanted to take a second to thank you for this! Even though I program my own drivers, this is actually a great option for some hunting lights that I will be building for friends. This will give me the ability to provide them with 4 brightness options with no memory (when out in the woods on a dark morning, moonlight is a great mode to always start on). If later they want to add memory and get rid of moonlight, I won't need to remove the driver and reflash it.

Does this still retain the low-voltage detection?

I've had a hard time setting a moonlight mode on my drivers, especially with that high of PWM frequency. It does vary per LED type, so it was always trial and error until I got the PWM level right. We'll see how this works with an XM-L2.

I'm glad it proves useful :)

Yes, it has low-battery stepdown at 3V under load, like most of my drivers.

Thanks DrJones!

This setup is really great - much better than standard Nanjg. Bit selection is much better instead of 3 predetermined groups prepared by programmer.

By no memory, you mean it will reset back to mode 1 after use, right? What criteria do you use for the memory reset?

Yes, returns to mode 1 after a mode was used for >1s (on-time memory).