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

970 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

895 Views
chhaya13
Contributor II

chhaya13_0-1733896384446.png

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

0 Kudos
Reply

891 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@chhaya13

Show me your test project and your test steps.

0 Kudos
Reply

919 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

902 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

936 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply