S32K358 HSE firmware unstable

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

S32K358 HSE firmware unstable

ソリューションへジャンプ
607件の閲覧回数
HaiHoangSoftware
Contributor III

Hi,

We are have an issue with the secure boot configuration.

1. After set BOOT_SEQ to 1 the value at 0x400000 is 1 and the FSR report 0x0B600000 as normal

HaiHoangSoftware_0-1753257384760.png

HaiHoangSoftware_1-1753257440958.png

2. After install SMR and reset, I attach the debugger and the BOOT_SEQ return 0 and FSR report 0x00000000 which is ABNORMAL

HaiHoangSoftware_2-1753258163407.png

HaiHoangSoftware_3-1753258222524.png

I executed the script to do the HSE handshake and reset target board 2/3 times, the FSR value is 0x0F600000 which is normal.

It means the HSE is still exist and works but unstable

Is there any reason for this?

 

0 件の賞賛
返信
1 解決策
398件の閲覧回数
HaiHoangSoftware
Contributor III

I find out that after configure the SMR, functional reset must be used instead of destructive reset. After changing to functional reset, the HSE Firmware works well.

We can close this topic.

https://community.nxp.com/t5/S32K/s32k3-hse-basic-secure-boot-protect-problem/m-p/1943667

HaiHoangSoftware_0-1753954706382.png

 

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
587件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @HaiHoangSoftware 

If FSR register remains 0x00000000 even after about 1s after reset, it means that HSE firmware has not been started at all. What can you see in GSR register? Is bit 0 set? And what can you see in HSE GPR register at 0x4039_C028?

It's unusual that BOOT_SEQ is changed back to 0. HSE FW or SBAF is not supposed to do that. Isn't that changed by your application?

Regards,
Lukas

0 件の賞賛
返信
566件の閲覧回数
HaiHoangSoftware
Contributor III

Hi,

Our application does not change BOOT_SEQ to 0.

We did test on several boards, but only 1/2 boards got this issue.

Here is the GPR register value

HaiHoangSoftware_0-1753426558530.png

GSR value is 0

HaiHoangSoftware_1-1753426610399.png

 

タグ(3)
0 件の賞賛
返信
558件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Could you please discuss this issue with local NXP FAE assigned to you? Or just create new ticket here:

https://support.nxp.com/s/?language=en_US

... and it will be forwarded to them. Thank you. 

0 件の賞賛
返信
556件の閲覧回数
HaiHoangSoftware
Contributor III

Thanks for supporting me.

タグ(1)
0 件の賞賛
返信
399件の閲覧回数
HaiHoangSoftware
Contributor III

I find out that after configure the SMR, functional reset must be used instead of destructive reset. After changing to functional reset, the HSE Firmware works well.

We can close this topic.

https://community.nxp.com/t5/S32K/s32k3-hse-basic-secure-boot-protect-problem/m-p/1943667

HaiHoangSoftware_0-1753954706382.png

 

0 件の賞賛
返信