Hi folks,
I am triying to use the exception handler that is plugged by default by bios6, however I can not get the traces that are suposed to be triggered once an exception occurs, here is my configuration:
var ExceptionDSP = xdc.useModule('ti.sysbios.family.c64p.Exception');
ExceptionDSP.enablePrint = true;
var Hwi = xdc.useModule('ti.sysbios.family.c64p.Hwi');
Hwi.enableException = true;
ExceptionDSP.nmiHook = '&myIntHookFxn';
In my C source file I am calling the SWE instruction:
asm(" SWE");
Which is supposed to cause an internal exception.
However, the myIntHookFxn()function is not being called, also there are not any traces (from System_printf()) observed.
Do you know if it is possible to test the exception handler with a SWE instruction? If not which is the easiest way to create an NMI or internal excetption?
Regards,
Armando.