<?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)のトピックRe: How do I send more than one CAN message?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671759#M391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed your advice....&lt;/P&gt;&lt;P&gt;But...The error message disappears in matlab, but the CAN application SW does not work properly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17942i3040E83608139D24/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Snapshot of CAN application SW monitoring using CANoe&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you sent more than 2 messages using the model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached file below is Application SW for CAN Test.&lt;BR /&gt;Can you check the wrong part of my model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 May 2017 00:07:27 GMT</pubDate>
    <dc:creator>eungsoolee</dc:creator>
    <dc:date>2017-05-10T00:07:27Z</dc:date>
    <item>
      <title>How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671757#M389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I succeeded in sending one CAN message.&lt;BR /&gt;However, an error occurred when trying to send more than two CAN messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20590i428E5E87CCDF9768/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20622i63F328E4B1FCFE3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i send more than one CAN Message.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 08:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671757#M389</guid>
      <dc:creator>eungsoolee</dc:creator>
      <dc:date>2017-05-08T08:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671758#M390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="298042" data-username="eungsoolee" href="https://community.nxp.com/people/eungsoolee"&gt;eungsoo Lee&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Let us try first to get rid of the errors and confirm you can sent more messages using this setup.&lt;/P&gt;&lt;P&gt;Go to your install directory for the toolbox and look for a file called: {install dir}\mctbx_9s12zvm\mctbx_s12zvmc256\mctbx_s12zvmc256\mscripts\&lt;STRONG&gt;mcd_s12zvmc256_block_mscan0_check.p&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This file is responsible for consistency checks. Just rename the file extension from .p -&amp;gt; .none&lt;/P&gt;&lt;P&gt;This hack will prevent Matlab to load the functions for checking the consistencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, reload your model (it would be good to restart the Matlab) and compile. The error msg should be gone. Test your application to see if your get your msg sent over CAN network.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the application works then we can give you a hot fix for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 09:30:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671758#M390</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-08T09:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671759#M391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed your advice....&lt;/P&gt;&lt;P&gt;But...The error message disappears in matlab, but the CAN application SW does not work properly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17942i3040E83608139D24/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Snapshot of CAN application SW monitoring using CANoe&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you sent more than 2 messages using the model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached file below is Application SW for CAN Test.&lt;BR /&gt;Can you check the wrong part of my model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 00:07:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671759#M391</guid>
      <dc:creator>eungsoolee</dc:creator>
      <dc:date>2017-05-10T00:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671760#M392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="298042" data-username="eungsoolee" href="https://community.nxp.com/people/eungsoolee"&gt;eungsoo Lee&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I'm going to have a look - i suspect an issue in the toolbox.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did test it for multiple CAN msgs but from a single&amp;nbsp;buffer. It like a function call that send a new data buffer to be transmitted at each step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give us some time to look in details and we'll come back with a resolution.&lt;/P&gt;&lt;P&gt;Thank you for your patience!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 05:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671760#M392</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-10T05:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671761#M393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eungsoo Lee,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a shot update on this issue. It is logged as&amp;nbsp;&lt;A href="http://sw-jira.freescale.net/browse/AST-606" title="View this issue in JIRA"&gt;AST-606&lt;/A&gt;&amp;nbsp;in our data base and an engineer is currently investigating this to searching for a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your understanding!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 May 2017 10:03:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671761#M393</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-14T10:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671762#M394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eungsoo Lee,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We found the problem and thanks to you &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/eungsoolee"&gt;eungsoolee&lt;/A&gt; we can now provide a hotfix, but first we would like to have your confirmation that works OK on your setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do the following steps:&lt;/P&gt;&lt;P&gt;#1: go to&amp;nbsp;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;..\MCToolbox\mctbx_9s12zvm\mctbx_s12zvmc256\src\c_library\ &lt;/STRONG&gt;folder&lt;/P&gt;&lt;P&gt;#2: make a back-up copy of the&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;STRONG&gt;mscan0_s12zvmc256.c&lt;/STRONG&gt;&lt;/SPAN&gt; file&amp;nbsp;&lt;/P&gt;&lt;P&gt;#3: &lt;STRONG&gt;copy-paste the file attached&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; color: #ff0000;"&gt;mscan0_s12zvmc256.c&lt;/SPAN&gt; file&lt;/STRONG&gt;&amp;nbsp;into this thread that contains the fix to&amp;nbsp;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;..\MCToolbox\mctbx_9s12zvm\mctbx_s12zvmc256\src\c_library\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#4: start Matlab and &lt;STRONG&gt;clean up the previous generated code&lt;/STRONG&gt; (delete the entire folder that was generated for your model)&lt;/P&gt;&lt;P&gt;#5: &lt;STRONG&gt;regenerate the code for your model&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it should work fine.&lt;/P&gt;&lt;P&gt;In addition please find attached a model we used to validate the fix. You may want to adapt it for your setup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18355iE60202099FB4B1CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Once we have your confirmation that everything is fine we can then prepare an official hotfix patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 11:30:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671762#M394</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-16T11:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671763#M395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Eungsoo Lee,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Did you had a chance to test the fix for this issue ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 08:01:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671763#M395</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-18T08:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671764#M396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read your answer.&lt;/P&gt;&lt;P&gt;But I do not have time to test the CAN Module this week.&lt;/P&gt;&lt;P&gt;I will report your response during next week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And there are additional questions.&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;your update file is "mscan0_s12zvmc256.c".&lt;BR /&gt;But my MCU is s12zvmc128.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open the C file, the difference between mscan0_s12zvmc.C and mscan0_s12zvmc256.C is that the function name is the biggest part. Should I test by changing only the function name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;My version of Simulink is 8.5.&lt;BR /&gt;You seem to be using version 8.6&lt;BR /&gt;So... I&amp;nbsp;can not open your file because the version of Simulink is based on 8.6.&lt;BR /&gt;Can you upload it again with different versions?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19594i4E7398E95EA08171/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 03:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671764#M396</guid>
      <dc:creator>eungsoolee</dc:creator>
      <dc:date>2017-05-19T03:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671765#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/eungsoolee"&gt;eungsoolee&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For #1 - it's my mistake i've not been paying attention to your exact target.&lt;/P&gt;&lt;P&gt;Since you are using &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;STRONG&gt;s12zvmc128&lt;/STRONG&gt;, then please use the new file attached &lt;STRONG&gt;mscan0_s12zvm.&lt;/STRONG&gt;c and save it under&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;..\mctbx_9s12zvm\mctbx_s12zvm\src\c_library&lt;/SPAN&gt; folder.&lt;/P&gt;&lt;P&gt;Indeed the differences are minimal but it is recommended to use the new file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For &amp;nbsp;#2 - please find attached a new version of the model.&amp;nbsp;I save it with Simulink 8.4 to avoid any potential opening issues with newer version of Matlab.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20253i0F9EF8C56D78968D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 06:30:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671765#M397</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-19T06:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send more than one CAN message?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671766#M398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the CAN Module Test today.&lt;BR /&gt;And the results is successful.&lt;BR /&gt;I am grateful for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 08:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-send-more-than-one-CAN-message/m-p/671766#M398</guid>
      <dc:creator>eungsoolee</dc:creator>
      <dc:date>2017-05-22T08:00:28Z</dc:date>
    </item>
  </channel>
</rss>

