AN3399, Safeguarding Flash Memory Self-Write Operations
The purpose of this application note is to provide guidance and best practices on how to prevent unintended Flash writes or erasures that can cause minor to catastrophic field failures. Adding Flash programming safeguards to the firmware will reduce the risk of problems and ensure robust field updates. This application note increases firmware robustness through understanding of the potential issues and provides methods to prevent them.
Bootloader, Flash, write, read, erase, verify, PIC24, dsPIC, MCU, DSC, EEPROM, OTA