<?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>MCUXpresso for VSCode中的主题 Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
    <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1851231#M255</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you please make enableLogging as true in your launch config, debug once again and attach here the log?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Cristian&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2024 06:15:42 GMT</pubDate>
    <dc:creator>cristiantepus</dc:creator>
    <dc:date>2024-04-22T06:15:42Z</dc:date>
    <item>
      <title>MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1849077#M250</link>
      <description>&lt;P&gt;I am experimenting with &lt;STRONG&gt;MCXN947&lt;/STRONG&gt; using &lt;STRONG&gt;MCUXpresso for VSCode&lt;/STRONG&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Build machine &lt;STRONG&gt;Ubuntu 22.04&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;VSCode&lt;/STRONG&gt; version &lt;STRONG&gt;1.88.1&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Installed the components using &lt;STRONG&gt;MCUXpresso Installer v.1.2&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MCUXpresso SDK (2.14.0)&lt;/LI&gt;&lt;LI&gt;LinkServer&lt;/LI&gt;&lt;LI&gt;ARM GNU toolchain&lt;/LI&gt;&lt;LI&gt;Standalone toolchain addons&lt;/LI&gt;&lt;LI&gt;CMSIS toolbox&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Then I followed the excellent guide &lt;A href="https://www.nxp.com/design/training/getting-started-with-mcuxpresso-for-visual-studio-code:TIP-GETTING-STARTED-WITH-MCUXPRESSO-FOR-VS-CODE?SAMLart=ST-AAF0E3YJDJej%2BJVBprc7Vu5rkUdezz2Xd17s%2F27bgltNLOpmAEfiv3wm#colkp5maoqd" target="_self"&gt;Getting Started with MCUXpresso for Visual Studio Code&lt;/A&gt; by &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193716"&gt;@kyledando&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to build &lt;STRONG&gt;frdmmcxn947_hello_world&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The board is connected via USB-C cable (J17 MCU-LINK) to the PC (USB Port)&lt;/P&gt;&lt;P&gt;And detected as MCU-LINK FRDM-MCXN947&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;$ lsusb
Bus 001 Device 087: ID 1fc9:0143 NXP Semiconductors MCU-LINK FRDM-MCXN947 (r0E7) CMSIS-DAP V3.128&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately when I try to debug it I get popup message showing "Unable to start debugging. Debug server process failed to initialize".&lt;/P&gt;&lt;P&gt;The message pretends to open &lt;STRONG&gt;launch.json&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;{
  "configurations": [
    {
      "type": "cppdbg",
      "name": "Debug project configuration",
      "request": "launch",
      "cwd": "${workspaceRoot}",
      "MIMode": "gdb",
      "setupCommands": [
        {"text": "set remotetimeout 600"},
        {"text": "set debug-file-directory"}
      ],
      "program": "",
      "miDebuggerServerAddress": "", // Remote GDB server address. If this is provided, "debugServerPath" will not be auto-completed.
      "variables": {
        "mcuxStopAtSymbol": "main", // Initial breakpoint
        "mcuxSerialNumber": "HU4NSCTMxxxxx", // Probe serial number. If not specified, the one from the selected debug probe (in extension view) will be used.
        "mcuxAttach": "false", // Start debug in attach mode
        "mcuxRemoteProbeType": "", // Remote Probe Type ("LinkServer", "SEGGER", "PEmicro") used only when connecting to a remote server
        "mcuxSkipBuildWhenDebug": "false" // Skip build when debug
      },
      "logging": {
        "engineLogging": false
      }
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point I'm stuck and I can't figure out how to proceed.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 13:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1849077#M250</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2024-04-17T13:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1849382#M251</link>
      <description>&lt;P&gt;Hello, my name is Pavel, and I will be supporting your case, let me get more information testing this.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 01:21:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1849382#M251</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-04-18T01:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1851231#M255</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you please make enableLogging as true in your launch config, debug once again and attach here the log?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Cristian&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 06:15:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1851231#M255</guid>
      <dc:creator>cristiantepus</dc:creator>
      <dc:date>2024-04-22T06:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1853419#M257</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/169601"&gt;@cristiantepus&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196430"&gt;@Pavel_Hernandez&lt;/a&gt;&amp;nbsp;I'm trying to run debug session in VSCode. I have similar setup, except I'm using Windows OS.&lt;/P&gt;&lt;P&gt;I have similar issue, this is my &lt;STRONG&gt;launch.json&lt;/STRONG&gt; file:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "configurations": [
    {
      "type": "cppdbg",
      "name": "Debug project configuration",
      "request": "launch",
      "cwd": "${workspaceRoot}",
      "MIMode": "gdb",
      "setupCommands": [
        {"text": "set remotetimeout 600"},
        {"text": "set debug-file-directory"}
      ],
      "program": "D:\\vscode\\projects\\embedded\\frdm-mcxn947\\frdmmcxn947_led_blinky\\armgcc\\debug\\led_blinky.elf",
      "miDebuggerPath": "D:\\Program Files (x86)\\GNU Arm Embedded Toolchain\\10 2021.10\\bin\\arm-none-eabi-gdb.exe",
      "miDebuggerArgs": "localhost:3333",
      "variables": {
        "mcuxStopAtSymbol": "main", // Initial breakpoint
        "mcuxSerialNumber": "JUSOLFVVYXBVB", // Probe serial number. If not specified, the one from the selected debug probe (in extension view) will be used.
        "mcuxAttach": "false", // Start debug in attach mode
        "mcuxRemoteProbeType": "LinkServer", // Remote Probe Type ("LinkServer", "SEGGER", "PEmicro") used only when connecting to a remote server
        "mcuxSkipBuildWhenDebug": "false" // Skip build when debug
      },
      "logging": {
        "engineLogging": true
      }
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jwolinski_0-1713958589547.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275545i7A5706CF7DB13185/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jwolinski_0-1713958589547.png" alt="jwolinski_0-1713958589547.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 11:37:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1853419#M257</guid>
      <dc:creator>jwolinski</dc:creator>
      <dc:date>2024-04-24T11:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1854243#M258</link>
      <description>&lt;P&gt;Hello, sorry for the late response, I tried on mi Linux PC and at the first time have the same issue but then the VSCODE detect the board and I will start the Debug session.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;{
"configurations": [
{
"type": "cppdbg",
"name": "Debug project configuration",
"request": "launch",
"cwd": "${workspaceRoot}",
"MIMode": "gdb",
"setupCommands": [
{
"text": "set remotetimeout 600"
},
{
"text": "set debug-file-directory"
}
],
"program": "",
"miDebuggerServerAddress": "",
"variables": {
"mcuxStopAtSymbol": "main",
"mcuxSerialNumber": "WLEDDEPSMN35Q",
"mcuxAttach": "false",
"mcuxRemoteProbeType": "",
"mcuxSkipBuildWhenDebug": "false"
},
"logging": {
"engineLogging": false
}
},
{
"name": "C/C++: gcc-11 build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
],
"preLaunchTask": "C/C++: gcc-11 build active file",
"miDebuggerPath": "/usr/bin/gdb","variables": {"mcuxSerialNumber":"WLEDDEPSMN35Q"}
}
],
"version": "2.0.0"
}&lt;/LI-CODE&gt;
&lt;P&gt;Look the differences from your JSON.&lt;/P&gt;
&lt;P&gt;Let me know about the status of your issue.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 03:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1854243#M258</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-04-25T03:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1854365#M259</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232678"&gt;@jwolinski&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you please try an erase first (right click on project + erase, or, go to QuickStart Panel -&amp;gt; Flash Programmer -&amp;gt; Erase) then a debug again? Does this solve your connectivity issue?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cristian&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 06:20:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1854365#M259</guid>
      <dc:creator>cristiantepus</dc:creator>
      <dc:date>2024-04-25T06:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1854369#M260</link>
      <description>&lt;P&gt;Hello, no problem. For me the issue was solved right after I specifed Flash Programmer to Link Server in this window:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jwolinski_1-1714026113557.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275767iBD0480A684FCD5CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jwolinski_1-1714026113557.png" alt="jwolinski_1-1714026113557.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jwolinski_0-1714025888403.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275765iCF5B3386EBC0E27C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jwolinski_0-1714025888403.png" alt="jwolinski_0-1714025888403.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After that i flashed the board and finally I could start debug session, however I'm wondering why it was working because some fileds in json file like &lt;STRONG&gt;program,&amp;nbsp;&lt;/STRONG&gt; was not specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "configurations": [
    {
      "type": "cppdbg",
      "name": "Debug project configuration",
      "request": "launch",
      "cwd": "${workspaceRoot}",
      "MIMode": "gdb",
      "setupCommands": [
        {"text": "set remotetimeout 600"},
        {"text": "set debug-file-directory"}
      ],
      "program": "",
      "miDebuggerArgs": "",
      "variables": {
        "mcuxStopAtSymbol": "main", // Initial breakpoint
        "mcuxSerialNumber": "JUSOLFVVYXBVB", // Probe serial number. If not specified, the one from the selected debug probe (in extension view) will be used.
        "mcuxAttach": "false", // Start debug in attach mode
        "mcuxRemoteProbeType": "LinkServer", // Remote Probe Type ("LinkServer", "SEGGER", "PEmicro") used only when connecting to a remote server
        "mcuxSkipBuildWhenDebug": "false" // Skip build when debug
      },
      "logging": {
        "engineLogging": true
      }
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;Thanks for your anwser!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 06:22:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1854369#M260</guid>
      <dc:creator>jwolinski</dc:creator>
      <dc:date>2024-04-25T06:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1854372#M261</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/169601"&gt;@cristiantepus&lt;/a&gt;, yes I think this was a problem.&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2024 06:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1854372#M261</guid>
      <dc:creator>jwolinski</dc:creator>
      <dc:date>2024-04-25T06:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1859654#M265</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/169601"&gt;@cristiantepus&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Sorry for the late reply.&lt;BR /&gt;Please find the attached &lt;STRONG&gt;build-log.txt&lt;/STRONG&gt; file&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 10:12:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1859654#M265</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2024-05-06T10:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1862496#M267</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/6688"&gt;@marcocavallini&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The log does not contain relevant information. Additional info should be logged after:&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="terminal,monaco"&gt;[Warning] 1: (3221) STDERR: [2900]DEBUG:launcher.core.redlinkserv: [read] Loading "LS_preconnect_MCXN9XX.scp"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="terminal,monaco"&gt;[Warning] 1: (3221) STDERR: [2900]DEBUG:launcher.core.redlinkserv: [write] run&lt;/FONT&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Could you please try an erase first. This worked in a similar situation (see previous replies).&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nicu&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 11:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1862496#M267</guid>
      <dc:creator>nicu_manescu</dc:creator>
      <dc:date>2024-05-09T11:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso for VSCode cannot run hello on MCXN947</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1862502#M268</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24047"&gt;@nicu_manescu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;erasing flash prior to start debugging solved the issue. Now it works!&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 12:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/MCUXpresso-for-VSCode-cannot-run-hello-on-MCXN947/m-p/1862502#M268</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2024-05-09T12:07:19Z</dc:date>
    </item>
  </channel>
</rss>

