<?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 Re: Freezes microcontroller i.MXRT1061 in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Freezes-microcontroller-i-MXRT1061/m-p/1165085#M10460</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_10" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/8010" target="_self"&gt;cerma&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;Sorry for the later reply, because of the Chinese National day from 10.1 to 10.8.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;Do you disable the low power mode, just test the run mode, whether the hardfault still happens or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; Just to check, whether it is related to the low power or not.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Any updated information, please kindly let me know.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Oct 2020 09:53:49 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2020-10-09T09:53:49Z</dc:date>
    <item>
      <title>Freezes microcontroller i.MXRT1061</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Freezes-microcontroller-i-MXRT1061/m-p/1162948#M10387</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I´m using custom PCB with i.MX1061, MCUXpresso11.2, SDK2.8.0 Manifest Ver 3.6.0, BareMetal, Win10.&lt;/P&gt;&lt;P&gt;The program runs from an external Flash SPI. I'm using power save mode. One GPT timer and three uarts are still ON. Every minute, the MCU wakes up itself(LPM_PowerModeLowPowerRun --&amp;gt; LPM_PowerModeFullRun) and then goes back to sleep (LPM_PowerModeFullRun --&amp;gt; LPM_PowerModeLowPowerRun).&lt;BR /&gt;After 1-4 hours the program ends with HardFault (WatchDog was disable). When I connect a JTag, the program always ended in the function LPM_FullSpeedRun(), (DCDC_AdjustTargetVoltage (DCDC, 0x13,0x1)). I copied this function to the RAM DTC.&lt;BR /&gt;Behavior has changed in only one thing. Now the program always ends in the EDMA_CreateHandle () function. This function is also called during wake-up(LPM_PowerModeLowPowerRun --&amp;gt; LPM_PowerModeFullRun).&lt;BR /&gt;Is anyone able to advise me on what is wrong? Is there a better way to look for the cause?&lt;BR /&gt;Attached are prinsreens of both situations. Printscreen 1:The LPM_FullSpeedRun () function runs from QSPI. Printscreen 2: The LPM_FullSpeedRun () function runs from DTC RAM.&lt;/P&gt;&lt;P&gt;Here is the PowerMode switch sequence:&lt;/P&gt;&lt;P&gt;if (APP_CheckPowerMode(s_curRunMode, s_targetPowerMode))&lt;BR /&gt;{&lt;BR /&gt;maskDisableEnableInterrupt = DisableGlobalIRQ();&lt;BR /&gt;APP_PowerPreSwitchHook(s_targetPowerMode); // OFF GPIO&lt;BR /&gt;APP_PowerModeSwitch(s_targetPowerMode);&lt;BR /&gt;APP_PowerPostSwitchHook(s_targetPowerMode); // ON GPIO&lt;BR /&gt;EnableGlobalIRQ(maskDisableEnableInterrupt);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Thank you for the advice.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jaroslav C.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 13:37:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Freezes-microcontroller-i-MXRT1061/m-p/1162948#M10387</guid>
      <dc:creator>cerma</dc:creator>
      <dc:date>2020-10-05T13:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Freezes microcontroller i.MXRT1061</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Freezes-microcontroller-i-MXRT1061/m-p/1165085#M10460</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_10" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/8010" target="_self"&gt;cerma&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;Sorry for the later reply, because of the Chinese National day from 10.1 to 10.8.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;Do you disable the low power mode, just test the run mode, whether the hardfault still happens or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; Just to check, whether it is related to the low power or not.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Any updated information, please kindly let me know.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 09:53:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Freezes-microcontroller-i-MXRT1061/m-p/1165085#M10460</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-10-09T09:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Freezes microcontroller i.MXRT1061</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Freezes-microcontroller-i-MXRT1061/m-p/1169632#M10678</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 11:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Freezes-microcontroller-i-MXRT1061/m-p/1169632#M10678</guid>
      <dc:creator>cerma</dc:creator>
      <dc:date>2020-11-11T11:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Freezes microcontroller i.MXRT1061</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Freezes-microcontroller-i-MXRT1061/m-p/1181446#M11210</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;When I disable the low power mode, I don't see these errors. I suspect USB (virtual com). I turn off the USB when switching from Full Speed Run to Low Power Run. I turn on USB after switching from Low Power Run to Full Speed Run. I don't think my way of turning off USB is right.&lt;BR /&gt;What is the correct USB power on / off procedure? (stop USB, free memory, ..)?&lt;/P&gt;&lt;P&gt;//*******************************************************************************************&lt;/P&gt;&lt;P&gt;USB switch ON:&lt;/P&gt;&lt;P&gt;void APPInit(void)&lt;BR /&gt;{&lt;BR /&gt;USB_DeviceClockInit();&lt;BR /&gt;s_cdcVcom.speed = USB_SPEED_HIGH;//USB_SPEED_FULL; //&amp;nbsp;&lt;BR /&gt;s_cdcVcom.attach = 0;&lt;BR /&gt;s_cdcVcom.cdcAcmHandle = (class_handle_t)NULL;&lt;BR /&gt;s_cdcVcom.deviceHandle = NULL;&lt;/P&gt;&lt;P&gt;if (kStatus_USB_Success != USB_DeviceClassInit(CONTROLLER_ID, &amp;amp;s_cdcAcmConfigList, &amp;amp;s_cdcVcom.deviceHandle))&lt;BR /&gt;{&lt;BR /&gt;usb_echo("USB device init failed\r\n");&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;usb_echo("USB device CDC virtual com demo\r\n");&lt;BR /&gt;s_cdcVcom.cdcAcmHandle = s_cdcAcmConfigList.config-&amp;gt;classHandle;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;USB_DeviceIsrEnable();&lt;/P&gt;&lt;P&gt;USB_DeviceRun(s_cdcVcom.deviceHandle);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;//*******************************************************************************************&lt;/P&gt;&lt;P&gt;USB switch OFF:&lt;/P&gt;&lt;P&gt;USB_DeviceStop(s_cdcVcom.deviceHandle);&lt;BR /&gt;USB_DeviceClassDeinit(CONTROLLER_ID);&lt;/P&gt;&lt;P&gt;//*******************************************************************************************&lt;/P&gt;&lt;P&gt;What is the correct USB switch procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jaroslav&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 11:05:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Freezes-microcontroller-i-MXRT1061/m-p/1181446#M11210</guid>
      <dc:creator>cerma</dc:creator>
      <dc:date>2020-11-11T11:05:19Z</dc:date>
    </item>
  </channel>
</rss>

