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.
Solved! Go to Solution.
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
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
Hi Daniel
Thank you very much, I will try it.
Regards,
xsong