<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Model-Based Design Toolbox (MBDT)のトピックHow Can I use RTOS in MBD toolbox for spc5744?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-Can-I-use-RTOS-in-MBD-toolbox-for-spc5744/m-p/761754#M1924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want use some RTOS in my program, such as ucos, FREE rtos. But I don't know how to add it with MBD Toolbox. Is it possible to do this and how ? Any suggestions will be greate helpful for me. Thanks.&lt;/P&gt;&lt;P&gt;您好，我想在我的程序中使用实时操作系统，比如ucos/free rtos， 现在我不知道怎么在MBD toolbox模块组成的程序中添加，结合SPC5744的MBD toolbox，是否可以添加实时操作系统？如果可以，该怎么添加？感谢提供的任何建议。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Jan 2018 01:58:57 GMT</pubDate>
    <dc:creator>剑明肖</dc:creator>
    <dc:date>2018-01-27T01:58:57Z</dc:date>
    <item>
      <title>How Can I use RTOS in MBD toolbox for spc5744?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-Can-I-use-RTOS-in-MBD-toolbox-for-spc5744/m-p/761754#M1924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want use some RTOS in my program, such as ucos, FREE rtos. But I don't know how to add it with MBD Toolbox. Is it possible to do this and how ? Any suggestions will be greate helpful for me. Thanks.&lt;/P&gt;&lt;P&gt;您好，我想在我的程序中使用实时操作系统，比如ucos/free rtos， 现在我不知道怎么在MBD toolbox模块组成的程序中添加，结合SPC5744的MBD toolbox，是否可以添加实时操作系统？如果可以，该怎么添加？感谢提供的任何建议。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 01:58:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-Can-I-use-RTOS-in-MBD-toolbox-for-spc5744/m-p/761754#M1924</guid>
      <dc:creator>剑明肖</dc:creator>
      <dc:date>2018-01-27T01:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I use RTOS in MBD toolbox for spc5744?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-Can-I-use-RTOS-in-MBD-toolbox-for-spc5744/m-p/761755#M1925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You are not the first to ask this - and most likely not the last one!&lt;/P&gt;&lt;P&gt;To be honest with you - i've not tried this so far, but it seems to be an interesting topic. If you are willing&amp;nbsp;to invest your time into this, then we will be more than happy to support&amp;amp;learn with you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, i'm not fully aware of what does it takes to make it run - but i know we&amp;nbsp;might be able to support such mechanism via:&lt;/P&gt;&lt;P&gt;- NXP Toolbox;&lt;/P&gt;&lt;P&gt;- Simulink Coder;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STAGE 1 (easy): copy all RTOS required files (sources + headers + libraries) into the Simulink Code Generation Folder. This can be done via&amp;nbsp;&lt;STRONG&gt;mbd_pnt_user_copy_required_files.m&lt;/STRONG&gt; what is automatically invoked during code generation. Check this for how to:&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/449904#comment-900775" title="https://community.nxp.com/thread/449904#comment-900775"&gt;https://community.nxp.com/thread/449904#comment-900775&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STAGE 2 (tricky): invoke RTOS into the Simulink Model. For this you will have to use 2 basic approaches for custom/legacy code generation.&lt;/P&gt;&lt;UL style="list-style-type: square;"&gt;&lt;LI&gt;Custom S-functions (&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/449904#comment-901737" title="https://community.nxp.com/thread/449904#comment-901737"&gt;https://community.nxp.com/thread/449904#comment-901737&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;Simulink Coder Custom Code insertion block in various parts of the&amp;nbsp;generated code &amp;amp; Simulink functions.&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30371iA6AAF85ECA6A5253/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, at this point i do not know how you could integrate Simulink models with RTOS without building re-writing the TLC behind some of the NXP's toolbox function blocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to have a look here:&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/451648#comment-909339" title="https://community.nxp.com/thread/451648#comment-909339"&gt;https://community.nxp.com/thread/451648#comment-909339&lt;/A&gt;&amp;nbsp; for some additional insights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 08:34:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-Can-I-use-RTOS-in-MBD-toolbox-for-spc5744/m-p/761755#M1925</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2018-01-27T08:34:51Z</dc:date>
    </item>
  </channel>
</rss>

