AB SWAP question S32K312

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

AB SWAP question S32K312

53 Views
scott071209
Contributor II

软件停留在SRAM区域,看起来是HSE启动了Recovery mode,导致软件一直在WFI状态。

现在客户流程大体是boot_1-boot_2-app,会有两级跳入,boot_1不会进行更新。客户如果单独A区更新boot_2的时候,之后AB swap,reset调试没有问题。

但是发现A区单独更新APP时候,偶尔会AB swap 跳转不成功reset后通讯正常。

这两天客户排查如下进展(图片截图比较多,还请查收如下邮件)

1.发现还是0X2040012e,对对应一个变量,查了DCMROD3/DCMROD4没有发现ECC错误。

2.和客户查如下进展,现在怀疑是进入recovery 模式

0 Kudos
Reply
1 Reply

11 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @scott071209 

 

First of all, here are possible reasons for recovery  mode from S32K3 reference manual:

lukaszadrapa_0-1781693464406.png

And here from HSE FW reference manual:

lukaszadrapa_1-1781693472859.png

Do you use secure boot?

Is there the same boot_1 in both partitions? Is there valid IVT in both partitions?

Are there more than 8 resets? Did you check the reset signal by an oscilloscope?

 

Could you please provide more details about this sentence?

“However, it has been observed that when updating the app separately in area A, the AB swap transition occasionally fails, although communication is normal after a reset.”

 

How does it fail exactly?

 

Regards,

Lukas

0 Kudos
Reply