New version of IAR Embedded Workbench for AVR introduces static code analysis and stack usage analysis.
IAR Systems has unveiled version 6.60 of its IAR Embedded Workbench for AVR microcontrollers. The update extends code analysis possibilities with the integration of static code analysis tools and stack usage analysis.
The latest version of IAR Embedded Workbench for AVR adds support for IAR Systems’ static analysis add-on product C-STAT. Completely integrated within the IAR Embedded Workbench IDE, C-STAT can perform numerous checks for compliance with rules as defined by the coding standards MISRA C:2004, MISRA C++:2008 and MISRA C:2012, as well as rules based on CWE (the Common Weakness Enumeration) and CERT C/C++. By using static analysis, developers can identify errors such as memory leaks, access violations, arithmetic errors, and array and string overruns at an early stage to ensure code quality and minimize the impact of errors on the finished product and on the project timeline.
Additionally, the version 6.60 introduces stack usage analysis. Seeing as though the stack is a fundamental property of an embedded application, setting it up properly is essential for ensuring the application’s stability and reliability. However, calculating the stack space is notoriously difficult for all but the smallest of systems. This challenging task can be greatly simplified by granting access to information around the worst case maximum stack depth of the application. Enabling stack usage analysis in IAR Embedded Workbench provides just that, adding listings of the maximum stack depth for each call graph root to the linker map file. The analysis process can be customized to take into account such constructs as calls via function pointers and recursion.
”The new functionality in IAR Embedded Workbench provides great advantages for our customers,” explains Steve Pancoast, Atmel VP of Software Applications, Tools and Development. “Developers can leverage the new analysis possibilities to improve the quality of their code, as well as streamline their development process. Atmel’s strong partnership with IAR Systems gives our customers access to world-leading tools across our entire range of AVR and Atmel | SMART ARM-based microcontrollers and microprocessors.”
IAR Embedded Workbench for AVR is a complete set of high-performance C/C++ tools featuring world-leading code optimizations creating compact, fast performing code. Version 6.60 also features parallel build, which will surely have a major impact on expediting development. Now, the user can optionally set the compiler to run in several processes simultaneously, which can significantly reduce compiler times.