I am using S32K142EVB /S32K144EVB board along with PE micro debugger for flashing code, every time i am flashing code my data stored in Flash memory/FLEXNVM getting erased. i have changed linker script write reserved memory address, but it still getting erased.
could you please help with this issue, how i can prevent memory erase for specific memory block address.
@Senlent with above setting as you suggested it's erasing the memory
Hi@chhaya13
Show me your test project and your test steps.
Thank You for your response @Senlent, i have tried all solution which mention Documents links shared. but i am still facing issue.
Hi@chhaya13
If your MCU has already been partitioned, you do not need to check this option.
If you enable this option, the debugger will perform the partition operation, which will erase
the data in the MCU.
Hi@chhaya13
Please take a look at below document
https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/td-p/749262