Bob Simpson

Bean based flash erase and events

Discussion created by Bob Simpson on Oct 28, 2008
Latest reply on Nov 11, 2008 by Processor Expert
I'm running CW 8.1.1a. developing for a 56F8323.

I have enabled events, (NV_RAM_EnableEvent():smileywink:  and I am trying to do a sector erase (err = NV_RAM_EraseSector(NVRAM_ADDR + (i * DATA_FLASH_SECTOR_SIZE)):smileywink:

Would I expect an "OnWriteEnd" event at the end of that erase or is the return an indication it is finish?  If not, what gives me the finished go-ahead to use an erased sector?