AnsweredAssumed Answered

EEPROM partitioning in MK20DX256VLL10

Question asked by j b on Aug 22, 2016
Latest reply on Mar 1, 2017 by Carlos Candido

Hey guys. I've had a pile of boards made up using the MK20DX256VLL10 device. At the time the software for these were not complete and now I have found that whenever I call SetFlexRAMFunction() I get an ACCERR error in the FSTAT register. I am correctly checking if the device is already partitioned by checking that GetFlexNVMPartitionCode() returns FLEX_NVM_NOT_PARTITIONED, which it does. I have tried the erase and unlock kinetis commands using a segger Jlink. Both yield the same results.


In the MK20DX256VLH7 device, which I have had the EEPROM working on, this method works.


Looking deeper into it I notice that in the table: 'Flash Commands by Mode' in the datasheet: the usual 0x80: Program Partition command is missing.


Has the MK20DX256VLL10 device got a unique way to partition the EEPROM? The device specification clearly states a 4kB potential EEPROM space:


Any pointers to how to create/use the EEPROM space in this device would be much appreciated


Many thanks,