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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.
Volt.Tech
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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