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

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

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

Jump to solution
652 Views
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 Kudos
Reply
1 Solution
601 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Shaun666,

This is the recovery sequence:

danielmartynek_0-1722502841595.png

danielmartynek_1-1722502940064.png

 

Regards,

Daniel

 

 

 

View solution in original post

0 Kudos
Reply
2 Replies
602 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Shaun666,

This is the recovery sequence:

danielmartynek_0-1722502841595.png

danielmartynek_1-1722502940064.png

 

Regards,

Daniel

 

 

 

0 Kudos
Reply
618 Views
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 Kudos
Reply