<?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 LPC55S16-EVK can't flash and debug firmware directly from the MCUXpressoIDE in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-can-t-flash-and-debug-firmware-directly-from-the/m-p/1823561#M55593</link>
    <description>&lt;P&gt;Hi.&lt;BR /&gt;&lt;BR /&gt;I am looking for help to be able to flash and debug firmware directly from the MCUXpressoIDE.&lt;BR /&gt;&lt;BR /&gt;I am trying to flash and debug the led_blink example from the SDK. Previously on this board, I flashed a firmware with secure boot keys and that process works, I can flash the led_blink example firmware using the manufacturing_package.zip:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_0-1709830527068.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267084i42675E2A6D124562/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_0-1709830527068.png" alt="evgreen_0-1709830527068.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To be able to flash and debug using the MCUXpressoIDE, I disabled the secureboot on CMPA as also I keep the swd debug enable:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_2-1709830782435.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267085iCA2F5652E94A00FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_2-1709830782435.png" alt="evgreen_2-1709830782435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, on MCUXpressoIDE, when I try to debug, seems that the firmware is flashed but the process fails right after - here the output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_3-1709830908933.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267087i1D186BCE85C3ADE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_3-1709830908933.png" alt="evgreen_3-1709830908933.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_4-1709831058251.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267088i12F034DCBB2E134D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_4-1709831058251.png" alt="evgreen_4-1709831058251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I also verified I can debug if I select the "attach to a running target", but this way I am forced to build and flash a manufacturing_package.zip each time I change the firmware...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_5-1709832300236.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267094i92D214B4D1D1C897/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_5-1709832300236.png" alt="evgreen_5-1709832300236.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 17:34:10 GMT</pubDate>
    <dc:creator>evgreen</dc:creator>
    <dc:date>2024-03-07T17:34:10Z</dc:date>
    <item>
      <title>LPC55S16-EVK can't flash and debug firmware directly from the MCUXpressoIDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-can-t-flash-and-debug-firmware-directly-from-the/m-p/1823561#M55593</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;&lt;BR /&gt;I am looking for help to be able to flash and debug firmware directly from the MCUXpressoIDE.&lt;BR /&gt;&lt;BR /&gt;I am trying to flash and debug the led_blink example from the SDK. Previously on this board, I flashed a firmware with secure boot keys and that process works, I can flash the led_blink example firmware using the manufacturing_package.zip:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_0-1709830527068.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267084i42675E2A6D124562/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_0-1709830527068.png" alt="evgreen_0-1709830527068.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To be able to flash and debug using the MCUXpressoIDE, I disabled the secureboot on CMPA as also I keep the swd debug enable:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_2-1709830782435.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267085iCA2F5652E94A00FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_2-1709830782435.png" alt="evgreen_2-1709830782435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, on MCUXpressoIDE, when I try to debug, seems that the firmware is flashed but the process fails right after - here the output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_3-1709830908933.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267087i1D186BCE85C3ADE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_3-1709830908933.png" alt="evgreen_3-1709830908933.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_4-1709831058251.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267088i12F034DCBB2E134D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_4-1709831058251.png" alt="evgreen_4-1709831058251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I also verified I can debug if I select the "attach to a running target", but this way I am forced to build and flash a manufacturing_package.zip each time I change the firmware...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evgreen_5-1709832300236.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267094i92D214B4D1D1C897/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evgreen_5-1709832300236.png" alt="evgreen_5-1709832300236.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 17:34:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-can-t-flash-and-debug-firmware-directly-from-the/m-p/1823561#M55593</guid>
      <dc:creator>evgreen</dc:creator>
      <dc:date>2024-03-07T17:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16-EVK can't flash and debug firmware directly from the MCUXpressoIDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-can-t-flash-and-debug-firmware-directly-from-the/m-p/1829409#M55670</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230630"&gt;@evgreen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;I disabled the secureboot on CMPA as also I keep the swd debug enable:&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; Please read back the CMPA value, compare it with default CMPA.&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>Fri, 15 Mar 2024 12:48:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-can-t-flash-and-debug-firmware-directly-from-the/m-p/1829409#M55670</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-03-15T12:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16-EVK can't flash and debug firmware directly from the MCUXpressoIDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-can-t-flash-and-debug-firmware-directly-from-the/m-p/1832913#M55708</link>
      <description>&lt;P&gt;Hi Alice.&lt;/P&gt;&lt;P&gt;After writing, when I click on the Read button, it always shows as disabled as expected (as seen on the image). But then I tested to restart again this process and verified that in fact it is locked again....&lt;BR /&gt;&lt;BR /&gt;Anyway, the debug now works!! I did a few power resets and the debug always work &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt; -- problem solved, thank you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-03-21 11-04-08.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/269777iA465E448EA7F4BE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2024-03-21 11-04-08.png" alt="Screenshot from 2024-03-21 11-04-08.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 11:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-can-t-flash-and-debug-firmware-directly-from-the/m-p/1832913#M55708</guid>
      <dc:creator>evgreen</dc:creator>
      <dc:date>2024-03-21T11:22:35Z</dc:date>
    </item>
  </channel>
</rss>

