software debug always enter IVOR6trp error

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

software debug always enter IVOR6trp error

1,829 Views
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 Kudos
Reply
4 Replies

1,778 Views
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 Kudos
Reply

1,823 Views
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 Kudos
Reply

1,813 Views
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 Kudos
Reply

1,804 Views
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