Nios® V Processor Software Developer Handbook

ID 743810
Date 4/01/2024
Public
Document Table of Contents

8.7.4.1. Enable JTAG UART polling operation

To disable the interrupt mode, enable the polling mode to avoid the interrupt mode’s exception. By enabling the polling operation, you can enable the instruction exception handler function as shown in Example of Instruction-Related Exception Handler. You can enable the polling driver can via niosv-bsp by executing the following command below.
niosv - bsp - u - e = "set_setting 
  altera_avalon_jtag_uart_driver.enable_small_driver {1}"
bsp / settings.bsp
Note: Polling mode has reduced performance compared to the interrupt mode. Therefore, polling mode is only suitable for debugging or applications where size efficiency is more important than performance.