this post was submitted on 12 Aug 2023
24 points (96.2% liked)
flashlight
2946 readers
2 users here now
Portable illumination
Rules:
- Be excellent to each other
- Don't be the reason we need to make more rules
Related:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That worked! thanks ;-)
no clue yet what command line to use to save a backup of my D2 hex file.. suggestions welcome
this is the 3rd time Ive tried to reply.. lemmy keeps losing my posts.. hmmm
As a D2 owner, to confirm a couple of things: My D2 originally shipped with Anduril version number
2021-12-13-0135
as well. Model number0135
was originally namedemisar-d4sv2-tintramp
, and is now namedemisar-2ch
, cf. https://toykeeper.net/torches/fsm/anduril2/MODELS. Over there, it is also specified asattiny1634
.Scrolling down https://toykeeper.net/torches/fsm/anduril2/, you will find the latest
emisar-2ch
version at the bottom, currently indeedanduril.2023-08-07.emisar-2ch.hex
. Over there, you will also still findanduril.2021-12-13.emisar-d4sv2-tintramp.hex
.For instructions specifically for backing up, cf. for example https://anduril.click/flashing/avrdude.html#backing-up.
Usually, I am using ZFlasher AVR via mobile phone (Android), which is very straightforward, but I just checked with avrdude (on Linux), and I had no difficulties with pinging the device, backing up, and updating, while using the instructions over at https://anduril.click/flashing/avrdude.html.
Finally, cf. https://bazaar.launchpad.net/~toykeeper/flashlight-firmware/multi-channel/view/head:/ToyKeeper/spaghetti-monster/anduril/hank-cfg.h to see which modifications Hank lights have from stock Anduril 2. Recently, a couple of functions were allowed in Simple UI, namely ramping toggle as well as aux config and strobe modes.
SOLVED!
Thank you very much!
I was able to successfully ping and backup eeprom and hex file from my D2 with the following commands:
ping:
avrdude -p t1634 -c usbasp -n
backup eeprom:
avrdude -p t1634 -c usbasp -U eeprom:r:desktop/D2eeprom-backup.hex:i
backup D2 stock hex:
avrdude -p t1634 -c usbasp -U flash:r:desktop/oldD2-firmware.hex:i
Thanks!
Great! Those commands are looking just fine. Good to hear that you got this sorted.
Super grateful! Enjoy your weekend ;-)
That's an awesome reference website! Thanks for sharing.
Sure thing!