This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to install exception handler for DSP

Other Parts Discussed in Thread: SYSBIOS

Hi,

I have installed exception handler for M4 using following way.

 Void Utils_exceptionHookFxn(ti_sysbios_family_arm_m3_Hwi_ExcContext *excCtx)

where about function is registered in .cfg file as below

/* Exception hook function */
var HwiM3       = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');

/* enable print of exception handing info */
HwiM3.enableException = true;
HwiM3.excHookFunc = '&Utils_exceptionHookFxn';

Again how to install XDC run time handler for DSP. I have done same for M3 as below

Void Utils_errorRaiseHook(Error_Block *eb)

Above function is registered in .cfg file as

/* XDC runtime function */
var Error = xdc.useModule("xdc.runtime.Error");
Error.raiseHook = "&Utils_errorRaiseHook";

Regards,

Hardik Shah