1984589_en-US

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

1984589_en-US

1984589_en-US

s32K31x Flash writing problem

When I was using s32k310 for boot development, I found that I could not write to the flash after 0x440000, and the PEP register of MCRS was set to 1. There would be no such problem if I operated on 0x400000-0x43ffff.

Re: s32K31x Flash writing problem

May I ask how you cleared this SPELOCK register to 0? I tried to clear it but it showed that it was a const modified d value

Re: s32K31x Flash writing problem

Hi Daniel

Thank you very much, I will try it.

Regards,

xsong

Re: s32K31x Flash writing problem

Hi @xsong,

The first half of the 512KB block is protected by super sector locks.

You need to clear the corresponding super sector lock in PFCBLK0_SSPELOCK.

Please check the register before any flash operation at the sectors.


Regards,

Daniel



Re: s32K31x Flash writing problem

xsong_0-1730287275981.png


Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 03:37 PM
Updated by: