Other Parts Discussed in Thread: SYSBIOS
I am trying to generate the NMI from software and it is not triggering. I have tried both the CSL:
CSL_intcGlobalNmiEnable();
CSL_IPC_genNMIEvent(core);
and directly:
// NMIGR offset of corepac 0.
static const U32 NMIGR0 = 0x02620200;
CSL_intcGlobalNmiEnable();
*(reinterpret_cast<volatile U32*>(NMIGR0 + (4 * core))) = 1;
My latest try was to add
Exception.nmiHook = '&dspExceptionHook';
to the cfg file. It already has
var Exception = xdc.useModule('ti.sysbios.family.c64p.Exception');
Exception.exceptionHook = '&dspExceptionHook';
Any suggestions?