In one of our product, I want to write a bit/byte in EEPROM and after reset I will going to read & write a flag. Can you suggest how I can do this?
nakhtar
Asked: May 12, 20222022-05-12T16:50:29+05:30 2022-05-12T16:50:29+05:30In: Microcontroller
Writing bit/byte in EEPROM
Share
Yes you can use WDT in this case. When power failure detected, WDT will trigger interrupt, in interrupt routine store required bit/byte in EEPROM. Once power retains read EEPROM and based on retrieved bit/byte update flag. Hope this will answer your question.
Yes you can use WDT in this case. When power failure detected, WDT will trigger interrupt, in interrupt routine store required bit/byte in EEPROM.
Once power retains read EEPROM and based on retrieved bit/byte update flag.
Hope this will answer your question.
See less