S32K3 MCU Interrupt Vector Table Register Abnormal after 9 times software functional reset

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

S32K3 MCU Interrupt Vector Table Register Abnormal after 9 times software functional reset

跳至解决方案
478 次查看
Shaun666
Contributor II

Hello 

I have a problem for S32K312 MCU software reset function. 

I config functional reset as software reset. when I preform 8 times software reset ,the MCU interrupt vector table VTOR register is normal value as shown below picture.

 

0 项奖励
回复
1 解答
427 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Shaun666,

This is the recovery sequence:

danielmartynek_0-1722502841595.png

danielmartynek_1-1722502940064.png

 

Regards,

Daniel

 

 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
428 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Shaun666,

This is the recovery sequence:

danielmartynek_0-1722502841595.png

danielmartynek_1-1722502940064.png

 

Regards,

Daniel

 

 

 

0 项奖励
回复
444 次查看
Shaun666
Contributor II

image1.png

the VTOR will become to 0x00401000(I re-define the interrupt vector table to this system RAM address), and the PC will jump to 0x00402000(startup function), it is normal.

 

but when I did the 9th time SW reset, the VTOR will become to 0x20400100, and the PC jump to 0x2042012c. it is so strange. 

image2.png

I have an anther ECU(B),the different is that there is HSE FW in the ECU B. even if I did software reset more than 9 times , the VTOR is normal.  you can see the below picture. the VTOR is 0x00401000, and the PC jump to 0x00402000, everything is normal. there is same application and bootloader in the two ECU. the different is bad without HSE and good with HSE only. I don't know why.

image3.png

Can you give some idea for why the interrupt vector table be changed when the reset more than 9 times? thanks.

 

 

0 项奖励
回复