36
submitted 3 months ago* (last edited 3 months ago) by solrize@lemmy.world to c/flashlight@lemmy.world

And, any idea how to use them? 3 pins is perplexing.

top 16 comments
sorted by: hot top controversial new old
[-] j4k3@lemmy.world 12 points 3 months ago* (last edited 3 months ago)
[-] EdibleFriend@lemmy.world 18 points 3 months ago

AAAAH I LOVE YOU FLASHLIGHT LOVING BASTARDS

Seriously every time this group crosses my feed it makes me so goddamn happy. You guys and you're incredible niche little love that you know so much about I fucking love it

[-] al177@lemmy.sdf.org 9 points 3 months ago

Nope.

UPDI used on Atmel micros on Anduril capable flashlights uses a single line for debug and flashing. Much earlier than that, Motorola/Freescale/NXP Coldfire, S12, and some other MCUs used BDM which was also a single wire protocol.

If you want to flash a newer Anduril to this light, look here for hardware and procedures to use those pads.

[-] solrize@lemmy.world 3 points 3 months ago

Wow are you saying this light has updi and a t1616? Nice! I knew that the sp10 pro has that but I had thought the LT1S was older. I just checked my sp10 pro though, and sure enough, it has similar contacts. So this is welcome news. Thanks!

[-] Manfred@lemmy.world 1 points 3 months ago* (last edited 3 months ago)

The programming hardware won't help because the firmware is closed source.

[-] al177@lemmy.sdf.org 1 points 3 months ago

You don't need the original source to program a flashlight. If it's ATTiny based then Anduril has your back.

[-] Manfred@lemmy.world 2 points 3 months ago

I agree. If you are able to define the HW specific part of Anduril for this new model you can create a hex file and flash it.

[-] carzian@lemmy.ml 3 points 3 months ago

Aren't most microcontrollers programmed over UART? AVR has their own one wire programming interface, but neither use clock signals.

[-] j4k3@lemmy.world 1 points 3 months ago

One wire is more for just a few sensors. I think the STmicro stuff has a 1 wire option. At least one of my programmers has a label for it, but with all my hobby stuff, I've never used 1 wire for programming. I have only used it for a temperature sensor as far as I can recall. Everything is either JTAG or UART in my limited experience.

[-] carzian@lemmy.ml 4 points 3 months ago

So there's the OneWire protocol that's for sensors, different microcontrollers will implement a programming protocol using a single wire, which is what I meant.

Jtag has a clock signal, but is generally 5 lines.

My point being that looking for similar trace lengths because one is a clock signal isn't sound advice. All the common protocols either don't use a clock signal, or are more than two lines.

[-] solrize@lemmy.world 3 points 3 months ago

I won't know for sure without doing a reflash, but I think al177 has the right answer: those pads are for the UPDI system on newer AVR's, so this is great news once I can get a UPDI dongle. My D4v2 uses an older chip and 6 contact pads. Thanks for the response though!

[-] zueski@lemm.ee 3 points 3 months ago

Certainly looks like UPDI pads. I have update the firmware on other kinds of flashlights with similar pads. You can try to connect with a test command without trying to reflash. Here is a lot of information on the topic: https://budgetlightforum.com/t/anduril-flashlight-reflash-reference/216942

[-] SammysHP@lemmy.world 3 points 3 months ago

That photo doesn't look like a Sofirn LT1S at all.

[-] solrize@lemmy.world 1 points 3 months ago* (last edited 3 months ago)

Oops you are right, I got the model designations mixed up. It is the one with 1x 21700. LT1 mini? It's not on their site right now, I guess OOS. But I took the pic myself. I hope it comes back since it's a nice light.

Added: I've edited the title, thanks for the catch!

[-] Manfred@lemmy.world 2 points 3 months ago

I just checked my LT1 mini. It looks identical and I can confirm that model number 0622 is the correct firmware.

[-] EmperorHenry@discuss.tchncs.de 1 points 3 months ago

they might be.

this post was submitted on 13 Mar 2024
36 points (97.4% liked)

flashlight

2752 readers
25 users here now

Portable illumination

Rules:

  1. Be excellent to each other
  2. Don't be the reason we need to make more rules

Related:

founded 1 year ago
MODERATORS