s32K31x Flash writing problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

s32K31x Flash writing problem

ソリューションへジャンプ
581件の閲覧回数
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 解決策
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 件の賞賛
返信
3 返答(返信)
556件の閲覧回数
xsong
Contributor I

xsong_0-1730287275981.png

 

0 件の賞賛
返信
526件の閲覧回数
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 件の賞賛
返信
509件の閲覧回数
xsong
Contributor I

Hi Daniel

Thank you very much, I will try it.

Regards,

xsong

0 件の賞賛
返信