usdx icon indicating copy to clipboard operation
usdx copied to clipboard

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

Open BitLoose opened this issue 2 years ago • 0 comments

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.

BitLoose avatar Aug 27 '22 14:08 BitLoose