<?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>MQX Software SolutionsのトピックLight Weight Semaphore</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Light-Weight-Semaphore/m-p/360257#M11813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the TWRK70F120M and the IAR compiler in my project and I am trying to save the screen calibration values into Flash. I have got two tasks , one of which is the PegTask in which the calibration screen values are initialised and the Main Task in which I am trying to write and read those values into Flash. In order to share the data between the two tasks, I am trying to use the light weight semaphore. But&amp;nbsp; once I read it from Flash, control gets into the MQX interrupt handler.&lt;/P&gt;&lt;P&gt;PFA the code for PegTouch Task. Also, I have attached the code where I am writing and reading the calibration values to and From Flash. Please let me know how this can be resolved.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sneha Hegde&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338612"&gt;PegTask.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338612"&gt;FlashTask.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2015 04:48:50 GMT</pubDate>
    <dc:creator>snehahegde</dc:creator>
    <dc:date>2015-03-05T04:48:50Z</dc:date>
    <item>
      <title>Light Weight Semaphore</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Light-Weight-Semaphore/m-p/360257#M11813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the TWRK70F120M and the IAR compiler in my project and I am trying to save the screen calibration values into Flash. I have got two tasks , one of which is the PegTask in which the calibration screen values are initialised and the Main Task in which I am trying to write and read those values into Flash. In order to share the data between the two tasks, I am trying to use the light weight semaphore. But&amp;nbsp; once I read it from Flash, control gets into the MQX interrupt handler.&lt;/P&gt;&lt;P&gt;PFA the code for PegTouch Task. Also, I have attached the code where I am writing and reading the calibration values to and From Flash. Please let me know how this can be resolved.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sneha Hegde&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338612"&gt;PegTask.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338612"&gt;FlashTask.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 04:48:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Light-Weight-Semaphore/m-p/360257#M11813</guid>
      <dc:creator>snehahegde</dc:creator>
      <dc:date>2015-03-05T04:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Light Weight Semaphore</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Light-Weight-Semaphore/m-p/360258#M11814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know which MQX version are you using???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soledad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 20:45:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Light-Weight-Semaphore/m-p/360258#M11814</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2015-03-11T20:45:35Z</dc:date>
    </item>
  </channel>
</rss>

