Hello :
When testing the S32K partition function, using the Project for Example to Debug, S32K partition successfully, but the EEPROM is not the size I want, can I restore the EEPROM to Flash?
已解决! 转到解答。
yes ,you can restore the EEPROM to Flash again, but there are some riks.
AN11983 Using the S32K1xx EEPROM Functionality
Hello:
While enabling CSEc,I need to partition all 4KB FlexRAM into EEPROM,and partition 64KB FlexNVM into EEPROM backup.But while enabling Bootloader, I need to partition a portion of FlexNVM into the Bootloader.
So what should I do if I want to Enabling both CSEc and Bootloader? Can I partition 32KB FlexNVM into EEPROM backup,and 32KB for Bootloader?
Can I partition 32KB FlexNVM into EEPROM backup,and 32KB for Bootloader?
Yes, but I recommend you partition the 2KB FlexRAM as EEPROM for expected endurance.
please note, create a new topic or case for your new question next time.
I tried to partition the 2KB FlexRAM as EEPROM,but the function FLASH_DRV_DEFlashPartition return STATUS_ERROR. How can I partition 2KB FlexRAM as EEPROM? Will this have an impact on CSEc?
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.