<?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>i.MX RT Crossover MCUsのトピックRe: Using RTOS queue inside lwip httpsrv</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070849#M8812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 200;"&gt;Peter Janco,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; So, do you try to disable the cache.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Or use the printf, to print out the related data, especially the wrong data, whether it has any difference?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #646464; font-weight: inherit; "&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #646464; font-weight: inherit; "&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2020 10:25:06 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2020-05-18T10:25:06Z</dc:date>
    <item>
      <title>Using RTOS queue inside lwip httpsrv</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070845#M8808</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 am using MIMXRT1060-EVK board and MCUExpresso IDE 11.1.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing weird problem with using queue from inside of Lwip Httpsrv CGI callback function. For demonstration of my problem I prepared everythink into SDK example code "&lt;STRONG&gt;evkmimxrt1060_lwip_httpsrv_freertos&lt;/STRONG&gt;". My changed project is in attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am reading and writing to queue from &lt;STRONG&gt;main_thread&lt;/STRONG&gt;, it is working fine. But if I try to read or write to queue from &lt;STRONG&gt;cgi_example&lt;/STRONG&gt; function, it did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see, I am calling &lt;STRONG&gt;xQueueReceive&lt;/STRONG&gt; with first argument containg value &lt;STRONG&gt;0x200111f4&lt;/STRONG&gt;. But when it jump inside of function &lt;STRONG&gt;xQueueReceive&lt;/STRONG&gt;, first argument cointain value &lt;STRONG&gt;0x20010d9c &lt;/STRONG&gt;and also other two arguments are wrong!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me what is wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 10:41:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070845#M8808</guid>
      <dc:creator>pjanco</dc:creator>
      <dc:date>2020-05-11T10:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using RTOS queue inside lwip httpsrv</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070846#M8809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="327852" data-username="pjanco" href="https://community.nxp.com/people/pjanco" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Peter Janco&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; Will help you to test it, please keep patient, any updated information will let you know.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 11:02:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070846#M8809</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-05-12T11:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using RTOS queue inside lwip httpsrv</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070847#M8810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="327852" data-username="pjanco" href="https://community.nxp.com/people/pjanco" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Peter Janco&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you enable the IDE optimization or not on your side?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Could you please also share some debug wrong value screenshot on your side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 09:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070847#M8810</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-05-15T09:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using RTOS queue inside lwip httpsrv</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070848#M8811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;weird thing is, even if value of "xQueue" argument in function "xQueueReceive" is wrong, it looks like data are copied into destination at the end of function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe just wrong value is diplayed in debug pop-up window because of cache or something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Optimalization:&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/105456i673C8E9FA2A1BE37/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;Good value:&lt;/P&gt;&lt;P&gt;&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/105584iE04607AF73B2C27E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wrong value:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105642iCC493E666600C12D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2020 22:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070848#M8811</guid>
      <dc:creator>pjanco</dc:creator>
      <dc:date>2020-05-16T22:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using RTOS queue inside lwip httpsrv</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070849#M8812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 200;"&gt;Peter Janco,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; So, do you try to disable the cache.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Or use the printf, to print out the related data, especially the wrong data, whether it has any difference?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #646464; font-weight: inherit; "&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #646464; font-weight: inherit; "&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 10:25:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-RTOS-queue-inside-lwip-httpsrv/m-p/1070849#M8812</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-05-18T10:25:06Z</dc:date>
    </item>
  </channel>
</rss>

