Code is Stuck in the Flash initialising Function in S32k144

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

Code is Stuck in the Flash initialising Function in S32k144

768件の閲覧回数
Jeevansagar
Contributor III

Hello,

I am working with the S32K144 EVB and initializing the Flash module at the beginning of my code. However, when the code reaches the function that clears the cache for flash and data flash, it gets stuck. The code doesn’t proceed further unless I manually suspend and resume it from that point.

Can anyone help me resolve this issue?

Screenshot 2025-01-09 182017.png

タグ(1)
0 件の賞賛
返信
1 返信

742件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Jeevansagar,

danielmartynek_0-1736498729523.png

 

The below line should be executed from RAM to avoid these undesired results.

MSCM->OCMDR[0u] |= MSCM_OCMDR_OCM1(0x3u);

 

Regards,

Daniel

0 件の賞賛
返信