<?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: Kinetis Flash ERASE failure in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-ERASE-failure/m-p/771099#M46909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have fought this issue with a different microcontroller (kinetis K20).&amp;nbsp; I never did figure out exactly what was causing it.&amp;nbsp; &amp;nbsp;I did however figure out how to avoid it in my case.&amp;nbsp; I discovered if I unplugged the Jlink from the computer usb before plugging my programming header in and unplugged it after programming but before unplugging the header all my problems went away.&amp;nbsp; I suspect that voltage being on swd lines before the microcontroller powers all the way up may be able corrupt the flash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2018 20:41:29 GMT</pubDate>
    <dc:creator>jasonclifton</dc:creator>
    <dc:date>2018-01-25T20:41:29Z</dc:date>
    <item>
      <title>Kinetis Flash ERASE failure</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-ERASE-failure/m-p/771098#M46908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helloe folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a custom board using MKW01Z128CHN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are few boards that I am unable to program using JLink (SWD mode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All ICs are new from factory, assuming flash would be empty. Hence RST pin would toggle as in snapshot attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some cases, as attached logs show, I am able to successfully unlock flash using jlink commander as well, but unable to ERASE flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly share your thoughts...really appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached JLink commander Logs, and couple of snapshots (RST pin toggle &amp;amp; JFlash chip erase error)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 09:31:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-ERASE-failure/m-p/771098#M46908</guid>
      <dc:creator>saurabhjhamb</dc:creator>
      <dc:date>2018-01-08T09:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash ERASE failure</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-ERASE-failure/m-p/771099#M46909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have fought this issue with a different microcontroller (kinetis K20).&amp;nbsp; I never did figure out exactly what was causing it.&amp;nbsp; &amp;nbsp;I did however figure out how to avoid it in my case.&amp;nbsp; I discovered if I unplugged the Jlink from the computer usb before plugging my programming header in and unplugged it after programming but before unplugging the header all my problems went away.&amp;nbsp; I suspect that voltage being on swd lines before the microcontroller powers all the way up may be able corrupt the flash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 20:41:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-ERASE-failure/m-p/771099#M46909</guid>
      <dc:creator>jasonclifton</dc:creator>
      <dc:date>2018-01-25T20:41:29Z</dc:date>
    </item>
  </channel>
</rss>

