Hello,
There are some configuration/calibration data we want to be able to save in memory (as we do not have an EEPROM). I'm trying to locate the best place in the MCXN947's memory architecture to do so without changing the current location of our application code (as it stands right now it's from 0x00000000 to
0x001FFFFF) or its allocated size (which seems to be the max of 2mb). You can see where that address range is in the image below.
For the configuration data we would like to save, we would like to be able to overwrite them. In chapter 8 of the reference manual, it mentions the following:
Am I to understand that if I dedicate 8kb of the flash for these configuration values, in order to overwrite them I would first need to erase the full 8kb first? As in, I'd need to set aside flash sections in 8kb tranches at least in order to not mess around with the rest of the flash.
Also, in the first image above, there are sections called Flash Bank 0 IFR 0 and Flash Bank 1 IFR 0. What are those exactly? Can I use them (4 x 8kb sectors) to store the configuration values?
Thank you!