<?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 secured &amp; mass erase disabled Kinets MK10FN1M0XXX12 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/secured-mass-erase-disabled-Kinets-MK10FN1M0XXX12/m-p/774558#M47091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello.&lt;BR /&gt;i have NXP&amp;nbsp;MK10FN1M0XXX12 device.&lt;BR /&gt;i think its locked permanently..&amp;nbsp;I&amp;nbsp;cant burn a new code with KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I enter JLink commander (JLink.exe) and insert "erase" cmd, it gives me:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;InitTarget()&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;&lt;P&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00&lt;BR /&gt;AP[1]: Skipped. Not an AHB-AP&lt;BR /&gt;Could not find core in Coresight setup&lt;BR /&gt;Erase Thread exited &lt;BR /&gt;Initialization of debug session failed.&lt;BR /&gt;Could not connect to target.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;so I tried to read the memory&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x400 - 0x40F:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;InitTarget()&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;&lt;P&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00&lt;BR /&gt;AP[1]: Skipped. Not an AHB-AP&lt;/P&gt;&lt;P&gt;Could not&amp;nbsp;read memory.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;also, when I command `erase` in JLink commander:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InitTarget()&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;&lt;P&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00&lt;BR /&gt;AP[1]: Skipped. Not an AHB-AP&lt;BR /&gt;ERROR: Erase returned with error code -1.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also `unlock kinetis` command&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...Timeout while unlocking device.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;so any of you guys know how to erase it? assuming i can..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Apr 2018 13:24:22 GMT</pubDate>
    <dc:creator>matanhasan</dc:creator>
    <dc:date>2018-04-08T13:24:22Z</dc:date>
    <item>
      <title>secured &amp; mass erase disabled Kinets MK10FN1M0XXX12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/secured-mass-erase-disabled-Kinets-MK10FN1M0XXX12/m-p/774558#M47091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello.&lt;BR /&gt;i have NXP&amp;nbsp;MK10FN1M0XXX12 device.&lt;BR /&gt;i think its locked permanently..&amp;nbsp;I&amp;nbsp;cant burn a new code with KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I enter JLink commander (JLink.exe) and insert "erase" cmd, it gives me:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;InitTarget()&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;&lt;P&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00&lt;BR /&gt;AP[1]: Skipped. Not an AHB-AP&lt;BR /&gt;Could not find core in Coresight setup&lt;BR /&gt;Erase Thread exited &lt;BR /&gt;Initialization of debug session failed.&lt;BR /&gt;Could not connect to target.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;so I tried to read the memory&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x400 - 0x40F:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;InitTarget()&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;&lt;P&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00&lt;BR /&gt;AP[1]: Skipped. Not an AHB-AP&lt;/P&gt;&lt;P&gt;Could not&amp;nbsp;read memory.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;also, when I command `erase` in JLink commander:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InitTarget()&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;&lt;P&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00&lt;BR /&gt;AP[1]: Skipped. Not an AHB-AP&lt;BR /&gt;ERROR: Erase returned with error code -1.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also `unlock kinetis` command&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...Timeout while unlocking device.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;so any of you guys know how to erase it? assuming i can..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2018 13:24:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/secured-mass-erase-disabled-Kinets-MK10FN1M0XXX12/m-p/774558#M47091</guid>
      <dc:creator>matanhasan</dc:creator>
      <dc:date>2018-04-08T13:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: secured &amp; mass erase disabled Kinets MK10FN1M0XXX12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/secured-mass-erase-disabled-Kinets-MK10FN1M0XXX12/m-p/774559#M47092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that you bricked you chip. (PS: Did you use NXP evaluation boar or a customer board?) Regarding this issue, please make reference from below post here:&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/301600?commentID=810487#comment-810487" title="https://community.nxp.com/thread/301600?commentID=810487#comment-810487"&gt;https://community.nxp.com/thread/301600?commentID=810487#comment-810487&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 08:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/secured-mass-erase-disabled-Kinets-MK10FN1M0XXX12/m-p/774559#M47092</guid>
      <dc:creator>miduo</dc:creator>
      <dc:date>2018-04-11T08:32:55Z</dc:date>
    </item>
  </channel>
</rss>

