Hi@ShaoTianzhi
Does you device is already partitioned or not? you can Read SIM_FCFG1[DEPART]
if yes, please try use mass-erase to restore partition settings first, then partition the flexram and flexvnm.
for example , if you want partition the 2KB FlexRAM as EEPROM and you enable CSEc at same time, only 2KB-512B space can be used as EEPROM, because CSEc will use up to 512B for key storage.