Forum Discussion
jamie_m
New Contributor
5 years agoNios II exception handling
I'm running into an occasional fault on the Nios processor implemented on MAX 10 device that leads to an infinite trap loop:
The above is from file alt_instruction_exception_ entry.c. There is a variable named "cause" that should hold the cause of the exception, however, in my code I see the following:
How do I get it to compile with this definition turned on so that I can get the exception info loaded into the cause variable?
Thanks,
Jamie
1 Reply
- Eliath_G_Intel
Occasional Contributor
Hello Jamie,
First of all, thank you for reaching us,
regarding your issue/request, please refer to page 33 section 3.2.7.3 Run Time Stack Checking And Exception Debugging of the next document.
Regards,
-Eliath Guzman