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?
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?
Read less
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