Due to a problem in the Intel® Quartus® Prime Pro Edition Software v21.4 and earlier, you may experience Nios® V uC/OS-II program halted during program execution. The event may occur when the following conditions are met:
1. You are using the Nios V uC/OS-II BSP package.
2. You enabled hal.enable_runtime_stack_checking
This is due to the expected behavior of the Nios V program. If alt_sbrk() is called from within a uC/OS-II task, it will trigger an ebreak exception notifying the user of a stack overflow condition and halt the program.
Users may disable the 'hal.enable_runtime_stack_checking' setting in the Nios V uC/OS-II program.
This is scheduled to be fixed in a future release of Intel® Quartus® Prime Edition Software.