Search FAQs on the left to see if your question has been answered. Click on the dropdown to view all of the documents associated with the product. If you can't find your question, click on Ask a Question.

ADUC8xx: What if power supply fails during a program or erase of the Flash/EE?

What happens if the power supply falls during a program or erase of the
Flash/EE data
memory?

 

If the power supply falls below 2.7V during a Flash/EE program or erase
instruction then the core
cannot guarantee that the instruction will execute correctly.
Also, because the Flash/EE program or erase instruction takes much longer than
a typical
instruction, the time required to respond to interrupts can be greatly
increased if the interrupt
occurs during a flash/EE program or erase instruction.
For instance, if a power-supply-monitor (PSM) interrupt occurs during a
Flash/EE program or
erase instruction, it will only be processed after the instruction is complete.
In this way, the PSM
can be used to indicate when power has dropped below a specified threshold
during a Flash/EE
program or erase instruction, thereby indicating that the instruction may not
have executed
correctly
Comments
Anonymous
Related