Is there a way to directly access memory locations to store configuration data during power off. It seems like this can be done with the DMA and FEE stuff but I think that is overly complicated for what is needed.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Sorry, I misunderstood the original question. You cannot write directly to the flash, but you don't necessarily need all of the overhead of the FEE. If the variables are changing periodically, you may want to use the FEE to handle the updates and erase that may be required. You must use the F021 Flash API to program the internal flash.
No, the F021 files you need are in the F021 Flash API. UniFlash and nowFlash use the API to create their executables, but you need the library and header file.
Thanks for the help Bob.
I was able to get the project to build and start debugging but there seems to be a problem with the FEE initialization. The MainFunction, delay, GetStatus do-while loop always returns uninit so it never gets to the write and read portions.
I was not getting any errors that I'm aware of. As it turns out I was using the wrong library file from the API, once I found the correct file I was able to get it working.
Thank you for all the help.