<?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: cannot open debug port on lpc55s28 with secure provisioning tool in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1676098#M53238</link>
    <description>&lt;P&gt;How about change to another usb and USB line?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 14:32:53 GMT</pubDate>
    <dc:creator>CarlosGarabito</dc:creator>
    <dc:date>2023-06-26T14:32:53Z</dc:date>
    <item>
      <title>cannot open debug port on lpc55s28 with secure provisioning tool</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1668249#M52979</link>
      <description>&lt;P&gt;I created a blinky project in deployment mode using a signed boot and successfully ran on LPC55S28-EVK&lt;/P&gt;&lt;P&gt;opened debug port from PKI management menu as pyocd using the&amp;nbsp;LCP-LINK2 CMSIS probe&lt;/P&gt;&lt;P&gt;opened blinky pyocd target on MCUExpresso IDE received the following crash on the deployment tool.&lt;/P&gt;&lt;P&gt;GENERAL ERROR: OSError: read error&lt;BR /&gt;Exception ignored in: &amp;lt;function DebugProbe.__del__ at 0x000001A2E45800D0&amp;gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "spsdk\debuggers\debug_probe.py", line 406, in __del__&lt;BR /&gt;File "spsdk\debuggers\debug_probe_pyocd.py", line 138, in close&lt;BR /&gt;File "pyocd\probe\cmsis_dap_probe.py", line 199, in close&lt;BR /&gt;File "pyocd\utility\concurrency.py", line 28, in _locking&lt;BR /&gt;File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 658, in close&lt;BR /&gt;File "pyocd\utility\concurrency.py", line 28, in _locking&lt;BR /&gt;File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 707, in flush&lt;BR /&gt;File "pyocd\utility\concurrency.py", line 28, in _locking&lt;BR /&gt;File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 1015, in _send_packet&lt;BR /&gt;AttributeError: 'NoneType' object has no attribute 'get_empty'&lt;BR /&gt;nxpdebugmbox failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have verified that I can debug using pyocd using the same probe on an unlocked target.&lt;/P&gt;&lt;P&gt;Please can you help me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 09:20:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1668249#M52979</guid>
      <dc:creator>Shlomo613</dc:creator>
      <dc:date>2023-06-13T09:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: cannot open debug port on lpc55s28 with secure provisioning tool</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1670734#M53049</link>
      <description>&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;we don't support pyocd, but you can check out this excellent blog that can explain some things to you.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&lt;A href="https://mcuoneclipse.com/2023/02/05/debugging-embedded-targets-with-pyocd-and-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2023/02/05/debugging-embedded-targets-with-pyocd-and-eclipse/&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&lt;A href="https://mcuoneclipse.com/2023/02/05/debugging-embedded-targets-with-pyocd-and-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2023/02/05/debugging-embedded-targets-with-pyocd-and-eclipse/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 03:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1670734#M53049</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2023-06-16T03:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: cannot open debug port on lpc55s28 with secure provisioning tool</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1671428#M53059</link>
      <description>&lt;P&gt;I have followed this post and have been able to debug using PYOCD successfully on an unlocked system.&lt;/P&gt;&lt;P&gt;The issue that I am having is with a secured system where the&amp;nbsp;nxpdebugmbox tool crashes.&lt;/P&gt;&lt;P&gt;Shlomo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2023 06:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1671428#M53059</guid>
      <dc:creator>Shlomo613</dc:creator>
      <dc:date>2023-06-18T06:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: cannot open debug port on lpc55s28 with secure provisioning tool</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1673587#M53147</link>
      <description>&lt;P&gt;Sorry but you did not explain what tools we do need to use instead of PYOCD. It seems that the examples all do use PYOCD, so it is hard for us to understand why you say that you do not support PYOCD, and then provide a link to Styger's explanation of how to use PYOCD for an unlocked system.&lt;/P&gt;&lt;P&gt;To make this clearer, &lt;STRONG&gt;we need instructions of how to use the MCUXpresso suite to debug a device after we have locked it&lt;/STRONG&gt; with RSA key pairs. We connect to the SWD port using NXP's MCU-link board running CMSIS-DAP.&lt;/P&gt;&lt;P&gt;What we have found is that we can use the latest version of the Secure Provisioning Tool to open the debug port, but as soon as we try to use the MCU-Link to access the SWD port, using PYOCD, the&amp;nbsp;nxpdebugmbox (running the Open DebugPort command) server crashes.&lt;/P&gt;&lt;P&gt;So please provide us with instructions for debugging a locked system.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 11:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1673587#M53147</guid>
      <dc:creator>Shlomo613</dc:creator>
      <dc:date>2023-06-21T11:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: cannot open debug port on lpc55s28 with secure provisioning tool</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1676098#M53238</link>
      <description>&lt;P&gt;How about change to another usb and USB line?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 14:32:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/cannot-open-debug-port-on-lpc55s28-with-secure-provisioning-tool/m-p/1676098#M53238</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2023-06-26T14:32:53Z</dc:date>
    </item>
  </channel>
</rss>

