Is there an example Freescale S12X target for Real-Time Workshop and Simulink using the Cosmic Compiler?

8 vues (au cours des 30 derniers jours)
I am interested in generating code using Real-Time Workshop that can be embedded on the Freescale S12X processor. In particular, I want to be able to generate device driver code and integrate that to my model. I would also like to run processor-in-the-loop (PIL) testing to verify the numerical equivalence of results obtained from running my model as code on the embedded processor using Code Generation Verification (CGV).

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 7 Mai 2018
Attached is a demo kit (compatible with R2009a - R2010a) containing example models, code generation files, and an instruction guide on generating code for the Freescale S12X processor using the Cosmic compiler. In addition, you will also need to download third-party files from Cosmic Software at the following URL:
<http://www.cosmic-software.com/downloads/MW/MW_s12x_demo.zip>
The instruction guide explains the steps needed to run the demo that shows how to generate code for the processor and run processor-in-the-loop testing. It also shows how to verify the numerical equivalence of the results from normal simulation and PIL simulation using Code Generation Verification (CGV). A video showing an overview of the demo kit can be found at the following link:
<http://www.mathworks.com/videos/programming-the-freescale-s12x-target-68811.html>
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 the Real-Time Workshop and its Customizing Targets guide:
<http://www.mathworks.com/help/rtw/target-extensions.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
If you are looking for more complete solution for the S12x processor, our partner SimuQuest offers the QuantiPhi product that provides Device Driver Blocksets for the S12x processor. You can find more information at the following page:
<http://www.mathworks.com/products/connections/product_detail/product_35909.html>
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.

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Produits


Version

R2010a

Community Treasure Hunt

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

Start Hunting!

Translated by