<?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>Kinetis MicrocontrollersのトピックRe: Unlock and erase SNEAK32XX2</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unlock-and-erase-SNEAK32XX2/m-p/908851#M53296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, thank you for your recommendations.&lt;/P&gt;&lt;P&gt;On our custom boards, we do have one 10k pullup resistors on both the Reset_b pin and the NMI_b pin of the MCU.&lt;/P&gt;&lt;P&gt;Furthermore, I have tried to select SKEAZN32xxx2(allow security) in JLink Commander, cleared the RESET_b and then used the input unlock kinetis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sadly the "Unlocking Device...ERROR: Read from DP/AP register failed" still remains (See attachment for details).&lt;/P&gt;&lt;P&gt;Do you have more suggestions about how to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; I found the error and solved the issue. I mixed up the reset signal with another incoming signal on one jumper on our boards which are connected to the Reset_b pin. This incoming signal drew the reset signal high while programming the MCU which makes it impossible to program the MCU. I moved the pin on the connector to where it was suppose to go according to our schematics and I am now able to program the board without any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your advice on this matter!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue can be closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Michael L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90110iF93F802959FD8862/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2019 09:00:01 GMT</pubDate>
    <dc:creator>michael11</dc:creator>
    <dc:date>2019-07-02T09:00:01Z</dc:date>
    <item>
      <title>Unlock and erase SNEAK32XX2</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unlock-and-erase-SNEAK32XX2/m-p/908849#M53294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I am yet again working with a custom board that has the processor&amp;nbsp;SKEAZN32XXX2. I can connect to it but the JLink-programmer fails to read AP/DP registers when I am trying to execute the unlock Kinetis command (see "unlock kinetis command.png).&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have tried to power off the board and then turn it on again. I am able to connect to the MCU and do the initial read upon the connect command.&amp;nbsp; But when I run the erase command I am not able to either halt the processor or erase it (see "erase command.png" for details). Also worth mentioning is that the measured VREF is 3.37V.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have verified that the issue is not with the JLink-programmer since I have tried and&amp;nbsp;successfully&amp;nbsp;program and erase another custom board of ours with the same MCU.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Therefore, what causes these issues and is there any way around it?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Michael L..&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 11:36:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unlock-and-erase-SNEAK32XX2/m-p/908849#M53294</guid>
      <dc:creator>michael11</dc:creator>
      <dc:date>2019-06-27T11:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unlock and erase SNEAK32XX2</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unlock-and-erase-SNEAK32XX2/m-p/908850#M53295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN&gt;Michael ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The version of SKEAZN32XXX2 is very old, would you please check if your MCU is SKEAZN32XXX2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the hardware circuit:&lt;BR /&gt;Connect 10K pullup resistor to RESET_b pin of the MCU&lt;BR /&gt;Connect 10K pullup resistor to NMI_b pin of the MCU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please select Device as SKEAZN32xxx2(allow security) in JLink Commander.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Device SKEAZN32xxx2(allow security).png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90096i0E285121EFA29514/image-size/large?v=v2&amp;amp;px=999" role="button" title="Device SKEAZN32xxx2(allow security).png" alt="Device SKEAZN32xxx2(allow security).png" /&gt;&lt;/span&gt;&lt;BR /&gt;Press (clear)RESET_b button and then input &lt;EM&gt;unlock kinetis&lt;/EM&gt;.&lt;BR /&gt;Will the JLink Commander still get: &lt;SPAN style="text-decoration: underline;"&gt;Unlocking Device...ERROR: Read from DP/AP register failed!&lt;/SPAN&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try if you are able to flash program after input unlock kinetis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Tue, 02 Jul 2019 07:42:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unlock-and-erase-SNEAK32XX2/m-p/908850#M53295</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-07-02T07:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unlock and erase SNEAK32XX2</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unlock-and-erase-SNEAK32XX2/m-p/908851#M53296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, thank you for your recommendations.&lt;/P&gt;&lt;P&gt;On our custom boards, we do have one 10k pullup resistors on both the Reset_b pin and the NMI_b pin of the MCU.&lt;/P&gt;&lt;P&gt;Furthermore, I have tried to select SKEAZN32xxx2(allow security) in JLink Commander, cleared the RESET_b and then used the input unlock kinetis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sadly the "Unlocking Device...ERROR: Read from DP/AP register failed" still remains (See attachment for details).&lt;/P&gt;&lt;P&gt;Do you have more suggestions about how to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; I found the error and solved the issue. I mixed up the reset signal with another incoming signal on one jumper on our boards which are connected to the Reset_b pin. This incoming signal drew the reset signal high while programming the MCU which makes it impossible to program the MCU. I moved the pin on the connector to where it was suppose to go according to our schematics and I am now able to program the board without any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your advice on this matter!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue can be closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Michael L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90110iF93F802959FD8862/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2019 09:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unlock-and-erase-SNEAK32XX2/m-p/908851#M53296</guid>
      <dc:creator>michael11</dc:creator>
      <dc:date>2019-07-02T09:00:01Z</dc:date>
    </item>
  </channel>
</rss>

