The IAR Embedded Workbench toolchain for Texas Instruments’ ultra-low-power MSP430 MCU gains static code and analysis via the add-on product C-STAT, along side the stack usage analysis and faster build times through parallel build.
Stack usage analysis provides details on the maximum stack depth in an application. Calculating the stack space is notoriously hard for all but the smallest embedded systems. This fact makes worst-case maximum stack depth very useful information in most embedded projects. Using the stack information now available greatly simplifies estimations of how much stack an application will need. Enabling stack usage analysis in IAR Embedded Workbench for MSP430 MCUs adds a stack usage section 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.
Static code analysis performs source code level checks that can help developers detect potential code errors in complex applications and ensure compliance with coding standards for embedded applications in various segments. C-STAT is a powerful static analysis tool that executes fast and provides analysis results directly in the IAR Embedded Workbench IDE. It checks compliance with rules as defined by the coding standards MISRA C:2004, MISRA C++:2008 and MISRA C:2012, as well as hundreds of rules based on for example CWE (the Common Weakness Enumeration) and CERT C/C++. C-STAT is available as an add-on product.
To speed up build times, the user can now set the compiler to run in several parallel processes and make better use of the available processor cores in the PC. This feature can have a major impact on reducing the build times of the compiler.
In the debugger, the new version adds advanced mode in the Advanced Cycle Counter.
IAR Systems; www.iar.com/ew430