What Causes XGATE Software Error Interrupt

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

What Causes XGATE Software Error Interrupt

832 次查看
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

标签 (1)
0 项奖励
回复
3 回复数

540 次查看
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 项奖励
回复

540 次查看
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

540 次查看
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 项奖励
回复