<?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>FreeMASTER中的主题 writing variables problem</title>
    <link>https://community.nxp.com/t5/FreeMASTER/writing-variables-problem/m-p/1069183#M297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to write variables in Variable Watch by CAN communication.Sometimes it&amp;nbsp; succeeds ,while it often fails to set the variable value.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="222.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105329i5E8E78A0F9A44B4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="222.bmp" alt="222.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am sure that FreeMASTER&amp;nbsp;&lt;SPAN&gt;CAN communication is OK because reading variables is OK.Can you help me solve the writing variables problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2020 10:18:35 GMT</pubDate>
    <dc:creator>hjhjhj</dc:creator>
    <dc:date>2020-05-25T10:18:35Z</dc:date>
    <item>
      <title>writing variables problem</title>
      <link>https://community.nxp.com/t5/FreeMASTER/writing-variables-problem/m-p/1069183#M297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to write variables in Variable Watch by CAN communication.Sometimes it&amp;nbsp; succeeds ,while it often fails to set the variable value.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="222.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105329i5E8E78A0F9A44B4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="222.bmp" alt="222.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am sure that FreeMASTER&amp;nbsp;&lt;SPAN&gt;CAN communication is OK because reading variables is OK.Can you help me solve the writing variables problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2020 10:18:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/writing-variables-problem/m-p/1069183#M297</guid>
      <dc:creator>hjhjhj</dc:creator>
      <dc:date>2020-05-25T10:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: writing variables problem</title>
      <link>https://community.nxp.com/t5/FreeMASTER/writing-variables-problem/m-p/1069184#M298</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;can you tell&amp;nbsp;if you use the interrupt-driven or polling mode of FreeMASTER communication?&amp;nbsp;You say that&amp;nbsp;reading is 100% successful while writing often fails on communication timeout... This could be an issue that the&amp;nbsp;FMSTR_Poll is not called fast enough in polling mode. In interrupt mode, it could also happen if the application would be disabling interrupts for long time. The Write command takes slightly longer time to process than the Read command - which could make the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue could be also caused by wrong bus termination or imprecise clock. Can you try to lower the communication speed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also: does the failure occurs also with the FreeMASTER test application included in FreeMASTER driver?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2020 10:34:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/writing-variables-problem/m-p/1069184#M298</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2020-05-25T10:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: writing variables problem</title>
      <link>https://community.nxp.com/t5/FreeMASTER/writing-variables-problem/m-p/1069185#M299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, have you&amp;nbsp;tried to increase the CAN response timeout in the FreeMASTER-over-CAN plug-in configuration?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If none of the&amp;nbsp;ideas help, please try to&amp;nbsp;capture the CAN communication when writing the variable. Just to see if there is any response coming out from the target MCU.&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/107849iE039DE83D736F45C/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;Regards,&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 08:12:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/writing-variables-problem/m-p/1069185#M299</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2020-05-26T08:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: writing variables problem</title>
      <link>https://community.nxp.com/t5/FreeMASTER/writing-variables-problem/m-p/1069186#M300</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;Michal,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The problem has been solved now.T&lt;SPAN&gt;he&amp;nbsp;FMSTR_Poll is not called fast enough&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;in polling mode.I put&amp;nbsp;the&amp;nbsp;FMSTR_Poll in the correct place and the writing variables function is OK.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;HJ&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 08:40:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/writing-variables-problem/m-p/1069186#M300</guid>
      <dc:creator>hjhjhj</dc:creator>
      <dc:date>2020-05-27T08:40:47Z</dc:date>
    </item>
  </channel>
</rss>

