MATLAB, Simulink, and Embedded Coder are now available for STM32 MCUsA joint project between ST and ARM and fully supported by MathWorks enables software developers to create algorithms in MATLAB and Simulink and then target, integrate, debug, and test those models in a Processor In the Loop (PIL) simulation. The generated C code from Embedded Coder runs on an STM32 Evaluation Board and the debugger of the Keil Microcontroller Development Kit (MDK-ARM) interfaces directly with Simulink, further simplifying the code integration.
Embedded Coder generates readable, compact, and fast C and C++ code for use on embedded processors, on-target rapid prototyping boards, and microprocessors used in mass production. It enables additional MATLAB Coder and Simulink Coder configuration options and advanced optimizations for fine-grain control of the generated code’s functions, files, and data. These optimizations improve code efficiency and facilitate integration with legacy code, data types, and calibration parameters used in production.
Embedded Encoder allows incorporation of third-party development environment into the build process to produce an executable for turnkey deployment on an embedded system. It offers built-in support for AUTOSAR and ASAP2 software standards. It also provides traceability reports, code interface documentation, and automated software verification to support DO-178, IEC 61508, and ISO 26262 software development.
Other key features include:
- Storage class, type, and alias definition using Simulink data dictionary capabilities
- Processor-specific code optimization
- Multirate, multitask, and multicore code execution with or without an RTOS
- Code verification, including SIL and PIL testing, custom comments, and code reports with tracing of models to and from code and requirements
A demonstration of the new capabilities will be shown at the Embedded World 2013 event in Nuremberg (26-28 February) on the ARM (4-336), ST (4-140) and MathWorks (4-110) stands.
The new Embedded Coder support is now available in beta form direct from ARM for early adopters and is planned to be made available for general download in April.
Toni McConnel can be reached at Toni@TechRite-Associates.com.