<?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 Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670 in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1874845#M9811</link>
    <description>&lt;P&gt;I get the following outputs when the debugger succeeds or fails.&lt;/P&gt;&lt;P&gt;Hopefully the information will help determine the difference between good and bad runs.&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2024 18:45:49 GMT</pubDate>
    <dc:creator>andrewsglenn</dc:creator>
    <dc:date>2024-05-24T18:45:49Z</dc:date>
    <item>
      <title>Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1866524#M9778</link>
      <description>&lt;P&gt;I'm using SDK version 2.15 and open the freertos_hello SDK demo application&lt;/P&gt;&lt;P&gt;I can build normally, but downloading to flash prints an error message saying:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;15: Target error from Read Memory&lt;BR /&gt;Debug port inaccessible after access at location 0xBF30B670&lt;BR /&gt;Debugging context: lpcxpresso54s018_freertos_cabezon LinkServer Debug&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The full debug messages are given in the attached text file.&lt;/P&gt;&lt;P&gt;This doesn't happen every time, but often enough to really slowdown productivity (2 times in 3, or more)&lt;/P&gt;&lt;P&gt;I've erased the on-board flash, and this still occurs.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 18:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1866524#M9778</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-05-15T18:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1866554#M9779</link>
      <description>&lt;P&gt;If I don't get the previous message, I get this one:&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 20:01:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1866554#M9779</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-05-15T20:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1866722#M9782</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226516"&gt;@andrewsglenn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is possible to download an image into the flash on the target that will then prevent any further debug access or connections. The classic cases of this are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The image contains code that sets the MCU clocks up "incorrectly".&lt;/LI&gt;
&lt;LI&gt;Not successfully disconnect before re-connect.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If do this, maybe connect failed. Recommend create a new workspace of IDE, import your project again to debug.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 03:09:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1866722#M9782</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-05-16T03:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1866745#M9783</link>
      <description>&lt;P&gt;I used the Erase Flash option in the debug configuration to confirm the flash was erased, then blank-checked it, then power cycled the board. I get the same response.&lt;/P&gt;&lt;P&gt;I have the same issue with several projects in different workspaces.&lt;/P&gt;&lt;P&gt;Is there a way to connect a Segger J-Link to the LPCXpresso54S018 to program and debug the LPC54S018 separately from the LPC-Link? I'd assume you connect to P1, but that seems to connect to the LPC-Link processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 03:39:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1866745#M9783</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-05-16T03:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1868735#M9792</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226516"&gt;@andrewsglenn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, can use Segger J-link debug the board. Detail refer to Board User Manual:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;3.3 Starting a debug session using an external Debug Probe&lt;BR /&gt;Code running on the LPC546x8/540xx/54S0xx target can be debugged using an external&lt;BR /&gt;Debug Probe that conforms to the standard ARM debug connector. To use an external&lt;BR /&gt;Debug Probe connect the probe to the SWD connector (P1) and connect power via the&lt;BR /&gt;micro USB connector J1.&lt;BR /&gt;Note: The Debug link connector J8 must be left unconnected so that the Link2 Debug&lt;BR /&gt;Probe is left unpowered and does not contend with the SWD interface signals from the&lt;BR /&gt;external Debug Probe.&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 08:46:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1868735#M9792</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-05-20T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1869054#M9795</link>
      <description>&lt;P&gt;Thank you! That seems to connect to the debugger reliably.&lt;/P&gt;&lt;P&gt;I assume I can read the 3.3V UART signals UART through P4, by installing JP6?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 17:28:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1869054#M9795</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-05-20T17:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1869061#M9796</link>
      <description>&lt;P&gt;I spoke too soon. I'm seeing the attached error when connecting using my J-Link PLUS Compact.&lt;/P&gt;&lt;P&gt;I remember seeing similar errors when I programmed the on-board NXP-Link to act as a J-Link.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 17:48:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1869061#M9796</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-05-20T17:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1872128#M9809</link>
      <description>&lt;P&gt;Any idea what would cause this error?&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 14:59:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1872128#M9809</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-05-23T14:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1874845#M9811</link>
      <description>&lt;P&gt;I get the following outputs when the debugger succeeds or fails.&lt;/P&gt;&lt;P&gt;Hopefully the information will help determine the difference between good and bad runs.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 18:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1874845#M9811</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-05-24T18:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1878019#M9822</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226516"&gt;@andrewsglenn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use the on board debugger, debug three time. All works well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before debug again, please confirm "Clean Up Debug".&lt;/P&gt;
&lt;DIV id="tinyMceEditor_762d68e9b391a3Alice_Yang_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&lt;BR /&gt;
&lt;DIV class="lia-progress-placeholder mceNonEditable"&gt;
&lt;DIV class="lia-media-progress"&gt;&lt;I class="lia-fa lia-media-upload-progress lia-fa-picture-o"&gt;&lt;/I&gt;
&lt;DIV class="lia-progress-bar-stripes lia-progress-bar-animate lia-media-progress-bar"&gt;
&lt;DIV class="lia-progress-bar" style="width: 100%;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;SPAN class="lia-progress-value"&gt;Updating Media&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I took a video for the steps on my side, please see my attachment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If still can't work on your side, test with another board. And how about change to another IDE?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 08:23:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1878019#M9822</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-05-30T08:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1878449#M9824</link>
      <description>&lt;P&gt;I get the same result with the 'clean up debug' button.&lt;/P&gt;&lt;P&gt;I get the same result using&amp;nbsp;JLinkGDBServerCL.exe directly using the command line at the top of the log. and setting MCUXpresso to attach using the GDB server.&lt;/P&gt;&lt;P&gt;I've tried two LCPxpreso54S018 boards. Both fail to program reliably.&lt;/P&gt;&lt;P&gt;What other IDE do you recommend I try? Segger Ozone would not connect saying "TDO high".&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 22:55:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1878449#M9824</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-05-30T22:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1879169#M9826</link>
      <description>&lt;P&gt;One difference: I'm using the &lt;FONT face="courier new,courier"&gt;freertos_hello&lt;/FONT&gt; application, you're using a standalone application.&lt;/P&gt;&lt;P&gt;I've noticed simple standalone applications have a better chance of working with the debugger than FreeRTOS applications do.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 20:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1879169#M9826</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-05-31T20:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1881951#M9832</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what's causing this?&lt;/P&gt;&lt;P&gt;I've tried two different LPCXpresso54S018 boards, a Windows 11 desktop and Windows 11 laptop and two different Micro USB cables.&lt;/P&gt;&lt;P&gt;I've connected the USB directly to the PC and laptop, and from the laptop via an externally-powered USB hub and get the same results.&lt;/P&gt;&lt;P&gt;I tried running the software on Fedora 39, but it does not easily install so I've given up for now.&lt;/P&gt;&lt;P&gt;On one board I've tried LinkServer and J-Link firmware on the built-in debugger, and an external J-Link Plus Compact.&lt;/P&gt;&lt;P&gt;I plugged in a USB power meter while debugging with the J-Link Plus, and the power looks good. 5.0V and 0.1A idling, and 0.2A on the rare occasion it downloads and debugs freertos_hello correctly.&lt;/P&gt;&lt;P&gt;What else can I try?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 20:57:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1881951#M9832</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-06-05T20:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1883742#M9837</link>
      <description>&lt;P&gt;What are the correct reset settings?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrewsglenn_0-1717779324824.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283116i99F7DAF4EC0C5AD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrewsglenn_0-1717779324824.png" alt="andrewsglenn_0-1717779324824.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I seem to have better luck with "default" rather than "soft" in that it reliably fails every other debug, rather than randomly failing 70% of the time.&lt;/P&gt;&lt;P&gt;I also set SWCLK, SWDIO and SWO to SWD in the pin config, but that should be default to SWD, shouldn't it?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrewsglenn_1-1717779468877.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283118i97D59C09D62902A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrewsglenn_1-1717779468877.png" alt="andrewsglenn_1-1717779468877.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glenn&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 16:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1883742#M9837</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-06-07T16:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1883820#M9838</link>
      <description>Addition: Just sent a third board (direct from Digi-Key) to another team-member, unopened. They plug it in and run `freertos_hello` and get the same error.&lt;BR /&gt;&lt;BR /&gt;It's not just me.</description>
      <pubDate>Fri, 07 Jun 2024 20:18:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1883820#M9838</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-06-07T20:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1886554#M9863</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226516"&gt;@andrewsglenn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer to your description, I tested as below.&lt;/P&gt;
&lt;P&gt;IDE: MCUXpresso IDE v11.9.0&lt;/P&gt;
&lt;P&gt;SDK demo：freertos_hello&lt;/P&gt;
&lt;P&gt;Board:LPCxpresso54018&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Debugger: On board debugger with cmsis-dap&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I debugged some time, haven't find issue.&lt;/P&gt;
&lt;P&gt;I take a video about the debug steps on my side, please see my attachment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About the jumpers on board please see below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1718250450987.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283854i2F4104A8D532DF1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1718250450987.jpeg" alt="Alice_Yang_0-1718250450987.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Debug configuration as below。&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_1-1718250545373.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283855iF3175C523429A851/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1718250545373.png" alt="Alice_Yang_1-1718250545373.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If still can't work on your side. Please switch to a new MCUXpresso IDE workspace. Then import project again to test.&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;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 03:51:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1886554#M9863</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-06-13T03:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1900456#M9903</link>
      <description>&lt;P&gt;I &lt;EM&gt;think&lt;/EM&gt; I found the answer.&lt;/P&gt;&lt;P&gt;The code was being built to run out of RAM, not out of Flash.&lt;/P&gt;&lt;P&gt;If I go into:&lt;/P&gt;&lt;P&gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings-&amp;gt;MCU Linker-&amp;gt;Managed Linker Script&lt;/P&gt;&lt;P&gt;And then uncheck "Link Application to RAM" and "Plain Load Image" it appears to work.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;do you know if there's something to do with the reset strategy when the software is in RAM that could affect it?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 20:52:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1900456#M9903</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-07-05T20:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1901638#M9905</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226516"&gt;@andrewsglenn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"Plain Load Image"&amp;nbsp;means an application that runs in SRAM. If it is checked, when reset MCU,&amp;nbsp; the boot ROM relocates application into a bank of the onboard SRAM for execution. So if the SRAM size is not enough, recommend executed directly from the flash.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 03:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1901638#M9905</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-07-08T03:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1902317#M9910</link>
      <description>&lt;P&gt;My application is 107K and SRAMX is 192K. It should fit&lt;/P&gt;&lt;P&gt;Not that I wanted it in RAM, I wanted it in Flash so I prefer this, but I don't understand why it crashes when placed in RAM.&lt;/P&gt;&lt;P&gt;Can you try switching on "Plain Load Image" in your linker script and running &lt;FONT face="courier new,courier"&gt;freertos_hello&lt;/FONT&gt; to see if it fails to debug reliably?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 13:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1902317#M9910</guid>
      <dc:creator>andrewsglenn</dc:creator>
      <dc:date>2024-07-08T13:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1903344#M9912</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226516"&gt;@andrewsglenn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default the "&lt;SPAN&gt;Plain Load Image&lt;/SPAN&gt;" is checked. I have tested, it works well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1720496313659.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287669iB1B1C56540B9C700/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1720496313659.png" alt="Alice_Yang_0-1720496313659.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 03:38:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Cannot-Debug-LPCXpresso54S018-Debug-port-inaccessible-after/m-p/1903344#M9912</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-07-09T03:38:43Z</dc:date>
    </item>
  </channel>
</rss>

