<?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: K66F MCU gets blocked. No communication possible in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010297#M56078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry, thanks for the response.&lt;/P&gt;&lt;P&gt;We are using a MK66FN2m0xxx18 and yes, it is our own PCB.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2020 10:11:18 GMT</pubDate>
    <dc:creator>alejandrosancho</dc:creator>
    <dc:date>2020-01-15T10:11:18Z</dc:date>
    <item>
      <title>K66F MCU gets blocked. No communication possible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010295#M56076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to upload code through a bootloader we've implemented on our k66f and after loading the firmware we wanted to update, it enters in an state in which we cannot connect any more with it.&lt;/P&gt;&lt;P&gt;This is the script I get through J-link Commander:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connecting to target via SWD&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&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;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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&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;****** Error: Could not find core in Coresight setup&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&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;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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&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;Cannot connect to target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has already happened 3 times and we cannot recover from this state. I've tried to send: unlock Kinetis on J-link commander as well as reset the "reset" pin in the J-link commander. And there is no way to recover it. I do not know what steps lead to this situation and I cannot replicate it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 17:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010295#M56076</guid>
      <dc:creator>alejandrosancho</dc:creator>
      <dc:date>2020-01-14T17:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: K66F MCU gets blocked. No communication possible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010296#M56077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-userid="297503" data-username="alejandrosancho" href="https://community.nxp.com/people/alejandrosancho"&gt;alejandrosancho&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; What's the board you are using? The official board or your own designed board?&lt;/P&gt;&lt;P&gt;&amp;nbsp; If the unlock kinetis also can unlock it, maybe your chip is secured to the highest level.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please check this document at first:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/servlet/JiveServlet/download/857127-1-396709/Kinetis Lock issue analysis and unlock way.pdf" title="https://community.nxp.com/servlet/JiveServlet/download/857127-1-396709/Kinetis%20Lock%20issue%20analysis%20and%20unlock%20way.pdf"&gt;https://community.nxp.com/servlet/JiveServlet/download/857127-1-396709/Kinetis%20Lock%20issue%20analysis%20and%20unlock%…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Any updated information, please kindly let me know.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 09:40:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010296#M56077</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-01-15T09:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: K66F MCU gets blocked. No communication possible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010297#M56078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry, thanks for the response.&lt;/P&gt;&lt;P&gt;We are using a MK66FN2m0xxx18 and yes, it is our own PCB.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 10:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010297#M56078</guid>
      <dc:creator>alejandrosancho</dc:creator>
      <dc:date>2020-01-15T10:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: K66F MCU gets blocked. No communication possible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010298#M56079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that we can find the SWD-DP interface which puts us on step 6. However, the script outputed from the reset pin script is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J-Link connection not established yet but required for command.&lt;BR /&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link V10 compiled Jan 7 2020 16:51:47&lt;BR /&gt;Hardware version: V10.10&lt;BR /&gt;S/N: 50114001&lt;BR /&gt;License(s): GDB&lt;BR /&gt;VTref=3.303V&lt;BR /&gt;Selecting 1000 kHz as target interface speed&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Target connection not established yet but required for command.&lt;BR /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: MK66FN2M0XXX18&lt;BR /&gt;Type '?' for selection dialog&lt;BR /&gt;Device&amp;gt;&lt;BR /&gt;Please specify target interface:&lt;BR /&gt; J) JTAG (Default)&lt;BR /&gt; S) SWD&lt;BR /&gt; T) cJTAG&lt;BR /&gt;TIF&amp;gt;&lt;BR /&gt;Device position in JTAG chain (IRPre,DRPre) &amp;lt;Default&amp;gt;: -1,-1 =&amp;gt; Auto-detect&lt;BR /&gt;JTAGConf&amp;gt;&lt;BR /&gt;Device "MK66FN2M0XXX18" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via JTAG&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&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;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;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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;/P&gt;&lt;P&gt;****** Error: Could not find core in Coresight setup&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;BR /&gt;Cannot connect to target.&lt;/P&gt;&lt;P&gt;Target connection not established yet but required for command.&lt;BR /&gt;Device "MK66FN2M0XXX18" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via JTAG&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&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;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;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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;/P&gt;&lt;P&gt;****** Error: Could not find core in Coresight setup&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;BR /&gt;Cannot connect to target.&lt;/P&gt;&lt;P&gt;Target connection not established yet but required for command.&lt;BR /&gt;Device "MK66FN2M0XXX18" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via JTAG&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&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;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;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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;/P&gt;&lt;P&gt;****** Error: Could not find core in Coresight setup&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Readout protection is set and mass erase is disabled. J-Link cannot unprotect the device.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;BR /&gt;Cannot connect to target.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sleep(1000)&lt;/P&gt;&lt;P&gt;Selecting SWD as current target interface.&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Select SWD by sending SWD switching sequence.&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Write DP register 2 = 0x01000000&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Read AP register 0 = 0x00000000&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Read AP register 0 = 0x00000037&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Read AP register 1 = 0x00000037&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Read AP register 1 = 0x00000000&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Read AP register 0 = 0x00000000&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Read AP register 0 = 0x00000037&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Write AP register 1 = 0x00000001&lt;/P&gt;&lt;P&gt;Sleep(1000)&lt;/P&gt;&lt;P&gt;Read AP register 0 = 0x00000037&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Read AP register 0 = 0x00000037&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Read AP register 1 = 0x00000037&lt;/P&gt;&lt;P&gt;Sleep(10)&lt;/P&gt;&lt;P&gt;Read AP register 1 = 0x00000001&lt;/P&gt;&lt;P&gt;Sleep(100)&lt;/P&gt;&lt;P&gt;Write DP register 2 = 0x00000000&lt;/P&gt;&lt;P&gt;Sleep(1000)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Selecting JTAG as current target interface.&lt;/P&gt;&lt;P&gt;Sleep(100)&lt;/P&gt;&lt;P&gt;Target connection not established yet but required for command.&lt;BR /&gt;Device "MK66FN2M0XXX18" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via JTAG&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&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;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;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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;/P&gt;&lt;P&gt;****** Error: Could not find core in Coresight setup&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;BR /&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;BR /&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Timeout while halting CPU.&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt; #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&lt;BR /&gt;Cannot connect to target.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Script processing completed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 10:51:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010298#M56079</guid>
      <dc:creator>alejandrosancho</dc:creator>
      <dc:date>2020-01-15T10:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: K66F MCU gets blocked. No communication possible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010299#M56080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-userid="297503" data-username="alejandrosancho" href="https://community.nxp.com/people/alejandrosancho"&gt;alejandrosancho，&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; Please check your hardware these points:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1. NMI pin add the external 4.7K pullup resistor?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2. SWD_DIO need to add external 10K pull up&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;3. reset _b pin need to add external 10K pull up, and 0.1uf capacitor to ground.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;BTW, do you try the SWD interface with the JLINK and JLINK commander window directly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Please use the SWD, and unlock kinetis, then connect it again, can you find the arm core?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;If you still can't find the ARM core, it means your hardware still have problems.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;How many board you have test, all have the connection problems?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Whether you can connect it in the previous time, or just the new board, the first time connection is failure?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you ha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 02:42:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010299#M56080</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-01-16T02:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: K66F MCU gets blocked. No communication possible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010300#M56081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;/P&gt;&lt;P&gt;For debugger connection the device needs to be unsecured&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;My guess is that these lines are important:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;does your bootloader, or the application itself, write anything into 0x400..0x40F ?&lt;/LI&gt;&lt;LI&gt;Can you change your bootloader and application to report the contents of 0x400..0x40F ?&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 11:07:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1010300#M56081</guid>
      <dc:creator>stephenlangstaf</dc:creator>
      <dc:date>2020-01-16T11:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: K66F MCU gets blocked. No communication possible</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1422170#M62543</link>
      <description>&lt;P&gt;This was helpful for my situation, thanks! I was getting the same error message and the solution was to pull NMI high. I am using the FRDM-K66F board and am trying to run it with P3V3 off (only P3V3_K66F on) in order to reduce power. The NMI is pulled up to P3V3 so this was the problem! Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 19:12:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66F-MCU-gets-blocked-No-communication-possible/m-p/1422170#M62543</guid>
      <dc:creator>robinwillis</dc:creator>
      <dc:date>2022-03-02T19:12:02Z</dc:date>
    </item>
  </channel>
</rss>

