Hi Pablo,
Thank you for your reply. I want to be able to read and save persistent application data at runtime so the Secure Provisioning Tool is not an option.
The main flash banks might be reflashed during firmware updates so using that doesn't seem to be an option either.
Also, a reboot after updating is likewise not possible as this would disrupt execution so this seems to rule out the CFPA which leaves the CMPA.
Looking at AN14259 almost all locations in the CFPA and CMPA appear to have predefined usage so I'm not sure where I can safely write to anyway.
I tried playing with FFR_GetCustKeystoreData/FFR_CustKeystoreWrite and FFR_GetCustomerData/FFR_CustFactoryPageWrite and whilst reads appeared to work, writes seemed to always generate hard faults. Plus I'm guessing at how to use them properly as I'm not aware of an code example for them.
I can't help feeling that I'm missing something as a small user EEPROM like area seems essential for most microcontroller applications. Unfortunately with a nearly 4000 page reference manual its hard to digest all the information.
Best wishes,
Andy