s32K31x Flash writing problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

s32K31x Flash writing problem

跳至解决方案
580 次查看
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.

标记 (1)
0 项奖励
回复
1 解答
524 次查看
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 项奖励
回复
3 回复数
555 次查看
xsong
Contributor I

xsong_0-1730287275981.png

 

0 项奖励
回复
525 次查看
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 项奖励
回复
508 次查看
xsong
Contributor I

Hi Daniel

Thank you very much, I will try it.

Regards,

xsong

0 项奖励
回复