Hi!
I observed the following situation during debugging on TMS320DM648:
A code running in TSK context takes a branch to a non-existent memory location because of a bug. An internal exception occurs and BIOS EXC module calls a custom function with an infinite 'while(1);' loop. A debugger is connected afterwards and the system registers are analyzed.
It was observed that INT flag in ETSR/NTSR register is raised which means that an interrupt was processing when the exception was taken, although I am pretty sure that the exception was caused by a code running in TSK context. In that case INT flag must be zero but it is not.
How could it happen? Is there any explanation of such a behaviour?
Regards,
Vlad