Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

2.1.7.3. Run Time Stack Checking And Exception Debugging

To enable extra exception information, navigate to Nios II MegaWizard > Advanced Features Exception Checking > Extra Information Register; and recompile the HW project and regenerate the BSP in the Nios II SBT for Eclipse.
  1. Enable the Run Time Stack Checking in the BSP project from NIOS II SBT for Eclipce Nios II BSP Editor. From the BSP project, right-click and navigate to Nios II > BSP editor Settings > Advanced > hal > enable_run_time_stack_checking.
  2. Rebuild BSP and software.
  3. Ensure that the FPGA is configured.
  4. Start the Debug Session by navigating to Debug As > Nios II Hardware.
  5. Run the Software.