<?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 MK64FN1M0VLQ12 protected chip and timeout for connection in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VLQ12-protected-chip-and-timeout-for-connection/m-p/623584#M37365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a problem with the MK64FN1M0VLQ12 on custom boards. I tried programming with two versions of micro PE (USB Multilink Universal and USB Multilink Universal FX) and Segger J-Link from KWIK-STIK, the result is protected chip or timeout for the connection.&lt;/P&gt;&lt;P&gt;I found several forum posts related to the secure Kinetis system, such as unlock command and erase_all script on J-Link, Kinetis_Recovery_Utility.exe from PEMicro. Try several, with no success.&lt;/P&gt;&lt;P&gt;I can not find the cause of this problem. I tested three boards and replaced five microcontrollers without success.&lt;BR /&gt;Following is the response of the J-Link commands on the three boards and the schematic of the microcontroller part.&lt;/P&gt;&lt;P&gt;I need help to find the cause this problem.&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEGGER J-Link Commander V6.14 (Compiled Feb 23 2017 17:30:02)&lt;BR /&gt;DLL version V6.14, compiled Feb 23 2017 17:29:32&lt;/P&gt;&lt;P&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link Lite-FSL V1 compiled Jun 25 2012 16:40:07&lt;BR /&gt;Hardware version: V1.00&lt;BR /&gt;S/N: 430110131&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;BOARD A&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;J-Link&amp;gt;st&lt;BR /&gt;VTarget=3.131V&lt;BR /&gt;ITarget=0mA&lt;BR /&gt;TCK=0 TDI=1 TDO=1 TMS=0 TRES=0 TRST=1&lt;BR /&gt;Supported target interface speeds:&lt;BR /&gt; - 4 MHz/n, (n&amp;gt;=1). =&amp;gt; 4000kHz, 2000kHz, 1333kHz, ...&lt;BR /&gt; - Adaptive clocking&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;unlock kinetis&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...Timeout while unlocking device.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x00000036&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Device "MK64FN1M0XXX12 (ALLOW SECURITY)" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&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;Found SWD-DP with ID 0x2BA01477&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;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;/P&gt;&lt;P&gt;Found SWD-DP with ID 0x2BA01477&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;Found SWD-DP with ID 0x2BA01477&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;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;/P&gt;&lt;P&gt;Cannot connect to target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;BOARD B&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;st&lt;BR /&gt;VTarget=3.104V&lt;BR /&gt;ITarget=0mA&lt;BR /&gt;TCK=0 TDI=1 TDO=0 TMS=0 TRES=0 TRST=1&lt;BR /&gt;Supported target interface speeds:&lt;BR /&gt; - 4 MHz/n, (n&amp;gt;=1). =&amp;gt; 4000kHz, 2000kHz, 1333kHz, ...&lt;BR /&gt; - Adaptive clocking&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;unlock kinetis&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...Timeout while unlocking device.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x00000034&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Device "MK64FN1M0XXX12 (ALLOW SECURITY)" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&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;Found SWD-DP with ID 0x2BA01477&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;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;/P&gt;&lt;P&gt;Found SWD-DP with ID 0x2BA01477&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;Found SWD-DP with ID 0x2BA01477&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;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;/P&gt;&lt;P&gt;Cannot connect to target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;BOARD C&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;unlock kinetis&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...O.K.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x00000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x00000033&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Device "MK64FN1M0XXX12 (ALLOW SECURITY)" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while halting CPU. CPU does not stop.&lt;/P&gt;&lt;P&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while halting CPU. CPU does not stop.&lt;/P&gt;&lt;P&gt;Cannot connect to target.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Mar 2017 15:40:17 GMT</pubDate>
    <dc:creator>davicampos_le</dc:creator>
    <dc:date>2017-03-06T15:40:17Z</dc:date>
    <item>
      <title>MK64FN1M0VLQ12 protected chip and timeout for connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VLQ12-protected-chip-and-timeout-for-connection/m-p/623584#M37365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a problem with the MK64FN1M0VLQ12 on custom boards. I tried programming with two versions of micro PE (USB Multilink Universal and USB Multilink Universal FX) and Segger J-Link from KWIK-STIK, the result is protected chip or timeout for the connection.&lt;/P&gt;&lt;P&gt;I found several forum posts related to the secure Kinetis system, such as unlock command and erase_all script on J-Link, Kinetis_Recovery_Utility.exe from PEMicro. Try several, with no success.&lt;/P&gt;&lt;P&gt;I can not find the cause of this problem. I tested three boards and replaced five microcontrollers without success.&lt;BR /&gt;Following is the response of the J-Link commands on the three boards and the schematic of the microcontroller part.&lt;/P&gt;&lt;P&gt;I need help to find the cause this problem.&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEGGER J-Link Commander V6.14 (Compiled Feb 23 2017 17:30:02)&lt;BR /&gt;DLL version V6.14, compiled Feb 23 2017 17:29:32&lt;/P&gt;&lt;P&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link Lite-FSL V1 compiled Jun 25 2012 16:40:07&lt;BR /&gt;Hardware version: V1.00&lt;BR /&gt;S/N: 430110131&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;BOARD A&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;J-Link&amp;gt;st&lt;BR /&gt;VTarget=3.131V&lt;BR /&gt;ITarget=0mA&lt;BR /&gt;TCK=0 TDI=1 TDO=1 TMS=0 TRES=0 TRST=1&lt;BR /&gt;Supported target interface speeds:&lt;BR /&gt; - 4 MHz/n, (n&amp;gt;=1). =&amp;gt; 4000kHz, 2000kHz, 1333kHz, ...&lt;BR /&gt; - Adaptive clocking&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;unlock kinetis&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...Timeout while unlocking device.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x00000036&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Device "MK64FN1M0XXX12 (ALLOW SECURITY)" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&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;Found SWD-DP with ID 0x2BA01477&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;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;/P&gt;&lt;P&gt;Found SWD-DP with ID 0x2BA01477&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;Found SWD-DP with ID 0x2BA01477&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;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;/P&gt;&lt;P&gt;Cannot connect to target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;BOARD B&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;st&lt;BR /&gt;VTarget=3.104V&lt;BR /&gt;ITarget=0mA&lt;BR /&gt;TCK=0 TDI=1 TDO=0 TMS=0 TRES=0 TRST=1&lt;BR /&gt;Supported target interface speeds:&lt;BR /&gt; - 4 MHz/n, (n&amp;gt;=1). =&amp;gt; 4000kHz, 2000kHz, 1333kHz, ...&lt;BR /&gt; - Adaptive clocking&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;unlock kinetis&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...Timeout while unlocking device.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x00000034&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Device "MK64FN1M0XXX12 (ALLOW SECURITY)" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&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;Found SWD-DP with ID 0x2BA01477&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;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;/P&gt;&lt;P&gt;Found SWD-DP with ID 0x2BA01477&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;Found SWD-DP with ID 0x2BA01477&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;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;/P&gt;&lt;P&gt;Cannot connect to target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;BOARD C&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;unlock kinetis&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...O.K.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x00000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x00000033&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Device "MK64FN1M0XXX12 (ALLOW SECURITY)" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while halting CPU. CPU does not stop.&lt;/P&gt;&lt;P&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while halting CPU. CPU does not stop.&lt;/P&gt;&lt;P&gt;Cannot connect to target.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 15:40:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VLQ12-protected-chip-and-timeout-for-connection/m-p/623584#M37365</guid>
      <dc:creator>davicampos_le</dc:creator>
      <dc:date>2017-03-06T15:40:17Z</dc:date>
    </item>
  </channel>
</rss>

