s32K31x Flash writing problem

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

s32K31x Flash writing problem

Jump to solution
438 Views
xsong
Contributor I

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.

Tags (1)
0 Kudos
Reply
1 Solution
382 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

 

 

View solution in original post

0 Kudos
Reply
3 Replies
413 Views
xsong
Contributor I

xsong_0-1730287275981.png

 

0 Kudos
Reply
383 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

 

 

0 Kudos
Reply
366 Views
xsong
Contributor I

Hi Daniel

Thank you very much, I will try it.

Regards,

xsong

0 Kudos
Reply