<?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 DAP and TAP register documentation in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/DAP-and-TAP-register-documentation/m-p/1042556#M40507</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;I'm looking into unlocking a locked LPC5460x processor from PyOCD like the unlock command in the Segger J-link Commander does.&lt;/P&gt;&lt;P&gt;I followed&amp;nbsp;&lt;A class="link-titled" href="https://github.com/mbedmicro/pyOCD/blob/master/docs/security.md" title="https://github.com/mbedmicro/pyOCD/blob/master/docs/security.md"&gt;pyOCD/security.md&lt;/A&gt;, and was able to access Access Point #2 over CMSIS-DAP with a locked processor.&lt;BR /&gt;However I can't find any information about the available registers in that Access Point (or about the registers from the default Access Point #0).&lt;/P&gt;&lt;P&gt;Where can I find this information, or information how to unlock the processor from a CMSIS-DAP debug probe?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan Pieter de Ruiter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2020 20:12:58 GMT</pubDate>
    <dc:creator>janpieterderuit</dc:creator>
    <dc:date>2020-05-04T20:12:58Z</dc:date>
    <item>
      <title>DAP and TAP register documentation</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DAP-and-TAP-register-documentation/m-p/1042556#M40507</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;I'm looking into unlocking a locked LPC5460x processor from PyOCD like the unlock command in the Segger J-link Commander does.&lt;/P&gt;&lt;P&gt;I followed&amp;nbsp;&lt;A class="link-titled" href="https://github.com/mbedmicro/pyOCD/blob/master/docs/security.md" title="https://github.com/mbedmicro/pyOCD/blob/master/docs/security.md"&gt;pyOCD/security.md&lt;/A&gt;, and was able to access Access Point #2 over CMSIS-DAP with a locked processor.&lt;BR /&gt;However I can't find any information about the available registers in that Access Point (or about the registers from the default Access Point #0).&lt;/P&gt;&lt;P&gt;Where can I find this information, or information how to unlock the processor from a CMSIS-DAP debug probe?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan Pieter de Ruiter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 20:12:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DAP-and-TAP-register-documentation/m-p/1042556#M40507</guid>
      <dc:creator>janpieterderuit</dc:creator>
      <dc:date>2020-05-04T20:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: DAP and TAP register documentation</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DAP-and-TAP-register-documentation/m-p/1042557#M40508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan Pieter, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;J-Link commander actually supports the "unlock" command for the LPC5460x:&lt;/P&gt;&lt;P&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/106523i6DCE5F9C410B7E2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To use this command, you can program the J-Link firmware to your LPC5460x using the "program_JLINK.cmd" script included in the LPCScrypt toolset, which can be downloaded from &lt;A href="https://www.nxp.com/design/microcontrollers-developer-resources/lpc-microcontroller-utilities/lpcscrypt-v2-1-1:LPCSCRYPT"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the debug probe is programmed with the J-Link firmware, J-Link commander can send the "unlock LPC5460x" command, and your LPC should unlock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you continue to have issues with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take care, best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 15:19:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DAP-and-TAP-register-documentation/m-p/1042557#M40508</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-05-08T15:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAP and TAP register documentation</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DAP-and-TAP-register-documentation/m-p/1042558#M40509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I knew about the jlink software for the LPC boards, and it works fine indeed.&lt;/P&gt;&lt;P&gt;However, from the license of that software I get that you are only allowed to use it for the onboard processor, not for an external processor on our custom hardware.&lt;/P&gt;&lt;P&gt;I actually was able to monitor the SWD commands with a logicanalyzer, and found the needed registers that way.&lt;/P&gt;&lt;P&gt;But it would be nice if it was documented somehow, because now I have no idea what is actually going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jan Pieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 22:41:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DAP-and-TAP-register-documentation/m-p/1042558#M40509</guid>
      <dc:creator>janpieterderuit</dc:creator>
      <dc:date>2020-05-28T22:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: DAP and TAP register documentation</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DAP-and-TAP-register-documentation/m-p/1042559#M40510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan Pieter,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback, we will take it into consideration!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take care, best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 18:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DAP-and-TAP-register-documentation/m-p/1042559#M40510</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-06-01T18:11:56Z</dc:date>
    </item>
  </channel>
</rss>

