<?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: RT1052 auto reset</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1758126#M27603</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Add&amp;nbsp; printf in hardfault ISR , check whether it can be printf or not&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2023 06:56:39 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2023-11-16T06:56:39Z</dc:date>
    <item>
      <title>RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1755970#M27542</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We found that our product (using RT1052) automatically restarts after running for a period of time (1~2 days).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We don't have any clues about this phenomenon, we want to find out first&lt;BR /&gt;1.Why does the MCU restart?&lt;BR /&gt;2. What is the last Function executed before restarting?&lt;/P&gt;&lt;P&gt;Is there any way to obtain relevant information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 02:50:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1755970#M27542</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-11-13T02:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1756218#M27548</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; At first, you need to know which detail type caused your auto reset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think, you can add some code in your app, printf the reset type after you reset, then you will find the related situation, and fix it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Please printf the&amp;nbsp;(SRC_SRSR) register after you reset, then test it again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Any updated information, please let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 10:42:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1756218#M27548</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-13T10:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1756570#M27556</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for the information, I will test it and discuss it further with you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 02:03:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1756570#M27556</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-11-14T02:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1756619#M27557</link>
      <description>&lt;P&gt;You are welcome!&lt;/P&gt;
&lt;P&gt;Any updated information, just feel free to let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 03:18:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1756619#M27557</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-14T03:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1757202#M27570</link>
      <description>&lt;P&gt;Hi, kerryzhou&lt;/P&gt;&lt;P&gt;I put the SRC_SCR print operation at the front of the main loop. After observing it for one night, I found that the program restarted 12 times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[2023-11-14 17:07:19.438] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-14 22:22:23.086] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-14 23:39:01.080] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-15 00:29:50.894] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-15 00:43:20.618] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-15 01:29:40.704] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-15 02:12:48.380] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-15 03:47:08.368] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-15 04:21:11.279] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-15 04:47:26.585] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-15 05:14:58.128] SRC_SCR: a0480520&lt;BR /&gt;[2023-11-15 07:08:42.976] SRC_SCR: a0480520&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I try to use IMXRT1050RM.pdf to analyze the SRC_SCR message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1010 0000 0100 1000 0000 0101 0010 0000&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;31–28&lt;BR /&gt;mask_wdog3_rst : &lt;STRONG&gt;1010&lt;/STRONG&gt; ,&amp;nbsp;wdog3_rst_b is not masked&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;25&lt;BR /&gt;dbg_rst_msk_pg: &lt;STRONG&gt;0&lt;/STRONG&gt; ,&amp;nbsp;do not mask core debug resets&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;17&lt;BR /&gt;core0_dbg_rst: &lt;STRONG&gt;0&lt;/STRONG&gt; ,&amp;nbsp;do not assert core0 debug reset&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;13&lt;BR /&gt;core0_rst: &lt;STRONG&gt;0&lt;/STRONG&gt; ,&amp;nbsp;do not assert core0 reset&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;10–7&lt;BR /&gt;mask_wdog_rst: &lt;STRONG&gt;1010&lt;/STRONG&gt; ,&amp;nbsp;wdog_rst_b is not masked&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;From the results, it seems that SRC_SCR does not indicate any reason for restarting. Is this understanding correct?&lt;/SPAN&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 00:50:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1757202#M27570</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-11-15T00:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1757241#M27571</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;You are reading the wrong register, it is the &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;SRC_SRSR&lt;/STRONG&gt;&lt;/FONT&gt;, not the SCR!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;SRSR is the status register, SCR is the control register.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Please do the testing again, it is really a pity that you reproduce the issues, but with the wrong register.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1700014808505.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249816i3279A0D99EAD985F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1700014808505.png" alt="kerryzhou_0-1700014808505.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;kerryzhou_0-1700014808505.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_1-1700014814131.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249817i0A13069A7FB7F8C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_1-1700014814131.png" alt="kerryzhou_1-1700014814131.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;kerryzhou_1-1700014814131.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please do check again, any updated information, please kindly let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 02:21:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1757241#M27571</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-15T02:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1757927#M27596</link>
      <description>&lt;P&gt;HI ,kerryzhou&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following log is the result of last night’s test&lt;/P&gt;&lt;P&gt;[2023-11-15 17:01:52.100] SRC_SRSR: 0x1&lt;BR /&gt;[2023-11-15 17:32:59.316] SRC_SRSR: 0x11&lt;BR /&gt;[2023-11-15 17:38:29.047] SRC_SRSR: 0x11&lt;BR /&gt;[2023-11-15 21:01:36.659] SRC_SRSR: 0x11&lt;BR /&gt;[2023-11-15 21:21:13.476] SRC_SRSR: 0x11&lt;BR /&gt;[2023-11-15 21:23:35.909] SRC_SRSR: 0x11&lt;BR /&gt;[2023-11-15 21:52:31.722] SRC_SRSR: 0x11&lt;BR /&gt;[2023-11-15 22:51:09.711] SRC_SRSR: 0x11&lt;BR /&gt;[2023-11-15 23:19:27.930] SRC_SRSR: 0x11&lt;BR /&gt;[2023-11-16 06:09:52.545] SRC_SRSR: 0x11&lt;BR /&gt;[2023-11-16 07:47:15.921] SRC_SRSR: 0x11&lt;/P&gt;&lt;P&gt;It looks like wdog_rst_b triggers the Reset event, but what I don't understand is why ipp_reset_b sets 1 in every SRC_SRSR?&lt;/P&gt;&lt;P&gt;I think ipp_reset_b should only be set to 1 during first power up.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to know which function was last executed before triggering the watchdog?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 00:26:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1757927#M27596</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-11-16T00:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1758048#M27600</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; From your situation, it is related to the :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1700109507909.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250086i56E81A231DB7E880/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1700109507909.png" alt="kerryzhou_0-1700109507909.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;kerryzhou_0-1700109507909.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your reset is mainly to the watchdog timeout.&lt;/P&gt;
&lt;P&gt;ipp_reset_b need to do the clear at first, then it will be 0 if you don't do the software reset.&lt;/P&gt;
&lt;P&gt;I already test it for the&amp;nbsp;ipp_reset_b .&lt;/P&gt;
&lt;P&gt;If you don't want this bit influence your result, you can write:&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: nowrap;"&gt;
&lt;P&gt;&lt;SPAN&gt; PRINTF(&lt;/SPAN&gt;&lt;SPAN&gt;"SRSR=%X\r\n"&lt;/SPAN&gt;&lt;SPAN&gt;,SRC-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;SRSR&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; SRC-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;SRSR&lt;/SPAN&gt;&lt;SPAN&gt; |=1;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then, the next none POR reset, will just have the watchdog.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now, your issues is mainly caused by your code, your code should blocking some area&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Which didn't do the feed watchdog, that cause the reset issues.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think, you need to check your own software project, or you can add more frequently feed watchdog.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 04:41:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1758048#M27600</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-16T04:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1758064#M27601</link>
      <description>&lt;P&gt;HI,&amp;nbsp;kerryzhou&lt;/P&gt;&lt;P&gt;Thanks for your opinion, I will analyze my program to confirm which part is causing the blocking.&lt;/P&gt;&lt;P&gt;If I suspect a HardFault is causing the watchdog to trigger, how can I confirm?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 05:33:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1758064#M27601</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-11-16T05:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1758126#M27603</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Add&amp;nbsp; printf in hardfault ISR , check whether it can be printf or not&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 06:56:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1758126#M27603</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-16T06:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1759395#M27636</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;kerryzhou&lt;/P&gt;&lt;P&gt;I set a breakpoint in the Hardfault ISR and intercepted the Hardfault.&lt;/P&gt;&lt;P&gt;why this Hardfault occurs?&lt;BR /&gt;How to avoid this Hardfault occurs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="螢幕擷取畫面 2023-11-20 083236.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250515iC93E380297F4A775/image-size/medium?v=v2&amp;amp;px=400" role="button" title="螢幕擷取畫面 2023-11-20 083236.png" alt="螢幕擷取畫面 2023-11-20 083236.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;螢幕擷取畫面 2023-11-20 083236.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 00:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1759395#M27636</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-11-20T00:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1759538#M27638</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;hardfault is caused by some abormal code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;About how to check the detail code cause the hardfault, you can debug it, and check it.&lt;/P&gt;
&lt;P&gt;You can refer to this post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxpic.org.cn/module/forum/thread-596127-1-1.html" target="_blank"&gt;https://www.nxpic.org.cn/module/forum/thread-596127-1-1.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/" target="_blank"&gt;https://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1700455560371.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250587i449D5C287FA362D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1700455560371.png" alt="kerryzhou_0-1700455560371.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;kerryzhou_0-1700455560371.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the LR register to find which detail code cause the hardfault.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 04:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1759538#M27638</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-20T04:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1763154#M27726</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336" target="_self"&gt;&lt;SPAN class=""&gt;kerryzhou&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I found that the program would run to SEMC (Aliased) for execution inexplicably.&lt;BR /&gt;Because there is no code here, the program is stuck. Finally, the watchdog starts and causes the MCU to reset. I guess this is the cause of the current problem.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jay_Lin_0-1700810604549.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251387i2CC816F6FB222369/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jay_Lin_0-1700810604549.png" alt="Jay_Lin_0-1700810604549.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Jay_Lin_0-1700810604549.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jay_Lin_1-1700810651888.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251389i26DF7F05D611CFE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jay_Lin_1-1700810651888.png" alt="Jay_Lin_1-1700810651888.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Jay_Lin_1-1700810651888.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jay_Lin_2-1700810698605.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251392i5FD9C28337EC8106/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jay_Lin_2-1700810698605.png" alt="Jay_Lin_2-1700810698605.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Jay_Lin_2-1700810698605.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jay_Lin_3-1700810849640.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251393i5D4110D19E00E89E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jay_Lin_3-1700810849640.png" alt="Jay_Lin_3-1700810849640.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Jay_Lin_3-1700810849640.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is our space allocation. You can see that the location of 0x1nnnnnnn is not used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Under what circumstances will the program suddenly run to 0x1nnnnnnn?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 07:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1763154#M27726</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-11-24T07:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1763690#M27749</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; please also check, which detail code cause enter to the&amp;nbsp;&lt;SPAN&gt;SEMC (Aliased)? Check the original code, which code, then you may know the details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 03:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1763690#M27749</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-27T03:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1763779#M27752</link>
      <description>&lt;P&gt;HI, kerryzhou&lt;/P&gt;&lt;P&gt;I have confirmed all functions, and no functions are placed in SEMC (Aliased). This can also be confirmed from the contents of the .map file.&lt;BR /&gt;I searched the entire project file and could not find the relevant string of 0x11dnnnnn. I began to suspect that it was When the MCU puts the external Flash program into the SRAM, the data may be interfered with during the communication process, causing the program to jump to an unexpected Address execution.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 06:32:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1763779#M27752</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-11-27T06:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1764457#M27767</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Yes, I understand you didn't configure the code to&amp;nbsp;&lt;SPAN&gt;SEMC (Aliased).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; So, now the issues is which detail c code let the mcu enter the&amp;nbsp;SEMC (Aliased)? This is the abnormal situation, just when you enter this area, the the mcu enter fault, as you didn't configure it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; So, you can consider, your code&amp;nbsp;runs abnormally and runs away， so enter to the invalid area to your application. Can you do more debug to find, which detail code enter the SEMC (Aliased).?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 02:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1764457#M27767</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-28T02:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1764487#M27769</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;kerryzhou&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, I'll continue to monitor the program to see if there are any other clues about the crash.&lt;/P&gt;&lt;P&gt;As mentioned last time, the MCU was disturbed when it read data from external Flash and put it into SRAM, causing the program to execute to a position where it should not be executed when encountering abnormal data in SRAM. is it possible?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 03:28:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1764487#M27769</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-11-28T03:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1764728#M27774</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If your SDRAM aleady do the stress testing, and passed it, I don't think the SDRAM data write and save, and read will meet issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; But, if you use the cache, the operation is not good, it may meet hardfault issues.&lt;/P&gt;
&lt;P&gt;So, you also can try to disable the cache, and test it, check whether it have issues or not.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 08:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1764728#M27774</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-11-28T08:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1772619#M27944</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;kerryzhou&lt;/P&gt;&lt;P&gt;1. Our SDRAM has not been stress tested. Can you provide code and related resources for us to test?&lt;/P&gt;&lt;P&gt;2. How to turn off the cache for testing?&lt;/P&gt;&lt;P&gt;3. Are there relevant time parameters for MCU and SDRAM that can be set?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 00:28:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1772619#M27944</guid>
      <dc:creator>Jay_Lin</dc:creator>
      <dc:date>2023-12-12T00:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 auto reset</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1773009#M27957</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224801"&gt;@Jay_Lin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Answer your questions:&lt;/P&gt;
&lt;P&gt;1. Our SDRAM has not been stress tested. Can you provide code and related resources for us to test?&lt;/P&gt;
&lt;P&gt;=&amp;gt;Answer:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to this blog:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/14564390.html" target="_blank"&gt;https://www.cnblogs.com/henjay724/p/14564390.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/14580257.html\" target="_blank"&gt;https://www.cnblogs.com/henjay724/p/14580257.html\&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. How to turn off the cache for testing?&lt;/P&gt;
&lt;P&gt;=&amp;gt;Answer:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;in the&amp;nbsp;void BOARD_ConfigMPU(void), modify :&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;SCB_EnableDCache();&lt;BR /&gt;SCB_EnableICache();&lt;BR /&gt;to &lt;BR /&gt;SCB_DisableDCache();&lt;BR /&gt;SCB_DisableICache();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Are there relevant time parameters for MCU and SDRAM that can be set?&lt;/P&gt;
&lt;P&gt;=&amp;gt;Answer:&amp;nbsp; No directly tim parameters, just to the SEMC configuration to the SDRAM, in fact, if your SDRAM is working, the configuration is OK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 10:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-auto-reset/m-p/1773009#M27957</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-12-12T10:03:32Z</dc:date>
    </item>
  </channel>
</rss>

