-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identification of microcontroller and AYAB hardware type/version #106
Comments
This is a tricky issue. Compiling the hardware revision directly into the firmware leads to lots of firmware versions; not great. On some platforms, configuration information can be stored in nonvolatile "EEPROM". This is good, but it can be overwritten when updating firmware. If this approach is used, it's essential that the default value when updating firmware is "no hardware model assigned", rather than some particular hardware version. |
There is other hardware information you might want to save. In the Discord hardware channel, someone suggested calibrating the hall sensor trigger levels as a workaround for 3V/5V VCC levels. |
Would measuring Vcc work for that? |
Yes, it's certainly not the only solution. I'm struggling to remember the context but I think there was also some discussion about the trigger levels possibly varying across machines, e.g. for KH270 which has barely been tested up until now. |
On the ESP32 there is an OTP with 1.7kbit reserved for user data. I don't know if this helps at all with making sense of earlier shield/interface revisions, but that would be a fine place to include the hardware rev info. |
What needs to go into the API -- what does the desktop need to know? As an API issue, this probably needs to go into v1.0. |
Additionally to the firmware version, it might be useful to be able to identify on which hardware the firmware is running.
The API would have to get extended to add that info in the version check.
The text was updated successfully, but these errors were encountered: