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
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.
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
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.