I use the FlexNVM as EEPROM of the chip of MKE15Z256VLH7 to save some data. The first time i can partition successfully using the FLEXNVM_ProgramPartition function(the API of SDK 2.6.0) and the EEPROM is work. But sometimes I need to repartition the FlexNVM to change the size of the EEPROM.
When I used this function(FLEXNVM_ProgramPartition) to partition for the second time, it failed.
The error code returned is kStatus_FTFx_AccessError which from ftfx_command_sequence function.
Can you help me analyze the reasons?