What Causes XGATE Software Error Interrupt

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

What Causes XGATE Software Error Interrupt

757 Views
zegeyealemu
Contributor III

Hi All,

 

I have been trying to include XGATE on an existing project to offload tasks from the CPU. When I run example projects that are standalone, it works well. However, when I add XGATE functionality on to my project, any interrupt I assign to be handled by XGATE generates a CPU Interrupt "XGATE software error interrupt" at Vector base + $16. Can someone let me know what type of coding violation causes this interrupt to be launched?

 

Thanks in advance for your help.

 

Best regards,

Ziggy

Labels (1)
0 Kudos
3 Replies

465 Views
zegeyealemu
Contributor III

I am looking into Memory Protection Unit status and debug registers. It seems that there is some type of access violation that has been exercised.

0 Kudos

465 Views
HSW
NXP Employee
NXP Employee

Which version of the XGATE are you using?

For the XGATEV2 (i.e. S12XA/S12XB/S12XD families) there is an application note which lists all causes of XGATE software errors in detail:

AN3555 - Investigating XGATE Software Errors

http://www.freescale.com/files/microcontrollers/doc/app_note/AN3555.pdf

465 Views
zegeyealemu
Contributor III

Thank you very much. Very helpful document. Have not gone through it thoroughly yet. It addresses the V2 XGATE core. The one I use is XGATEV3 (HCS12E devices).

Thanks again for your time and help.

0 Kudos