What Causes XGATE Software Error Interrupt

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

What Causes XGATE Software Error Interrupt

1,031件の閲覧回数
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 返答(返信)

739件の閲覧回数
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 件の賞賛
返信

739件の閲覧回数
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

739件の閲覧回数
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 件の賞賛
返信