<?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 MK20DX256VLH7 Jlink Problem readout protection in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1258709#M60120</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i have some problems with my mk20dx256vlh7 boards. Some of them work perfectly, but i have boards they seem to by protected.i have checked the soldering, vbat, reset and connector everything is fine. i use the segger jlink flash tool. is there any reset script or an other trick to remove the protection?&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting ...&lt;BR /&gt;- Connecting via USB to probe/ programmer device 0&lt;BR /&gt;- Probe/ Programmer firmware: J-Link EDU Mini V1 compiled Jan 4 2021 16:18:35&lt;BR /&gt;- Device "MK20DX256XXX7" selected.&lt;BR /&gt;- Target interface speed: 4000 kHz (Fixed)&lt;BR /&gt;- VTarget = 3.299V&lt;BR /&gt;- InitTarget()&lt;BR /&gt;- Connect Under Reset&lt;BR /&gt;- Communication error while accessing MDM-AP.&lt;BR /&gt;- Connect Under Reset&lt;BR /&gt;- InitTarget()&lt;BR /&gt;- Connect Under Reset&lt;BR /&gt;- Communication error while accessing MDM-AP.&lt;BR /&gt;- Connect Under Reset&lt;BR /&gt;- ERROR: InitTarget(): PCode returned with error code -1&lt;BR /&gt;- ERROR: Failed to connect.&lt;BR /&gt;Could not establish a connection to target.&lt;BR /&gt;Connecting ...&lt;BR /&gt;- Connecting via USB to probe/ programmer device 0&lt;BR /&gt;- Probe/ Programmer firmware: J-Link EDU Mini V1 compiled Jan 4 2021 16:18:35&lt;BR /&gt;- Device "MK20DX256XXX7" selected.&lt;BR /&gt;- Target interface speed: 4000 kHz (Fixed)&lt;BR /&gt;- VTarget = 3.298V&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;/P&gt;&lt;P&gt;- Executing default behavior previously saved in the registry.&lt;BR /&gt;- Device will be unsecured now.&lt;BR /&gt;- Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;- Found SW-DP with ID 0x2BA01477&lt;BR /&gt;- DPIDR: 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. Could not read CPUID register&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;/P&gt;&lt;P&gt;- Executing default behavior previously saved in the registry.&lt;BR /&gt;- Device will be unsecured now.&lt;BR /&gt;- Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;- Found SW-DP with ID 0x2BA01477&lt;BR /&gt;- DPIDR: 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. Could not read CPUID register&lt;BR /&gt;- AP[1]: Skipped. Not an AHB-AP&lt;BR /&gt;- ERROR: Could not find core in Coresight setup&lt;BR /&gt;code -1&lt;BR /&gt;- ERROR: Failed to connect.&lt;BR /&gt;Could not establish a connection to target.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Apr 2021 08:32:24 GMT</pubDate>
    <dc:creator>flesky</dc:creator>
    <dc:date>2021-04-08T08:32:24Z</dc:date>
    <item>
      <title>MK20DX256VLH7 Jlink Problem readout protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1258709#M60120</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i have some problems with my mk20dx256vlh7 boards. Some of them work perfectly, but i have boards they seem to by protected.i have checked the soldering, vbat, reset and connector everything is fine. i use the segger jlink flash tool. is there any reset script or an other trick to remove the protection?&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting ...&lt;BR /&gt;- Connecting via USB to probe/ programmer device 0&lt;BR /&gt;- Probe/ Programmer firmware: J-Link EDU Mini V1 compiled Jan 4 2021 16:18:35&lt;BR /&gt;- Device "MK20DX256XXX7" selected.&lt;BR /&gt;- Target interface speed: 4000 kHz (Fixed)&lt;BR /&gt;- VTarget = 3.299V&lt;BR /&gt;- InitTarget()&lt;BR /&gt;- Connect Under Reset&lt;BR /&gt;- Communication error while accessing MDM-AP.&lt;BR /&gt;- Connect Under Reset&lt;BR /&gt;- InitTarget()&lt;BR /&gt;- Connect Under Reset&lt;BR /&gt;- Communication error while accessing MDM-AP.&lt;BR /&gt;- Connect Under Reset&lt;BR /&gt;- ERROR: InitTarget(): PCode returned with error code -1&lt;BR /&gt;- ERROR: Failed to connect.&lt;BR /&gt;Could not establish a connection to target.&lt;BR /&gt;Connecting ...&lt;BR /&gt;- Connecting via USB to probe/ programmer device 0&lt;BR /&gt;- Probe/ Programmer firmware: J-Link EDU Mini V1 compiled Jan 4 2021 16:18:35&lt;BR /&gt;- Device "MK20DX256XXX7" selected.&lt;BR /&gt;- Target interface speed: 4000 kHz (Fixed)&lt;BR /&gt;- VTarget = 3.298V&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;/P&gt;&lt;P&gt;- Executing default behavior previously saved in the registry.&lt;BR /&gt;- Device will be unsecured now.&lt;BR /&gt;- Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;- Found SW-DP with ID 0x2BA01477&lt;BR /&gt;- DPIDR: 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. Could not read CPUID register&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;/P&gt;&lt;P&gt;- Executing default behavior previously saved in the registry.&lt;BR /&gt;- Device will be unsecured now.&lt;BR /&gt;- Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;- Found SW-DP with ID 0x2BA01477&lt;BR /&gt;- DPIDR: 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. Could not read CPUID register&lt;BR /&gt;- AP[1]: Skipped. Not an AHB-AP&lt;BR /&gt;- ERROR: Could not find core in Coresight setup&lt;BR /&gt;code -1&lt;BR /&gt;- ERROR: Failed to connect.&lt;BR /&gt;Could not establish a connection to target.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 08:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1258709#M60120</guid>
      <dc:creator>flesky</dc:creator>
      <dc:date>2021-04-08T08:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Jlink Problem readout protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1259854#M60147</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185419"&gt;@flesky&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you try yo use the J-Link commander to try to unlock your chip?&lt;/P&gt;
&lt;P&gt;After typing connect, and ? to open the following&amp;nbsp; device selection window.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1617995664024.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141911iBC6694AD8FDC2848/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_1-1617995664024.png" alt="diego_charles_1-1617995664024.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Make sure to select the part with the&amp;nbsp; ALLOW SECURITY option.&lt;/P&gt;
&lt;P&gt;Then , type the&amp;nbsp; unlock kinetis command.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of me using unlocking a secured KL03Z (In my case I actually enabled flash protection features previously)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1617995547569.png" style="width: 374px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141910i9740D64FD0C1C697/image-dimensions/374x542?v=v2" width="374" height="542" role="button" title="diego_charles_0-1617995547569.png" alt="diego_charles_0-1617995547569.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After performing the unlock and see the ok return status , I use to continue with the erase command,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1617995933350.png" style="width: 787px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141912iC4EE2E130126ACE0/image-dimensions/787x65?v=v2" width="787" height="65" role="button" title="diego_charles_0-1617995933350.png" alt="diego_charles_0-1617995933350.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then I if the debug is enabled again.&lt;/P&gt;
&lt;P&gt;Wish this helps,&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 19:22:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1259854#M60147</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-04-09T19:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Jlink Problem readout protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1260701#M60162</link>
      <description>&lt;P&gt;Hi Diego!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your Help. Do you have an other idea? After i connect via SWD it automatical fails on timeout while unsecuring devices. so i cannot enter unsecure kinetis&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142044i1D5A9ACDD477048F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 18:05:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1260701#M60162</guid>
      <dc:creator>flesky</dc:creator>
      <dc:date>2021-04-12T18:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Jlink Problem readout protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1264305#M60267</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;any other ideas? if not, i have to rework 15boards &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt; &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 11:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1264305#M60267</guid>
      <dc:creator>flesky</dc:creator>
      <dc:date>2021-04-19T11:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Jlink Problem readout protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1265500#M60300</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185419"&gt;@flesky&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for letting me know,&lt;/P&gt;
&lt;P&gt;Check that your application firmware do not have any configuration in the flash configuration settings. They are&amp;nbsp; described in the following&amp;nbsp; post &lt;A href="https://mcuoneclipse.com/2012/11/04/how-not-to-secure-my-microcontroller/" target="_self"&gt;&lt;FONT size="4"&gt;&lt;FONT size="3"&gt;How (not) to Secure my&amp;nbsp;Microcontroller&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/A&gt; ( I am not sure if you are getting this error only with&amp;nbsp; several boards of your batch , or if all of them are failing)&lt;/P&gt;
&lt;P&gt;Regarding physical connection , check that&amp;nbsp; the PINs corresponding to SWD do not have any other functionality, , or that they are not muxed to be digital pins for example.&lt;/P&gt;
&lt;P&gt;Depending on your&amp;nbsp; IDE&amp;nbsp; and available debuggers in your workbench there are other procedures that may help .For example, the MCUxpresso IDE has the GUI Flash tool that lets you resurrect locked MCUs by overwriting the memory contents of at the 0x400 offset.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1618971666981.png" style="width: 443px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142825iD2191C752B59B747/image-dimensions/443x374?v=v2" width="443" height="374" role="button" title="diego_charles_0-1618971666981.png" alt="diego_charles_0-1618971666981.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(The GUI Flash tool supports Segger, CMSIS DAP and PE- Micro debug probes)&lt;/P&gt;
&lt;P&gt;My apologies for the delay (unfortunately I had missed your reply)&lt;/P&gt;
&lt;P&gt;Let me know your findings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 02:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1265500#M60300</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-04-21T02:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Jlink Problem readout protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1380953#M61980</link>
      <description>&lt;P&gt;Hi flesky,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you fix this issue, Jlink program readout protection? And how fix?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 03:16:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/1380953#M61980</guid>
      <dc:creator>chhsu0229</dc:creator>
      <dc:date>2021-12-03T03:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Jlink Problem readout protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/2033471#M67216</link>
      <description>&lt;P&gt;Have the same problem, could you find the ansewere&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firmware: J-Link V12 compiled Dec&amp;nbsp; 4 2024 17:53:50&lt;BR /&gt;Hardware version: V12.00&lt;BR /&gt;J-Link uptime (since boot): 0d 02h 49m 14s&lt;BR /&gt;S/N: 822000059&lt;BR /&gt;License(s): GDB&lt;BR /&gt;USB speed mode: High speed (480 MBit/s)&lt;BR /&gt;VTref=3.290V&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type "connect" to establish a target connection, '?' for help&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: MKE06Z128XXX4&lt;BR /&gt;Type '?' for selection dialog&lt;BR /&gt;Device&amp;gt;&lt;BR /&gt;Please specify target interface:&lt;BR /&gt;&amp;nbsp; J) JTAG (Default)&lt;BR /&gt;&amp;nbsp; S) SWD&lt;BR /&gt;&amp;nbsp; T) cJTAG&lt;BR /&gt;TIF&amp;gt;SWD&lt;BR /&gt;Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz&lt;BR /&gt;Speed&amp;gt;&lt;BR /&gt;Device "MKE06Z128XXX4" selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connecting to target via SWD&lt;BR /&gt;ConfigTargetSettings() start&lt;BR /&gt;ConfigTargetSettings() end - Took 14us&lt;BR /&gt;InitTarget() start&lt;BR /&gt;InitTarget()&lt;BR /&gt;SWD selected. Executing JTAG -&amp;gt; SWD switching sequence.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;InitTarget() end - Took 4.92s&lt;BR /&gt;Found SW-DP with ID 0x0BC11477&lt;BR /&gt;DPIDR: 0x0BC11477&lt;BR /&gt;CoreSight SoC-400 or earlier&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: 0x04770031, ADDR: 0x00000000)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0020, ADDR: 0x01000000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Skipped. Could not read CPUID register&lt;BR /&gt;AP[1]: Skipped. Not an AHB-AP&lt;BR /&gt;Attach to CPU failed. Executing connect under reset.&lt;BR /&gt;Failed to power up DAP&lt;BR /&gt;ConfigTargetSettings() start&lt;BR /&gt;ConfigTargetSettings() end - Took 18us&lt;BR /&gt;InitTarget() start&lt;BR /&gt;InitTarget()&lt;BR /&gt;SWD selected. Executing JTAG -&amp;gt; SWD switching sequence.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;InitTarget() end - Took 3.06s&lt;BR /&gt;Found SW-DP with ID 0x0BC11477&lt;BR /&gt;DPIDR: 0x0BC11477&lt;BR /&gt;CoreSight SoC-400 or earlier&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: 0x04770031, ADDR: 0x00000000)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0020, ADDR: 0x01000000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Skipped. Could not read CPUID register&lt;BR /&gt;AP[1]: Skipped. Not an AHB-AP&lt;BR /&gt;Attach to CPU failed. Executing connect under reset.&lt;BR /&gt;Failed to power up DAP&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 22:28:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/2033471#M67216</guid>
      <dc:creator>Analtino-inside</dc:creator>
      <dc:date>2025-01-23T22:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Jlink Problem readout protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/2033698#M67217</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i had replaced the broken MCUs with new ones. problem is that if you do a erase chip !! do not do this!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please read here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forum.segger.com/index.php/Thread/2390-JLink-on-unsecure-and-erase-Kinetis-FLASH/" target="_blank"&gt;https://forum.segger.com/index.php/Thread/2390-JLink-on-unsecure-and-erase-Kinetis-FLASH/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 07:24:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Jlink-Problem-readout-protection/m-p/2033698#M67217</guid>
      <dc:creator>flesky</dc:creator>
      <dc:date>2025-01-24T07:24:14Z</dc:date>
    </item>
  </channel>
</rss>

