details Back

Integration of the LDRA tool suite and IAR Microcontroller Tool Chains

IAR Embedded Workbench provides a range of capabilities, including full ANSI C compliance, support for embedded C++ as well as host controlled I/O for numerous devices such as STM8, RL78, AVR, MSP430, ARM, … LDRA leverages these capabilities to add static analysis, code coverage to MC/DC and requirement traceability in these resource constrained environments.

IAR Embedded Workbench IDE

The LDRA tool suite has the capability to parse IAR project files and use these project files to speed static analysis efforts by reading include paths, macros and other settings. In addition, the LDRA tool suite can invoke iarbuild and cspybat to build, download and execute on targets or IAR’s simulators. This allows users to perform system and unit tests using the already available IAR infrastructure to provide a head start to developers.

The LDRA tool suite integration allows for these microcontrollers to be used in DO-178B/C and analogous medical and industrial qualification environments. As medical standards have recently pushed medical device vendors to produce test output results to conform to MC/DC certification criteria, these capabilities are increasingly important. As these capabilities are also available in hosted as well as microprocessor based devices, this allows enterprises to standardize on LDRA and IAR as a common set of tools that developers can use to support a variety of devices and target environments.

iar systems 1

Selecting the IAR products using the LDRA tool suite

LDRA’s partnership with IAR has allowed LDRA and IAR to provide seamless solutions to customers test automation needs. For example, the recently completed MSP430 integration takes advantage of IAR’s JTAG I/O capabilities as well as cspybat command line integration tools. IAR’s full featured hardware simulator is also fully supported by LDRA Testbed and TBrun and allows developers to test identical instrumented executables and test harnesses on a target and simulator environment. This can greatly speed developers time to market..

IAR environments that LDRA support out of the box:
  • IAR Embedded Workbench for ARM using semi-hosting
  • IAR Embedded Workbench 8051 Simulator
  • IAR Embedded Workbench ATmega2560 Simulator
  • IAR Embedded Workbench ATmega2560 STK600 Serial
  • IAR Embedded Workbench Cortex-M3 Simulator
  • IAR Embedded Workbench Cortex-M3 STM32F103ZE-SK
  • IAR Embedded Workbench Cortex-M3 STM32F103ZE-SK Serial
  • IAR Embedded Workbench MSP430 Simulator
  • IAR Embedded Workbench MSP430 eZ430
  • IAR Embedded Workbench M32C Simulator
  • IAR Embedded Workbench RL78 Simulator
  • IAR Embedded Workbench for ARM with Micrium OS and Serial IO

iar systems 2

LDRA Integration with IAR Press Release

LDRA has extended the interface between the LDRA tool suite and IAR Embedded Workbench. With support for platforms such as ARM, 8051, AVR, M32C, RL78 MSP430 and their evaluation boards, LDRA provides complete validation and testing capabilities, ensuring that smaller embedded systems based on these architectures can be certified to the IEC 61508 industrial safety, IEC 62304 medical, and DO-178C avionics standards despite limited resources.

Integration Feature

LDRA has a comprehensive set of embedded software development tools that facilitate and enhance the capabilities provided by IAR Embedded Workbench and allow you to create devices that can be used in safety- and mission-critical applications as well as increase quality and reliability by enforcing software development practices and processes.

This article explores the strengths of combining the LDRA tool suite with IAR Embedded Workbench from the point of view of three specific engineers-the safety certification engineer, the hardware engineer and the project manager. For more information click here.