Is there an example guide on developing an embedded target using Real-Time Workshop?
9 views (last 30 days)
I am interested in creating a custom embedded target using Real-Time Workshop that can be embedded on a custom processor. In particular, I would like to understand different methods of embedding my code onto a custom processor, creating a system target file, customizing the makefile and main file, adding compiler, chip, and board specific information, integrating legacy code, creating blocks and libraries, and implementing processor-in-the-loop (PIL) testing.
An example guide on developing a custom embedded target using Real-Time Workshop is available at the bottom of the page. The guide is divided into two parts, one on creating a generic custom target and another on creating a target for the Freescale S12x processor. The instruction guide shows the different options of embedding your code onto a custom processor, creating a system target file, customizing the makefile and main file, adding compiler, chip, and board specific information, integrating legacy code, creating blocks and libraries, and implementing processor-in-the-loop (PIL) testing.
The intent of the guide is to provide an example that end users can refer to along with Real-Time Workshop's Customizing Targets guide:
Refer to Chapter 24 of User Guide for Simulink Coder at the following link:
The intent is not to provide a full-featured and maintained Embedded Target product as may be provided by MathWorks or third-party products listed in supported hardware page:
However if you have questions on this solution, send an e-mail to
Note: This solution uses several third-party products to compile and download the C code to the S12X. Evaluation versions were used but the demo kit also supports full versions of these products. The installation guide identifies the specific releases versions used and provides information with links on how to obtain these products, but these details may change. Contact the third-party vendors with questions or information on how to obtain the third-party products.
More Answers (0)
Is there an example Green Hills INTEGRITY target for Embedded Coder and Simulink using the Green Hills MULTI IDE?
Is there an example Processor-in-the-loop (PIL) implementation for a Permanent Magnet Synchronous Machine Field Oriented Controller running on a Texas Instrument processor using Simulink and Embedded Coder?