Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

Is there an example guide on developing an embedded target using Real-Time Workshop?


Date Last Modified: Thursday, July 1, 2010
Solution ID:   1-BHU00D
Product:   Simulink Coder; Simulink; Embedded Coder
Reported in Release:   R2010a
Platform:   Windows
Operating System:   Windows Any
 

Subject:

Is there an example guide on developing an embedded target using Real-Time Workshop?

Problem Description:

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.

Solution:

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:


http://www.mathworks.com/access/helpdesk/help/toolbox/rtw/ug/bse3b2z.html
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:

http://www.mathworks.com/products/rtwembedded/supportedio.html
However if you have questions on this solution, send an e-mail to

mytarget@mathworks.com
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.

 

Related Documents/Files:

 

Related Solutions:

Please provide feedback to help us improve this Solution
Contact support