Clear Filters
Clear Filters

Is there an example Green Hills INTEGRITY target for Embedded Coder and Simulink using the Green Hills MULTI IDE?

12 views (last 30 days)
I am interested in generating and verifying code using Embedded Coder with the Green Hills INTEGRITY Real-Time Operating System (RTOS). In particular, I want to:
1) generate code as a task that will be executed by the RTOS, and
2) verify the code numerical behavior with processor-in-the-loop (PIL) testing.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Dec 2021
Edited: MathWorks Support Team on 13 Dec 2021
A demo kit containing example models, code generation files, a User guide, and a ReadMe on generating code for the INTEGRITY RTOS using the MULTI IDE can be downloaded by running the executable from the Related Documents section of this solution.
The demo kit generates the standard C main function and builds the application as a kernel project with the "-kernel" linker option. The main function is executed by INTEGRITY as a single task. You can also run a PIL simulation of the code using TCP/IP connectivity provided by INTEGRITY. By default, the demo kit uses the INTEGRITY PowerPC Simulator (isimppc.exe) but the kit can be used and has been tested on boards such as the Embedded Planet 8260.
The demo kit was tested with INTEGRITY v5.0.11 and MULTI 5.0 and 6.0
The intent of the demo kit is to provide a working example that end users can use as a base to create their own target solution using Embedded Coder and its PIL APIs shown below:
Note: This solution uses several third-party products to compile and execute the code. Please contact the third-party vendors with questions or information on how to obtain the third-party products.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!