software debug always enter IVOR6trp error

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

software debug always enter IVOR6trp error

2,800 次查看
NXP_Leo
Contributor II

when i debug the software, it always enter the IVOR6trap below and stop here, i can' t understand why?

hardware: mpc5602p,CW11.1,FX

Capture.PNG

0 项奖励
回复
4 回复数

2,749 次查看
NXP_Leo
Contributor II

I have found the root cause that i set the IVOR4 interrupt table to a wrong place.

now it's ok now, thanks very much

0 项奖励
回复

2,794 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

as you can see in the core reference manual:

https://www.nxp.com/webapp/Download?colCode=E200Z0RM

... IVOR6 is triggered when:

lukaszadrapa_0-1634194586830.png

First step is to check core registers SRR0 and ESR to find the root cause:

lukaszadrapa_1-1634194727191.png

Regards,

Lukas

 

0 项奖励
回复

2,784 次查看
NXP_Leo
Contributor II

Hi 

          I record the register data below as you said, it seems that i have no code at the address which error occurs.

ErrorCodeAddress.PNGESR.PNGSPR0.PNG

0 项奖励
回复

2,775 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

OK, so it's not cause, it's effect only. In this case, I would focus on call stack to see which function was executed at that time and make deeper analysis. There's no simple advice for this, more debugging will be needed.

Regards,

Lukas