<?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: How to solve &amp;quot;lockup reset&amp;quot; issue when programming or erasing KL26 flash in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695533#M42795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui_Ma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your approach to change the start address but the lockup reset does still happen.&lt;/P&gt;&lt;P&gt;Could you have other ideas to solve the issue please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 02:36:44 GMT</pubDate>
    <dc:creator>yenhsu</dc:creator>
    <dc:date>2017-08-28T02:36:44Z</dc:date>
    <item>
      <title>How to solve "lockup reset" issue when programming or erasing KL26 flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695531#M42793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;When I do Program Flash Sector Erase, bit1 (Lockup) in the RCM bloc is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;Here is my example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;=========&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;FTFA_FCCOB0 = 0x09;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt; FTFA_FCCOB1 = 0x01;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt; FTFA_FCCOB2 = 0xFF;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt; FTFA_FCCOB3 = 0xF0;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt; /* All required FCCOBx registers are written, so launch the command */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt; FTFA_FSTAT = FTFA_FSTAT_CCIF_MASK;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;/* Wait for the command to complete */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt; while(!(FTFA_FSTAT &amp;amp; FTFA_FSTAT_CCIF_MASK));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;=========&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #000000;"&gt;The Lockup Reset always happens when system auto run or I set a breakpoint at the line, "while(!(FTFA_FSTAT &amp;amp; FTFA_FSTAT_CCIF_MASK));". However, it seems to happen less if I set a breakpoint at the line, "FTFA_FSTAT = FTFA_FSTAT_CCIF_MASK;" and then do single step.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;Could anyone give me a big favor to teach me how to solve the issue???&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;Chris.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 05:55:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695531#M42793</guid>
      <dc:creator>yenhsu</dc:creator>
      <dc:date>2017-08-10T05:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve "lockup reset" issue when programming or erasing KL26 flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695532#M42794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the KL26 Flash sector size is 1KB, the sector erase address should be 1KB aligned.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18401i977A2CB72710A32C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For customer erase sector start address is 0x1FFF0, which is not 1KB aligned.&lt;/P&gt;&lt;P&gt;Please change the sector start address to 0x1FFC0 and try.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 11 Aug 2017 02:42:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695532#M42794</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-08-11T02:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve "lockup reset" issue when programming or erasing KL26 flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695533#M42795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui_Ma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your approach to change the start address but the lockup reset does still happen.&lt;/P&gt;&lt;P&gt;Could you have other ideas to solve the issue please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 02:36:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695533#M42795</guid>
      <dc:creator>yenhsu</dc:creator>
      <dc:date>2017-08-28T02:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve "lockup reset" issue when programming or erasing KL26 flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695534#M42796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the later reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you call the Flash operation code located in Flash memory.&lt;/P&gt;&lt;P&gt;Please refer &lt;A href="http://www.nxp.com/docs/en/application-note/AN4695.pdf"&gt;AN4695&lt;/A&gt; to avoid read while write Errors of Flash operation.&lt;/P&gt;&lt;P&gt;The related software AN4695SW could be downloaded at &lt;A href="http://www.nxp.com/docs/en/application-note-software/AN4695SW.zip"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;While, I also recommend to download the [&lt;A href="http://www.nxp.com/downloads/en/device-drivers/C90TFS-FLASH-DRIVER-DEVD.exe"&gt;TFS Flash Driver Software for Kinetis® and ColdFire+ Microcontrollers(REV 1.04)&lt;/A&gt; ] software package, which provide Kinetis product Flash driver and demo.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 30 Aug 2017 07:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695534#M42796</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-08-30T07:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve "lockup reset" issue when programming or erasing KL26 flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695535#M42797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui Ma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got you. I will try to study it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 09:23:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-solve-quot-lockup-reset-quot-issue-when-programming-or/m-p/695535#M42797</guid>
      <dc:creator>yenhsu</dc:creator>
      <dc:date>2017-08-31T09:23:01Z</dc:date>
    </item>
  </channel>
</rss>

