<?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>topic NAND flash - MQX no idle task in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/NAND-flash-MQX-no-idle-task/m-p/1801982#M6243</link>
    <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;the system I am using is a Phytec PCM052, Kernel 3.13, MQX BSP TWRVF65GS10 M4, U-Boot 2013/2017&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The first problem was a kernel CRC error code when booting with U-Boot 2013.&lt;BR /&gt;I found out that U-Boot shares some old NAND flash kernel drivers that use different ECC modes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Upgrading to U-Boot 2017 "fixed" the issue, but caused a problem with MQX as my M4 code no longer runs at all, nor does the idle task.&lt;/P&gt;&lt;P&gt;Some error searches showed that in the function _mqx() after a call of _bsp_enable_card() the dispatch function is triggered about one second later.&lt;BR /&gt;(Timer Dispatch.S _pend_svc, /* 0x0E 0x00000038 - ivINT_PendableSrvReq */)&lt;BR /&gt;This function only finds empty task queues and continues to run endlessly.&lt;/P&gt;&lt;P&gt;During the normal execution of _mqx(), the idle task is created and queued, and then the dispatcher is called.&lt;/P&gt;&lt;P&gt;It seems that U-Boot 2017 changes some settings that affect the M4.&lt;BR /&gt;Unlike U-Boot 2013, there is now a function called&lt;BR /&gt;"m4go - Starting the secondary Cortex-M4 from the scatter file image".&lt;/P&gt;&lt;P&gt;Does anyone of you have any idea where exactly I could look further besides debugging U-Boot ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 15:22:17 GMT</pubDate>
    <dc:creator>JaclynM</dc:creator>
    <dc:date>2024-02-05T15:22:17Z</dc:date>
    <item>
      <title>NAND flash - MQX no idle task</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/NAND-flash-MQX-no-idle-task/m-p/1801982#M6243</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;the system I am using is a Phytec PCM052, Kernel 3.13, MQX BSP TWRVF65GS10 M4, U-Boot 2013/2017&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The first problem was a kernel CRC error code when booting with U-Boot 2013.&lt;BR /&gt;I found out that U-Boot shares some old NAND flash kernel drivers that use different ECC modes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Upgrading to U-Boot 2017 "fixed" the issue, but caused a problem with MQX as my M4 code no longer runs at all, nor does the idle task.&lt;/P&gt;&lt;P&gt;Some error searches showed that in the function _mqx() after a call of _bsp_enable_card() the dispatch function is triggered about one second later.&lt;BR /&gt;(Timer Dispatch.S _pend_svc, /* 0x0E 0x00000038 - ivINT_PendableSrvReq */)&lt;BR /&gt;This function only finds empty task queues and continues to run endlessly.&lt;/P&gt;&lt;P&gt;During the normal execution of _mqx(), the idle task is created and queued, and then the dispatcher is called.&lt;/P&gt;&lt;P&gt;It seems that U-Boot 2017 changes some settings that affect the M4.&lt;BR /&gt;Unlike U-Boot 2013, there is now a function called&lt;BR /&gt;"m4go - Starting the secondary Cortex-M4 from the scatter file image".&lt;/P&gt;&lt;P&gt;Does anyone of you have any idea where exactly I could look further besides debugging U-Boot ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 15:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/NAND-flash-MQX-no-idle-task/m-p/1801982#M6243</guid>
      <dc:creator>JaclynM</dc:creator>
      <dc:date>2024-02-05T15:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: NAND flash - MQX no idle task</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/NAND-flash-MQX-no-idle-task/m-p/1804176#M6244</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;DIV id="bodyDisplay_0" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;This could be due to low power routine, Looking at mqx/examples/lowpower:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Low power driver (io/lpm/lpm.c) defines a routine&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;_mqx_uint _lpm_idle_sleep_setup&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] Whether to turn on/off the idle sleep feature */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; boolean idle_sleep&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;that restarts Idle task (if needed) with updated parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I only need to call _lpm_idle_sleep_setup(TRUE) at beginnning of my task to allow entering wait mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However MQX is not supported anymore with uboot2017, do not know exactly whats the problem is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Feb 2024 14:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/NAND-flash-MQX-no-idle-task/m-p/1804176#M6244</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-02-08T14:56:35Z</dc:date>
    </item>
  </channel>
</rss>

