Renesas RX tools from IAR Systems gain stack usage analysis
“The stack is a fundamental property of an embedded system and incorrectly used it may damage your system and cause it to perform in the strangest ways,” says Micael Borgefeldt, Product Manager at IAR Systems. “With stack usage analysis in IAR Embedded Workbench for RX, we make it possible for developers of RX-based applications to further strengthen stability and reliability in their embedded systems.”
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 in IAR Embedded Workbench for RX, a stack usage section will be added to the linker map file with listings of the maximum stack depth for each call graph root. The analysis process can be customised to take into account such constructs as calls via function pointers and recursion. The output can optionally be generated in XML format for post-processing activities.
In version 2.60 of IAR Embedded Workbench for RX, two new windows have been added in the C-SPY Debugger to easier manage macros. Also included is C-SPY data trace support which enables data trace information from stack operations, data transfers, string operations, arithmetical operations, logical operations, bit operations, FPU and exceptions, to be collected and displayed in C-SPY. This version supports Renesas library format, and is updated with support for the latest RX Renesas devices as well as various new example projects.
IAR Systems; www.iar.com/ewrx