Article ID: 000085353 Content Type: Product Information & Documentation Last Reviewed: 09/11/2012

How can I see the largest the stack grew during a software execution in the Nios II IDE?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

You can initialize the stack area of memory to be a known value, such as 0xFEEDFACE, with a for loop or the memset() command and then run your program. Once the program is done, you can use the Nios® II IDE Memory window to examine stack memory and determine at which address the last written piece of data (ie. values other than 0xFEEDFACE) is located in the stack. This technique will show you how much the stack grew during the last program execution.

Related Products

This article applies to 1 products

Intel® Programmable Devices