Hi,
I am using SYSBIOS 6.40 and the TMS320F28377.
I understand from the API reference guide, that:
"On the C28x, DSP/BIOS does not support returning from an NMI interrupt when the PIE is enabled and
other interrupts are using the dispatcher."
This explains behaviour that I see in my code. I try to Force an NMI (while I'm in a Timer 0 Swi) and then clear it. However, I can't return to my code. I either go to "void abort(void)" in "Exit.c" or I get a message - I forget exactly what the message says but the code exits and gives some message with an address.
If an NMI occurs I would like to detect it and shutdown my system hardware in a safe manner and do some logging functions before the software exits.
I saw a post related to this for the C6000 family:
http://e2e.ti.com/support/embedded/tirtos/f/355/t/89509.aspx
But can't find any documentation for the C28x.
How do I call some code to shutdown and log stuff if an NMI occurs on the 28377 architecture with SYSBIOS? Also, is there any SYSBIOS application code or documentation about NMIs or exception handling that I can follow? I don't see any documentation about exception handling. I tried to turn on Hwi number 18 (NMI) but app.cfg interface doesn't let me do that.
Thanks,
Rick