Is there an example guide on developing an embedded target using Real-Time Workshop?
38 views (last 30 days)
Show older comments
MathWorks Support Team
on 4 Feb 2013
Edited: Xiaojie Qiu
on 24 Sep 2018
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.
Accepted Answer
MathWorks Support Team
on 4 Feb 2013
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:
<http://www.mathworks.com/help/pdf_doc/rtw/rtw_ug.pdf>
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/embedded-coder/supported/index.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.
0 Comments
More Answers (1)
Xiaojie Qiu
on 24 Sep 2018
Edited: Xiaojie Qiu
on 24 Sep 2018
Hello! I'd like to go through this guide, but I couldn't find files concerning Chapter IV and V inside the attachment Embedded_Targets_Development_Guide.zip. Could you please upload these files? Thank you very much!
0 Comments
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!