Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

3.2.7.3.1. Nios® II Exception Debugging

To allow easier debugging of Nios® II exceptions, first enable the extra exception information in the Nios® II.
Note: This is already enabled if you have an MMU.
Also you can navigate to Nios® II MegaWizard > Advanced Features Exception Checking > Extra Information Register.
Note: There are other options you can choose, like unimplemented instructions.

When an exception is hit, the cause value in the Nios® II Exception Register can be decoded using the Nios® II Exceptions (In Decreasing Priority Order) table from the Nios® II Processor Reference Handbook.

Note: This table only provides the general cause.