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

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

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

Jump to solution
2,372 Views
香龙朱
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

Labels (1)
0 Kudos
1 Solution
2,131 Views
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

View solution in original post

0 Kudos
3 Replies
2,131 Views
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 Kudos
2,131 Views
香龙朱
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 Kudos
2,132 Views
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 Kudos