No, I do not yet know the correct command line syntax
I would welcome any help.. here is the backstory:
I bought Hank’s programmer and am trying to learn how to ping the D2…
I dont have an Android phone, and cannot use avrdude on my iMac. I use pymcuprog and issue commands through Terminal in my iMac, to reflash Anduril on my Wurkkos TS10 successfuly.
when I use the gchart programmers for my TS10, I use this command line, that works very well:
Im trying to figure out what command line to use for the Emisar D2? I think it uses a 1634 chip? I believe I need this info to edit the command line where it says attiny1616. Is that true, or does the D2 use attiny1616?
when I plug the Hank programmer into my iMac, with the pogo pins connected to the head of my D2, and I run this command in Terminal:
ls /dev/{tty,cu}.*
the response is
tty.Bluetooth-Incoming-Port
I believe I need that info to tell pymcuprog to use the Hank programmer..
so I took a couple of guesses and modified the command line to ping the D2 like this:
(apparently my pymcuprog install does not include attiny1634)
Do you have any suggestions what the correct command line would be, to ping my Emisar D2?
Once I get that sorted, I will have the Option to also reflash to newer firmware, but that is not my priority. I just want to backup my existing firmware with my eeprom settings.
I dont really want to update to newer D2 firmware, that uses 3C for channel switching. I can switch channels on my D2 using 3H, and I like it that way.
It means I dont have to relearn a different command for my D2, when I want to switch from smooth to stepped ramping. This keeps 3C consistent with my other Anduril lights.
I don't have a D2, but I assume that it uses a T1634 just like a D4V2. I believe that pymcuprog is for UDPI programmers, and your Hank programmer is USBasp which requires avrdude for programming. I realize that this post is for Windows, but it covers command-line usage of avrdude. It might help. I'm kind of shocked that I don't already have this documented somewhere, but I've been using zFlasher on Android for quite a while. It can handle UDPI and USBasp programmers.
As a side note, I believe that Hank uses a custom version of Anduril 2 for his lights. For example, I think that he exposes more of the "advanced" features in the Simple UI than ToyKeeper does. Of course, that's the beauty of open-source software. You can customize it. In any case, my point is that you can keep current with Anduril 2 while also customizing it for your preferences if you're willing to learn to modify the code. I've gotten to the point where I just stick with stock Anduril 2 in most cases.