Preserving FlexNVM on S32K1 between debug cycles

By Jeff H. : Aug 21, 2025 at 10:39 AM (10:39 hours)
Staff: Johnny N. : 4 comments

Is it possible to leave the FlexNVM that is being used as emulated EEPROM untouched when starting a new debug session? I'd like to be able to preserve the FlexNVM data even though the rest of the memory is erased and reprogrammed each time I debug.

Hi

What is the exact S32K device that you are debugging?

-Johnny

S32K118

Hi Jeff,

Please refer to the guide https://www.pemicro.com/downloads/download_file.cfm?download_id=459 on page 17 and 18. You can perform a preserve range from within the S32 IDE. The option is under your PEmicro Debug Configuration.

Johnny