Skip to content
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

Changing version number causes continual reset every power-up - bug #70

Open
BitLoose opened this issue Aug 27, 2022 · 0 comments
Open

Comments

@BitLoose
Copy link

BitLoose commented Aug 27, 2022

Seems to be that a variable is the wrong size:-
Line 4092: uint8_t eeprom_version;
Needs to be:-
uint16_t eeprom_version;
As VERSION requires a 16-bit variable to hold the fixed format serial.
This can cause continual resetting if the version is changed during reprogramming, because the reset code compares the 16-bit VERSION value with the stored 8-bit version, dependant on the serial number set and truncation effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant