S32K312-Operation priority of lock sector

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

S32K312-Operation priority of lock sector

Jump to solution
198 Views
Simon-Liu
Contributor V

Hello

I learned that if you want to program or erase the Sector in Flash, you need to unlock it first, and use the function C40_Ip_ClearLock when unlocking.
So is the order to unlock a Sector like this:
1. First determine whether the current sector is locked.
2. If locked, first determine whether the Block where the Sector is located is locked by the incoming Master.
3. If it is locked by the current Master, lock this Sector.
Is the above understanding of the locking steps for a Sector correct?

In addition, how to change the Master that locks the Block?

Can Sectors in the same Block be locked by different Masters?

 

BestRegards

Simon

0 Kudos
1 Solution
189 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Simon-Liu 

See application note AN13388: S32K3 Memory Guide. This provides more information about flash read and write operations and some SW recommendations.

 

B.R.

VaneB

View solution in original post

2 Replies
190 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Simon-Liu 

See application note AN13388: S32K3 Memory Guide. This provides more information about flash read and write operations and some SW recommendations.

 

B.R.

VaneB

172 Views
Simon-Liu
Contributor V

Hi, @VaneB 

Thank you for your answer, I will refer to the document.

 

BestRegards,

Simon

0 Kudos