Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
104 Views

Nios 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:
 

image (1).png

 
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
0 Kudos
1 Reply
Highlighted
Employee
59 Views

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

 

0 Kudos