IAR Systems provides Stack Usage Analysis
Uppsala, Sweden—October 31, 2011—IAR Systems® today announced stack usage analysis functionality in its popular product IAR Embedded Workbench® for ARM®. The stack is a fundamental property of an embedded system. A proper setup of the stack is essential to system stability and reliability. Incorrectly used it may cause your system to wreak havoc in the strangest ways. Calculating the stack space is notoriously hard for all but the smallest embedded systems. Worst case maximum stack depth is very useful information in most embedded projects, as it greatly simplifies estimates of how much stack an application will need.

With stack usage analysis enabled, the linker will accurately calculate the maximum stack usage for each call graph root. A stack usage section will be added to the linker map file, with listings of the particular call chain that results in the maximum stack depth for each call graph root. The tool can also produce this information in XML format for post-processing activities. The compiler will generate this information for each separate C function. If there are indirect calls in your application, you can supply a list of the functions that are possible to call from each indirect call. If the application uses recursion, and for functions in modules that do not have stack usage information, you need to provide this information to the linker. This can be done by using a stack usage control file.

Stack usage analysis is available in IAR Embedded Workbench for ARM v 6.30 and beyond. Evaluation versions of IAR Embedded Workbench for ARM v. 6.30 are available at www.iar.com/downloads
About IAR Systems

IAR Systems is the world’s leading supplier of software tools for developing embedded systems applications. The software enables over 14 000 large and small companies to develop premium products based on 8-, 16-, and 32-bit microcontrollers, mainly in the areas of industrial automation, medical devices, consumer electronics, telecommunication and automotive products. IAR Systems has an extensive network of partners and cooperates with the world’s leading semiconductor vendors. IAR Systems Group AB is listed on NASDAQ OMX Stockholm. For more information, please visit www.iar.com.

Editor's Note:

IAR Systems, IAR Embedded Workbench, C-SPY, visualSTATE, The Code to Success, IAR KickStart Kit, IAR and the logotype of IAR Systems are trademarks or registered trademarks owned by IAR Systems AB. J-Link and J-Trace are trademarks licensed to IAR Systems AB. All other products are trademarks of their respective owners.
 
 
 
» IAR Systems
» Press Releases
» Press Release
Date: 31.10.2011 17:00
Number:
» Contacts
IAR Systems Contact:
Fredrik Medin, Marketing Director, IAR Systems
Tel: +46 18 16 78 00    
E-mail: fredrik.medin@iar.com
» Contact Agency
Catherine Schneider, Mexperts AG
Tel.: +49 89 897361-27    
E-mail: catherine.schneider@mexperts.de
» More Press Releases
07.12.2022 13:00
IAR Systems updates IAR Build and IAR C-SPY Debug Extensions for Visual Studio Code

16.11.2022 13:00
Smaller Code, Higher Performance: Latest IAR Embedded Workbench for RISC-V Leverages CoDense™ from Andes

24.10.2022 14:00
EU Cyber Resilience Act – IAR Systems stands ready to provide Embedded Developers with “Security Made Simple”

17.10.2022 14:00
IAR Systems’ Functional Safety Certified Development Tools for RISC-V support latest SiFive Automotive Solutions

13.09.2022 13:05
IAR Systems fully Supports Renesas RZ/T2 & RZ/N2 Series MPUs for Real-Time Control & Industrial Networking