Visible to Intel only — GUID: wuj1641456461622
Ixiasoft
Visible to Intel only — GUID: wuj1641456461622
Ixiasoft
3.4.4.1. Modifying the Exception Handler
In some very special cases, you can modify the existing HAL exception handler routine or to insert your own interrupt handler for the Nios® V processor. However, in most cases you need not modify the interrupt handler routines for the Nios® V processor for your software application.
Consider the following common issues and important points before you modify or replace the HAL-provided exception handler:
- Interrupt vector address: The interrupt vector address for each Nios® V processor is set by the Board Support Package (BSP) files. You can modify it during BSP configuration in the BSP Editor.
- Modifying the exception handler: The HAL-provided exception handler is robust, reliable, and efficient. Modifying the exception handler could break the HAL-supplied interrupt handling API, and cause problems in the device drivers for other peripherals that use interrupts, such as the UART and the JTAG UART.
You can modify the behaviour of the exception handler to increase overall performance.