Article ID: 000089058 Content Type: Error Messages Last Reviewed: 04/04/2023

Why does the Nios® V Micrium MicroC/OS-II(uC/OS-II) program halted during program execution?

Environment

    Intel® Quartus® Prime Pro Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

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.

Resolution

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.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1