FLASH and FlexNVM data getting erased after flashing new app through PE micro debugger

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FLASH and FlexNVM data getting erased after flashing new app through PE micro debugger

966 Views
chhaya13
Contributor II

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.

0 Kudos
Reply
5 Replies

891 Views
chhaya13
Contributor II

chhaya13_0-1733896384446.png

@Senlent with above setting as you suggested it's erasing the memory 

0 Kudos
Reply

887 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@chhaya13

Show me your test project and your test steps.

0 Kudos
Reply

915 Views
chhaya13
Contributor II

Thank You for your response @Senlent, i have tried all solution which mention Documents links shared. but i am still facing issue.

chhaya13_0-1733835948648.png

chhaya13_1-1733835976605.png

 

0 Kudos
Reply

898 Views
Senlent
NXP TechSupport
NXP TechSupport

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.

Senlent_0-1733884465479.png

 

0 Kudos
Reply

932 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply