S32K358 HSE firmware unstable

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

S32K358 HSE firmware unstable

跳至解决方案
608 次查看
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 解答
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 项奖励
回复
5 回复数
588 次查看
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 项奖励
回复
567 次查看
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 项奖励
回复
559 次查看
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 项奖励
回复
557 次查看
HaiHoangSoftware
Contributor III

Thanks for supporting me.

标记 (1)
0 项奖励
回复
400 次查看
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 项奖励
回复