<?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: KE04 Lockup reset in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915345#M53569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;With this processor I believe I can't use&lt;/SPAN&gt;&lt;/SPAN&gt; MCUXpresso ! Only CodeWarrior :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Sep 2019 07:28:11 GMT</pubDate>
    <dc:creator>IlConte</dc:creator>
    <dc:date>2019-09-02T07:28:11Z</dc:date>
    <item>
      <title>KE04 Lockup reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915339#M53563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all, I have KE04Z8VWJ4 processor.&lt;BR /&gt;I used about 100 pieces on the production line without any problem.&lt;BR /&gt;With the new lot some microcontrollers reset after a few seconds.&lt;BR /&gt;Using the flash on an output I checked the contents of the SIM_SRSID register and verified that the cause is LOCKUP.&lt;BR /&gt;I ask for your help to understand the possible cause of this reset.&lt;BR /&gt;- Could it be caused by software error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 07:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915339#M53563</guid>
      <dc:creator>IlConte</dc:creator>
      <dc:date>2019-08-28T07:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 Lockup reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915340#M53564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;A number of conditions can cause lockup in the rcortex-m0 processor:&lt;/P&gt;&lt;P&gt;1. A fault occurred during the execution of the NMI handler&lt;/P&gt;&lt;P&gt;2. A fault occurred during the execution of the hardfault handler (double fault)&lt;/P&gt;&lt;P&gt;3. There was an SVC execution inside the NMI handler or the hardfault handler (insufficient priority)&lt;/P&gt;&lt;P&gt;4. A bus error response during reset sequence (e.g when reading initial SP value)&lt;/P&gt;&lt;P&gt;5. There was a bus fault during the unstacking of the xPSR during the exception return using the main stack pointer (MSP) for the unstacking.&lt;/P&gt;&lt;P&gt;You can also see this link for more information &lt;A class="link-titled" href="https://www.sciencedirect.com/topics/computer-science/error-condition" title="https://www.sciencedirect.com/topics/computer-science/error-condition"&gt;https://www.sciencedirect.com/topics/computer-science/error-condition&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, there are many reason for lockup, both hardware and software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 10:22:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915340#M53564</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-08-28T10:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 Lockup reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915341#M53565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I find the cause of lockup reset ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 09:01:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915341#M53565</guid>
      <dc:creator>IlConte</dc:creator>
      <dc:date>2019-08-29T09:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 Lockup reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915342#M53566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to trace the code to find where and how it happen. Maybe you can set break point in hardfault or use MTB function of cortex-M0+.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 06:15:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915342#M53566</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-08-30T06:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 Lockup reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915343#M53567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I use a breakpoint with codewarrior and multilink &lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;I can't understand the cause of break ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Sorry but whati is the MTB function of cortex-M0+ ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 13:16:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915343#M53567</guid>
      <dc:creator>IlConte</dc:creator>
      <dc:date>2019-08-30T13:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 Lockup reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915344#M53568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can read the stack window to get the environment of hardfault. It may help you to analyze the problem.&lt;/P&gt;&lt;P&gt;It seems CodeWarrior hasn't SWO or MTB trace function. MCUXpresso has this function. This function can save executed instruction in a circular buffer and read out by SWD. This can help you to trace MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jing&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 05:27:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915344#M53568</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-09-02T05:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 Lockup reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915345#M53569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;With this processor I believe I can't use&lt;/SPAN&gt;&lt;/SPAN&gt; MCUXpresso ! Only CodeWarrior :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 07:28:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915345#M53569</guid>
      <dc:creator>IlConte</dc:creator>
      <dc:date>2019-09-02T07:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 Lockup reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915346#M53570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have similar problem. I have used MKE04Z8VFK4 in first production series.&lt;/P&gt;&lt;P&gt;Some random errors occured. No all pieces behaved in the same way.&lt;/P&gt;&lt;P&gt;I tried to calibrate the clock frequency by ICS_C3 SCRTIM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lockup reset ocure every time I try to write ICS_C3 register.&lt;/P&gt;&lt;P&gt;The project was reduced to very simply code with only SysTick_Handler interrupt enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIM_SRSID: FAMID 0000, SUBFAMID 0100, REVID 0x2, PINID 0011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marking&amp;nbsp; M04Q3V&amp;nbsp; AHHFAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have replaced the MCU with another series (same SRSID) and the board works OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;Jaroslav Brazdil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2020 05:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/915346#M53570</guid>
      <dc:creator>jaroslavbrazdil</dc:creator>
      <dc:date>2020-06-20T05:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 Lockup reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/1152459#M58075</link>
      <description>&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;I have probably found my problem.&lt;/P&gt;&lt;P&gt;I'm using MKE04 with 48MHz system clock.&lt;/P&gt;&lt;P&gt;I have found that :&lt;/P&gt;&lt;P&gt;a) some series of MKE04 are very sensitive on system clock seting.&lt;/P&gt;&lt;P&gt;b) ICS_C3 Control register is no "fine" trim. It has great effect on system clock.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; So you need to be very careful when changing this settings.&lt;/P&gt;&lt;P&gt;c) Different series of MKE 04 has very different setting of ICS_C3.&lt;/P&gt;&lt;P&gt;d) Too low value of ICS_C3 will block the cpu.&lt;/P&gt;&lt;P&gt;e) This lock of CPU is not possible detect in any internal register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the ICS_C3 to calibrate comunication speed with master by UART.&lt;/P&gt;&lt;P&gt;It is necessary to proceed from HIGHER valus of ICS_C3 (higher value increase period of system clock).&amp;nbsp; So I check the factory setting of ICS_C3 and start tunning&amp;nbsp; with higher value.&lt;/P&gt;&lt;P&gt;I can set all series of MKE04 I have now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;Jaroslav&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 11:33:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-Lockup-reset/m-p/1152459#M58075</guid>
      <dc:creator>jaroslavbrazdil</dc:creator>
      <dc:date>2020-09-13T11:33:28Z</dc:date>
    </item>
  </channel>
</rss>

