Part Number: TMS320C6678
Hi,
In a bare-metal application, I'm trying to test by exception handler, using the SWE instruction as trigger, but the NMI handler is never activated.
I suppose I have properly setup the CPU since I'm able to capture normal interrupts:
- I set up the ISTP=handler_table (4K aligned)
- I enable GIE, that is CSR|=1
- I enable NMI: IER|=0x03
If I try to generate an IR4 (with CCS debug), my I4 handler is correctly invoked, while if I execute an SWE, nothing happens.
The CPU is running in Supervisor mode.
Do I miss some initialization? How can generate by SW an NMI or an internal exception?
.