AnsweredAssumed Answered

FlexNVM partition code for MK20FX512

Question asked by Simon Haines on Jul 28, 2016
Latest reply on Jul 28, 2016 by Kerry Zhou

I am partitioning the FlexNVM module on my MK20FX chip, and am using Processor Expert to help me with the required configuration.


The parametrics for the part says that it has 16K of EEPROM. Assuming I want to use the entire FlexNVM for EEE (EEPROM backup size is 512KB) and split the subsystems 1/2 and 2/2, Processor Expert is advising me that the partition code is 0x07 and the data set size value is 0x30. However the reference manual for the part (document number  K20P144M120SF3RM, Rev. 3 November 2014, table 30-4, p. 743) states that using a DEPART value of 0b0111 is reserved. A data set size value of 0x30 (0b110000) correctly has the EEESIZE value as 16K, but sets the EESPLIT values, which the reference manual (table 30-2, p. 742) says: 'This read-only bitfield is reserved and each bit will always be read as one'.


I want to use these values for my P&E MultiLink to partition the FlexNVM as per this FAQ, but I don't want to damage the EEPROM by partitioning with invalid codes.