<?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 Remote LinkServer launch config in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Remote-LinkServer-launch-config/m-p/2324742#M4913</link>
    <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;Im developing a Zephyr application without MCUXpresso IDE, i wrote a launch configuration in my launch.json file to connect to a remote &lt;STRONG&gt;LinkServer&lt;/STRONG&gt; instance connected to a &lt;STRONG&gt;FRDM_MCXN957&lt;/STRONG&gt; board, this currently works flawlessly.&lt;/P&gt;&lt;P&gt;The issue at hand is that now im developing the application to be booted by MCUBoot, and thus it should be flashed as a signed image at a specific flash offset (being 0x14000 by how i defined the partitions), it seems like the configuration is loading the .elf directly, so there's no informations on the signing and MCUBoot doesnt recognize any image in the slots, failing to boot.&lt;BR /&gt;&lt;BR /&gt;I tried modifying the launch configuration adding a step where it flashes in memory the correct signed image after connecting and loading symbols, but its currently not yielding any effect, here is the config:&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="markup"&gt;{
      "type": "cppdbg",
      "name": "Remote NXP",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "MIMode": "gdb",
      "program": "${workspaceFolder}/build/frdm_mcxn947_for_bootloader/zephyr/zephyr.elf",
      "miDebuggerPath": "/home/fez/zephyr-sdk-0.17.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb",
      "miDebuggerServerAddress": "192.168.1.70:3333",
      "stopAtEntry": true,
      "setupCommands": [
        {"text": "set remotetimeout 600"},
        {"text": "set debug-file-directory"},
        {"text": "set non-stop off"}
      ],
      "postRemoteConnectCommands": [
        {
            "text": "load"
        },
        {
            "text": "flash MCXN947 load ${workspaceFolder}/build/frdm_mcxn947_for_bootloader/zephyr/zephyr.signed.bin -a 0x14000"
        },
        {
            "text": "monitor reset"
        }
      ],
    },&lt;/LI-CODE&gt;&lt;P&gt;If i manualy flash with LinkServer with the same command in a terminal and then reset the board with the dedicated button the application is correctly booted and run, so the image itself is fine&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've been battling with this issue for the last few days with no success, so any help is greatly appreciated, thank you in advance&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Mar 2026 19:45:41 GMT</pubDate>
    <dc:creator>raimbowgeddon</dc:creator>
    <dc:date>2026-03-01T19:45:41Z</dc:date>
    <item>
      <title>Remote LinkServer launch config</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Remote-LinkServer-launch-config/m-p/2324742#M4913</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;Im developing a Zephyr application without MCUXpresso IDE, i wrote a launch configuration in my launch.json file to connect to a remote &lt;STRONG&gt;LinkServer&lt;/STRONG&gt; instance connected to a &lt;STRONG&gt;FRDM_MCXN957&lt;/STRONG&gt; board, this currently works flawlessly.&lt;/P&gt;&lt;P&gt;The issue at hand is that now im developing the application to be booted by MCUBoot, and thus it should be flashed as a signed image at a specific flash offset (being 0x14000 by how i defined the partitions), it seems like the configuration is loading the .elf directly, so there's no informations on the signing and MCUBoot doesnt recognize any image in the slots, failing to boot.&lt;BR /&gt;&lt;BR /&gt;I tried modifying the launch configuration adding a step where it flashes in memory the correct signed image after connecting and loading symbols, but its currently not yielding any effect, here is the config:&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="markup"&gt;{
      "type": "cppdbg",
      "name": "Remote NXP",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "MIMode": "gdb",
      "program": "${workspaceFolder}/build/frdm_mcxn947_for_bootloader/zephyr/zephyr.elf",
      "miDebuggerPath": "/home/fez/zephyr-sdk-0.17.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb",
      "miDebuggerServerAddress": "192.168.1.70:3333",
      "stopAtEntry": true,
      "setupCommands": [
        {"text": "set remotetimeout 600"},
        {"text": "set debug-file-directory"},
        {"text": "set non-stop off"}
      ],
      "postRemoteConnectCommands": [
        {
            "text": "load"
        },
        {
            "text": "flash MCXN947 load ${workspaceFolder}/build/frdm_mcxn947_for_bootloader/zephyr/zephyr.signed.bin -a 0x14000"
        },
        {
            "text": "monitor reset"
        }
      ],
    },&lt;/LI-CODE&gt;&lt;P&gt;If i manualy flash with LinkServer with the same command in a terminal and then reset the board with the dedicated button the application is correctly booted and run, so the image itself is fine&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've been battling with this issue for the last few days with no success, so any help is greatly appreciated, thank you in advance&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 19:45:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Remote-LinkServer-launch-config/m-p/2324742#M4913</guid>
      <dc:creator>raimbowgeddon</dc:creator>
      <dc:date>2026-03-01T19:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Remote LinkServer launch config</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Remote-LinkServer-launch-config/m-p/2326290#M4940</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259164"&gt;@raimbowgeddon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the load of GDB will directly write ELF (excluding MCUboot header/TLV) into flash, causing the MCUboot header starting with Slot0 to be cleared or incorrect, and therefore unable to start.&lt;/P&gt;
&lt;P&gt;I think you can try burning MCUboot and the signed app image into LinkServer first, and then only attach ELF (load symbol) when debugging, without writing flash.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/zephyrproject-rtos/zephyr/discussions/88918" target="_blank"&gt;How to debug a signed Zephyr application with MCUboot: ELF file missing header data · zephyrproject-rtos/zephyr · Discussion #88918 · GitHub&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 10:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Remote-LinkServer-launch-config/m-p/2326290#M4940</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2026-03-04T10:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Remote LinkServer launch config</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Remote-LinkServer-launch-config/m-p/2329241#M5006</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello Harry, thank you so much for replying&lt;BR /&gt;I see where you are coming from, which i already tried and rest assured it works fine.&lt;BR /&gt;Regardless, i would still want to be able to flash both the bootloader and the application, so that i have more flexibility in debugging and switching from build presets targeting a standalone image and an image booted by the bootloader, i managed to achieve this by switching to the MCUXpresso integrated IDE as it seems to have a more understandable debug configurations, and this is what i've come up with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
      "type": "mcuxpresso-debug",
      "name": "Remote Bootloader",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "executable": {
        "elf": "${workspaceFolder}/build/frdm_mcxn947_for_bootloader/zephyr/zephyr.elf",
        "binary": {
          "path": "${workspaceFolder}/build/frdm_mcxn947_for_bootloader/zephyr/zephyr.signed.bin",
          "address": 81920
        }
      },
       "extraLoadFiles": [
         "${workspaceFolder}/bootloader/zephyr_dbg_swapAndEnc.elf"
       ],
      "extraSymbolFiles": [
        "${workspaceFolder}/build/frdm_mcxn947_for_bootloader/zephyr/zephyr.elf"
      ],
      "gdbServerTargetRemote": "192.168.1.70:3333",
      "executableLoadTypePriority": "bin",
      "stopAtSymbol": "main",
      "probeSerialNumber": "ONFT5WRYQ4BEZ",
      "isAttach": false,
      "skipBuildBeforeDebug": true,
      "gdbServerConfigs": {
        "linkserver": {
        },
        "segger": {},
        "pemicro": {}
      },
      "showDevDebugOutput": "none",
      "probeType": "LinkServer",
    },&lt;/LI-CODE&gt;&lt;P&gt;This achieves exactly what im looking for, then i tried to use this same configuration inside of the original project which isnt contained inside of the MCUExpresso ide extension, but when pressing Run, VSCode seems to get stuck and doesnt show any signs of life, so i guess the extension is doing something that is needed in the background prior to executing this process, do you have any knowledge on what it might be? VSCode outside of the MCUXpresso extension recognizes the debug configuration of type&amp;nbsp;&lt;SPAN&gt;"mcuxpresso-debug", its just when i try to run it that it freezes&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Mar 2026 19:58:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Remote-LinkServer-launch-config/m-p/2329241#M5006</guid>
      <dc:creator>raimbowgeddon</dc:creator>
      <dc:date>2026-03-09T19:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remote LinkServer launch config</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Remote-LinkServer-launch-config/m-p/2333164#M5031</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259164"&gt;@raimbowgeddon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to test it and I will reply to you as soon as possible.&lt;/P&gt;
&lt;P&gt;Thank you for your understanding.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 01:59:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Remote-LinkServer-launch-config/m-p/2333164#M5031</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2026-03-16T01:59:31Z</dc:date>
    </item>
  </channel>
</rss>

