Check if the emulator service failed to initialize for any other reason; if so, assume the emulator physical memory is unformatted or corrupt and erase/re-try initialization.
elseif (error_code != STATUS_OK) {/* Erase the emulated EEPROM memory (assume it is unformatted or * irrecoverably corrupt) */ rww_eeprom_emulator_erase_memory(); rww_eeprom_emulator_init();}
Config BOD to give an early warning to prevent data loss.
configure_bod();
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.