AnsweredAssumed Answered

Programming FlexNV EEPROM

Question asked by David Sherman on Oct 6, 2016
Latest reply on Oct 10, 2016 by David Sherman

I have configured the FlexNVM for EEPROM operation and confirmed I can read and write to it.  The question is, how do I initially program the EEPROM when it is flashed?  The arp file implies that it is for program flash, data flash, and EEPROM, but it's not clear how to give the EEPROM initial values at program time and I can't seem to get it to work.  I've set the partition code to use all 64K of FlexNVM for EEPROM backup, and the EEPROM size is 4K.  If I leave the partition code set for data flash, then the arp file programs the data flash.  This is on a KE18F512VLL16.  I've tried locating the EEPROM region at 0x10000000 (flexNVM start) and 0x14000000 (flexRAM start), but the programming step reports an error in either case, and the EEPROM section is blank.


Don't know if it's related, but in KDS 3.2, the option to set the FlexNVM partition code under advanced options in the debug configuration does not appear to work.  I set the configuration by changing the default values in the startup code section.