<?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: MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.   How to reset to factory settings? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515385#M32591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but that doesn’t work.  Something in NV was set when the KL02 was programmed to a KL16 and then back to a KL02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike Stevens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2016 13:39:37 GMT</pubDate>
    <dc:creator>mikestevens53</dc:creator>
    <dc:date>2016-06-13T13:39:37Z</dc:date>
    <item>
      <title>MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.   How to reset to factory settings?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515383#M32589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.&amp;nbsp; The application is in flash and seems OK, but the KL02 isn't responding to commands properly.&amp;nbsp; I suspect some incorrect register settings.&amp;nbsp; We tried reprogramming the part as a KL02, but that didn't fix the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there a way to reset the KL02z32 back to a factory reset state? &lt;/STRONG&gt; We have both PEMicro and IAR tools available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found that a key operational difference is that my I2C lines look like they are going into contention (Data being held low, Clock at about 50% of it's normal voltage level after some initial code runs.&amp;nbsp; The I2C uses PTB3 and PTB4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today I also discovered that a number of memory values in in 0x400x xxxx and 0xe000 xxxx are different between a working product and the mis-programmed products.&amp;nbsp; Some of this makes sense since they are counters and comparators, but other values don't make sense, and I can't find a way to edit them.&amp;nbsp; Is there a way to cause this area to reset to default or factory settings?&amp;nbsp; Or edit these locations?&amp;nbsp; I've again verified that the lower flash area (bootloader and application) are identical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 14:46:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515383#M32589</guid>
      <dc:creator>mikestevens53</dc:creator>
      <dc:date>2016-06-06T14:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.   How to reset to factory settings?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515384#M32590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike Stevens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can apply a mass erase to the flash and reset your device back to factory memory state, there is a way by the J-Link commander, please check &lt;A href="https://mcuoneclipse.com/2014/10/05/unlocking-and-erasing-flash-with-segger-j-link/" title="https://mcuoneclipse.com/2014/10/05/unlocking-and-erasing-flash-with-segger-j-link/"&gt;https://mcuoneclipse.com/2014/10/05/unlocking-and-erasing-flash-with-segger-j-link/&lt;/A&gt;&amp;nbsp; where they explain how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Memory values 0x400x xxxx and 0xe000 xxxx are memory that you could program by your application, you can configure it as you working product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me if you have any question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 23:46:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515384#M32590</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2016-06-10T23:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.   How to reset to factory settings?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515385#M32591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but that doesn’t work.  Something in NV was set when the KL02 was programmed to a KL16 and then back to a KL02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike Stevens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 13:39:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515385#M32591</guid>
      <dc:creator>mikestevens53</dc:creator>
      <dc:date>2016-06-13T13:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.   How to reset to factory settings?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515386#M32592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike Stevens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean with NV? non-volatile memory? the mass erase should erase your flash memory. Could you share your project and be more specific with the expected result and the values that you get?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 22:58:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515386#M32592</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2016-06-13T22:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.   How to reset to factory settings?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515387#M32593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then to a “masserase – erase chip”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 13:39:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515387#M32593</guid>
      <dc:creator>mikestevens53</dc:creator>
      <dc:date>2016-06-14T13:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.   How to reset to factory settings?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515388#M32594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike Stevens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I didn't get what you say in the last post. What I see in your image is that you succesfully made a masserase. I use J-Link.exe from SEGGER, this is what I got:&lt;/P&gt;&lt;P&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/59886iDB7CACD9C6718675/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;/P&gt;&lt;P&gt;After this, And if you didn't secure your device, you should be able to program normally.&lt;BR /&gt;Hope this helps&lt;BR /&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 00:48:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515388#M32594</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2016-06-15T00:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.   How to reset to factory settings?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515389#M32595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, the Command Windows pictures claims that it did the mass erase, but also notes that there was an issue with “0x1C0020 is not correct”.  Also functionality is still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I borrowed a J-Link from a local NXP support person, used the command line utility to do a unlock Kinetis + erase, and that allowed the part to start working again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike Stevens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:37:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515389#M32595</guid>
      <dc:creator>mikestevens53</dc:creator>
      <dc:date>2016-06-15T13:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: MKL02z32 was programmed as a MKL16Z128 using PEMicro tools.   How to reset to factory settings?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515390#M32596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike Stevens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to hear that your part is working again. There shouldn't be problem with the IDR as 0x1C0020 because Kinetis-K series has ID:0x001C0000 and Kinetis(L/M/V/E) series have ID:0x001C0020 on MDM-AP IDR register:&lt;/P&gt;&lt;P&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/59705iDEEEF455959E4DC2/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;Although, I will check this in the SigFlashCmd.exe for further information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day.&lt;BR /&gt;Jorge Alcala&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, 15 Jun 2016 15:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL02z32-was-programmed-as-a-MKL16Z128-using-PEMicro-tools-How/m-p/515390#M32596</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2016-06-15T15:15:45Z</dc:date>
    </item>
  </channel>
</rss>

