<?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: KEA-64 suspends during internal EEPROM erasing in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/1248398#M59927</link>
    <description>&lt;P&gt;Thank you for posting the solution to this issue. I&lt;SPAN&gt;f MCM_PLACR [ESFC] = 0 and at the same time all interrupts and sub-functions are in RAM this issue disapeared.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gustavo&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Mar 2021 20:20:44 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2021-03-18T20:20:44Z</dc:date>
    <item>
      <title>KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484900#M29729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I am working on a KEA64 and used &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Processor Expert to generate drivers of internal EEPROM (IFsh1: IntFLASH).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;EEPROM read/write works great, but main loop and other interrupts are suspended during EEPROM erasing.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Firstly, I suspect the while loop which is used for erasing complete detection in EraseFlash function stalls all process, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;then I use "SetWait" method to avoid the while loop.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="c++" name="code"&gt;byte IFsh1_EraseSector(IFsh1_TAddress Addr) { &amp;nbsp; LDD_TError&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result;&amp;nbsp;&amp;nbsp; &amp;nbsp; if (IFsh1_CmdPending) { &amp;nbsp;&amp;nbsp;&amp;nbsp; return ERR_BUSY; &amp;nbsp; } &amp;nbsp; IFsh1_CurrentCommand = IFsh1_CMD_ERASE_SECTOR; &amp;nbsp; IFsh1_CmdPending = TRUE; &amp;nbsp; Result = IntFlashLdd1_Erase(IntFlashLdd1_DevDataPtr, (LDD_FLASH_TAddress)Addr, 1U); &amp;nbsp; if (Result == ERR_OK) { &amp;nbsp;&amp;nbsp;&amp;nbsp; if (IFsh1_WaitForCommandDone) {&amp;nbsp; /*SetWait(False)to disable the wait loop as below. */ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } while (IFsh1_CmdPending); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result = IFsh1_CmdResult; &amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp; } else { &amp;nbsp;&amp;nbsp;&amp;nbsp; IFsh1_CmdPending = FALSE;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Command parameter error */ &amp;nbsp;&amp;nbsp;&amp;nbsp; if (Result == ERR_PARAM_ADDRESS) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result = ERR_RANGE; &amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp; } &amp;nbsp; return (byte)Result; }&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;However, main loop and interrupts still suspend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;I've checked the reference manual of KEA64, but nothing had been mentioned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Is the situation caused by innate hardware limitation of KEA64 or ARM cortex-M0+?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Please give me some advice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Morty&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;May 23, Update:&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Attached source code of a simple example.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337370" rel="nofollow noopener noreferrer" target="_blank"&gt;EEPROM_Eval.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 05:07:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484900#M29729</guid>
      <dc:creator>mortyhsueh</dc:creator>
      <dc:date>2016-05-19T05:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484901#M29730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morty,&lt;/P&gt;&lt;P&gt;After had a brief look through the statement, I'd highly recommend that you can use the Step into feature to find out the code line that set the PRIMASK register. When set, it blocks all interrupt apart from the nonmaskable interrupt and the hard fault exception.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 04:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484901#M29730</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-05-20T04:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484902#M29731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion, I 've used Step info to check the PRIMASK register, but no bit set. &lt;span class="lia-inline-image-display-wrapper" image-alt="Erase.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23443i4578AC69959CA3E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Erase.png" alt="Erase.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Besides interrupt, all process suspends until erasing complete. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize that there is only one flash controller in KEA64. EEPROM are also controlled by the flash controller.&lt;/P&gt;&lt;P&gt;Is it possible that all process is halted by the controller during EEPROM sector erasing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 07:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484902#M29731</guid>
      <dc:creator>mortyhsueh</dc:creator>
      <dc:date>2016-05-20T07:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484903#M29732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morty,&lt;/P&gt;&lt;P&gt;In my opinion, other interrupt can arise during the Flash or EEPROM command sequence.&lt;/P&gt;&lt;P&gt;And I'd like to know what the kind of experiments you did, then you got the conclusion that all interrupt would be suspended during the erasing sequence.&lt;/P&gt;&lt;P&gt;I'll also replicate the kind of experiments with my board.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 09:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484903#M29732</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-05-20T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484904#M29733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;For reproducing this problem, I used TRK-KEA64 EVB and created a simple example which all components are created by Processor Expert. Besides, I also captured the waveform for your reference. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuration of the example on TRK-KEA64 EVB is listed as below.&lt;/P&gt;&lt;P&gt;EEPROM erasing is triggered by pushing "Button 0" on EVB. &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I/O LED 1 level &lt;STRONG&gt;high&lt;/STRONG&gt; presents the EEPROM is erasing. &lt;/LI&gt;&lt;LI&gt;I/O LED 2 toggling presents the 200us ISR is active.&lt;/LI&gt;&lt;LI&gt;I/O LED 3 toggling presents the main loop is active.&lt;/LI&gt;&lt;/OL&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/29533i7E304B28AF0FBEDD/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;According to the experiment, I suspected 200us periodic ISR and main loop are blocked by the EEPROM erasing.&lt;/P&gt;&lt;P&gt;I've done the same experiment on MC9S12XDG128, but everything is good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your great help, the source code is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Development&amp;nbsp; environment:&lt;/P&gt;&lt;P&gt;CodeWarrior Version 10.6 Build Id: 140329 &lt;/P&gt;&lt;P&gt;C Build tool versions 4.7.3&lt;/P&gt;&lt;P&gt;Processor Expert Version 10.6.0 Build: RT6_b1446-0504&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 05:50:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484904#M29733</guid>
      <dc:creator>mortyhsueh</dc:creator>
      <dc:date>2016-05-23T05:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484905#M29734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morty,&lt;/P&gt;&lt;P&gt;I'll appreciate a lot if you can upload the same experiment demo, then after replicate the testing result, I can report the kind of phenomenon to R&amp;amp;D team for checking.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 07:17:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484905#M29734</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-05-23T07:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484906#M29735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your patience, I had attached the source code already.&lt;/P&gt;&lt;P&gt;And I can reproduce this problem with this example.&lt;/P&gt;&lt;P&gt;Please refer to the top of this discussion or download via this link:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/2019-394552-651978-379109/EEPROM_Eval.zip" title="https://community.freescale.com/servlet/JiveServlet/download/394552-1-379109/EEPROM_Eval.zip"&gt;https://community.freescale.com/servlet/JiveServlet/download/394552-1-379109/EEPROM_Eval.zip&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 07:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484906#M29735</guid>
      <dc:creator>mortyhsueh</dc:creator>
      <dc:date>2016-05-23T07:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484907#M29736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you receive any reply from R&amp;amp;D team?&lt;/P&gt;&lt;P&gt;Please help us to track this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Morty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 01:17:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484907#M29736</guid>
      <dc:creator>mortyhsueh</dc:creator>
      <dc:date>2016-05-30T01:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484908#M29737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morty,&lt;/P&gt;&lt;P&gt;I'll inform you ASAP when I receive some replies.&lt;/P&gt;&lt;P&gt;Thanks for your patient.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 02:22:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484908#M29737</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-05-30T02:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484909#M29738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morty,&lt;/P&gt;&lt;P&gt;R&amp;amp;D has found the root cause of the issue, the watchdog reset causes the issue.&lt;/P&gt;&lt;P&gt;Please try to add feed dog in function "scheduler" and "EEPROM_WriteTrigger". please refer to attached code.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 06:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484909#M29738</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-06-02T06:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484910#M29739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;But the original setting of watch dog period is 1000ms and watchdog is cleared in main loop everytime.&lt;/P&gt;&lt;P&gt;Although I think watchdog trigger is not the root cause of this problem, but I replace the Task_10ms.c and Scheduler.c provided form R&amp;amp;D team. &lt;/P&gt;&lt;P&gt;Please refer to the result as below, the problem is still present.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59377i2555CA14D9A76922/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please investigate it. &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 07:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484910#M29739</guid>
      <dc:creator>mortyhsueh</dc:creator>
      <dc:date>2016-06-02T07:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484911#M29740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me again to report the problem to R&amp;amp;D team?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 02:39:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484911#M29740</guid>
      <dc:creator>mortyhsueh</dc:creator>
      <dc:date>2016-06-08T02:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484912#M29741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watch dog triggered is not the root cause.&lt;/P&gt;&lt;P&gt;Do you have any ideas regarding this problem?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:14:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484912#M29741</guid>
      <dc:creator>mortyhsueh</dc:creator>
      <dc:date>2016-06-16T01:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484913#M29742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morty,&lt;/P&gt;&lt;P&gt;It seems the priority to operate flash read and EEPROM erase regard to the question at the issue.&lt;/P&gt;&lt;P&gt;It needs the designers to confirm it, any update will share to you.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:02:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484913#M29742</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-06-16T02:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484914#M29743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morty,&lt;/P&gt;&lt;P&gt;The most updated reply from the R&amp;amp;D team.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;I do the similar test in my side, and just one case can get the same issue as you share, that is enable "ESFC" bit in MCM_PLACR, if this bit is set, then MCU is stall when EEPROM do sector erase, after clear this bit, it can work well.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60157i9990AAD11B2ADFDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Yellow is to indicate the status of the EEPROM sector erasing , when it is low, EEPROM sector erase is on-going.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;and Blue is to use one timer to toggle one GPIO in its ISR.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;also please refer to attached code, and when input 'y' with UART1, it will trigger the EEPROM sector erase one time.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;so conclusion is it allow EEPROM sector erase and flash read operation simultaneous,however, please note if enable "ESFC" bit,&amp;nbsp; MCU will be stall when flash is busy.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 05:42:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484914#M29743</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-06-27T05:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484915#M29744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morty,&lt;/P&gt;&lt;P&gt;I was wondering if you can share some kinds of information about the application, production, it can help us to investigate the application further.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 02:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484915#M29744</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-06-29T02:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484916#M29745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late reply. &lt;/P&gt;&lt;P&gt;I've checked the "ESFC" bit in MCM_PLACR in my project, it always kept "0", and the problem still persists. &lt;/P&gt;&lt;P&gt;By the way, that example provided by R&amp;amp;D team seemed not to use KEA64. Instead, it used for KE series.&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/34187i2F5C0A08A75BD61D/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;Please check again.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Morty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2016 06:09:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/484916#M29745</guid>
      <dc:creator>mortyhsueh</dc:creator>
      <dc:date>2016-07-04T06:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-64 suspends during internal EEPROM erasing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/1248398#M59927</link>
      <description>&lt;P&gt;Thank you for posting the solution to this issue. I&lt;SPAN&gt;f MCM_PLACR [ESFC] = 0 and at the same time all interrupts and sub-functions are in RAM this issue disapeared.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gustavo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 20:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-64-suspends-during-internal-EEPROM-erasing/m-p/1248398#M59927</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2021-03-18T20:20:44Z</dc:date>
    </item>
  </channel>
</rss>

