EEPROM emulator corrupts STM32G431KBU6 program
Hi all,
We deployed a lot of devices that have a STM32G431KBU6 controller.
It basically has a foot switch to turn on/off a 12v DC motor and a rotary switch to control the speed.
We use EEPROM emulator to save the speed setting.
If speed setting is different from the stored value and there is no new speed change detected within a minute we store the new value. (to safe unnecessary writes)
Clients mostly only set the speed setting once when they first use the product.
So EEPROM emulated write is almost never done only EEPROM emulated read on start up of the device
Somehow support receives a lot of complains about non responding devices. Only reprogram the device helps. But this is a temporarily fix.
Sometimes clients tell us they had a power outage before these issues appear.
We can not reproduce the issue, maybe because our mains power is very clean?
Can power glitches (12v power jack) cause flash program corruption?
