software debug always enter IVOR6trp error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

software debug always enter IVOR6trp error

2,553件の閲覧回数
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,502件の閲覧回数
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,547件の閲覧回数
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,537件の閲覧回数
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,528件の閲覧回数
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