What is the default value of FOPT(Flash Option Register) in Flash configuration field

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

What is the default value of FOPT(Flash Option Register) in Flash configuration field

跳至解决方案
2,400 次查看
香龙朱
Contributor II

Hi, all

There's different default value of FOPT. I don't know which is the truth.

In startup_S32K144.S, the default value is 0x7F. And in AN12130.pdf, the default value is 0xFF.

start.PNG

FOPT.PNG

I refer the S32K-RM.pdf. there's no means of FOPT-bit6-bit7.

bit7.PNG

标签 (1)
0 项奖励
1 解答
2,159 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The 0N57U is a final production version and there no boot rom code. Thus the FOPT bits are not used anymore.

The 0N77P was just a pre-production prototype and it differed significantly from the current production version.

Regards,
Daniel

在原帖中查看解决方案

0 项奖励
3 回复数
2,159 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Below is the FOPT register description from 0N77P mask-set RM.

There was Boot Source Selection bit on the first S32K144 protopype mask-set.

Use the AN12130 configuration if you have the production version 0N57U.

pastedImage_1.png

pastedImage_2.png

Regards,

Daniel

0 项奖励
2,159 次查看
香龙朱
Contributor II

Hi, 

Thank you for your support.

But,  I was more confused. my production version is 0N57U, I don't know what's meaning of it. Will it be updated later, or I can keep ordering it for years?

And I also don't know "boot from flash" and "boot from ROM". Maybe "boot from flash" means run my code. what's "boot from ROM"?

0 项奖励
2,160 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The 0N57U is a final production version and there no boot rom code. Thus the FOPT bits are not used anymore.

The 0N77P was just a pre-production prototype and it differed significantly from the current production version.

Regards,
Daniel

0 项奖励