case about nRF Connect SDK install on ubuntu 22.04.5 server

Hi,

1. Using VS Code plugin remote ssh to access the nRF Connect SDK environment on ubuntu server on windows, the board cannot be found.
2. Please help me troubleshoot the settings configuration file on ubuntu and see how to configure it correctly
3. The ncs version is v2.9.0

The error message is as follows. I think this is the problem

Kind regards,
Peter.Min

Parents
  • Hi, 

    Please provide the Support log via the right top in the Welcome view.

    Regards,
    Amanda H.

  • Hi Amanda Hsieh,

    log as follows

    // IMPORTANT: The following data can contain sensitive or confidential information about your environment.
    // If you do not want others to see this information, make sure to remove it before sharing the data.
    
    // For help and support, visit Nordic Semiconductor's DevZone at https://devzone.nordicsemi.com/.
    
    {
      "platform": {
        "os": "linux",
        "osVersion": "#141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025",
        "osKernel": "5.15.0-131-generic",
        "vscode": "1.96.4",
        "node": "v20.18.1",
        "name": "Ubuntu",
        "id": "ubuntu",
        "version": "22.04.5 LTS (Jammy Jellyfish)",
        "versionId": "22.04"
      },
      "system": {
        "date": "2025-02-08T01:14:06.160Z",
        "vscodeRoot": "/home/ubuntu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server",
        "nrfConnectForDesktopInstalled": "unknown",
        "vscodeUptime": "00:00:32",
        "osUptime": "00:07:37",
        "cpu": "Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz"
      },
      "workspace": {
        "name": "hello_world [SSH: 192.168.3.11]",
        "workspaceFile": null,
        "folders": [
          "/home/ubuntu/ncs/v2.9.0/peter/hello_world"
        ]
      },
      "sdks": [
        {
          "version": "v2.9.0",
          "path": "/home/ubuntu/ncs/v2.9.0"
        }
      ],
      "apps": [
        {
          "workspace": "/home/ubuntu/ncs/v2.9.0/peter/hello_world",
          "uri": "/home/ubuntu/ncs/v2.9.0/peter/hello_world",
          "buildConfigurations": []
        }
      ],
      "toolchains": [
        {
          "version": "2.9.0",
          "path": "/home/ubuntu/ncs/toolchains/b620d30767"
        }
      ],
      "connectedDevices": [],
      "tools": {
        "/opt/SEGGER/JLink/JLinkExe": "7.94e",
        "/usr/local/bin/nrfjprog": "10.24.2",
        "/home/ubuntu/ncs/toolchains/b620d30767/cmake": null,
        "/usr/bin/python3": "3.10.12",
        "/usr/bin/git": "2.34.1",
        "arm-gdbPath": "not found",
        "riscv-gdbPath": "not found"
      },
      "nrfutil": {
        "nrfutil-device": {
          "version": "2.7.9",
          "binPath": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-connect-2025.1.127-linux-x64/platform/nrfutil/bin/nrfutil-device",
          "jlinkInfo": {
            "description": "This version of SEGGER J-Link is different from the J-Link version that was used to test nrfutil device commands",
            "expectedVersion": {
              "version": "JLink_V7.94i",
              "versionFormat": "string"
            },
            "name": "JlinkARM",
            "version": "JLink_V7.94e",
            "versionFormat": "string"
          }
        },
        "nrfutil-toolchain-manager": {
          "version": "0.14.4",
          "binPath": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-connect-2025.1.127-linux-x64/platform/nrfutil/bin/nrfutil-toolchain-manager"
        }
      },
      "environment": {
        "westEnv": {
          "HOME": "/home/ubuntu",
          "PATH": "/home/ubuntu/ncs/toolchains/b620d30767:/home/ubuntu/ncs/toolchains/b620d30767/mingw64/bin:/home/ubuntu/ncs/toolchains/b620d30767/bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/bin/Scripts:/home/ubuntu/ncs/toolchains/b620d30767/opt/nanopb/generator-bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/zephyr-sdk/riscv64-zephyr-elf/bin:/home/ubuntu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ubuntu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
          "ZEPHYR_BASE": "/home/ubuntu/ncs/v2.9.0/zephyr",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "/home/ubuntu/ncs/toolchains/b620d30767/opt/zephyr-sdk",
          "PYTHONPATH": "/home/ubuntu/ncs/toolchains/b620d30767/opt/bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/bin/Lib:/home/ubuntu/ncs/toolchains/b620d30767/opt/bin/Lib/site-packages",
          "USER": "ubuntu"
        },
        "inherited": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "/home/ubuntu",
          "PATH": "/home/ubuntu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
          "USER": "ubuntu"
        }
      },
      "terminal": {
        "defaultProfile": null
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "",
          "toolchain": {
            "path": "",
            "manager": {
              "installDirectory": "/home/ubuntu/ncs/toolchains"
            }
          },
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "kconfig": {
            "interface": "menuconfig"
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "taskBindings": {},
          "buildTerminal": {
            "condensedProgress": true
          },
          "debugging": {
            "flash": true,
            "bindings": {},
            "justMyCode": false
          },
          "activeAppFollowActiveEditor": true,
          "flash": {
            "softreset": false,
            "erase": true,
            "recover": true
          },
          "enableTelemetry": true,
          "thirdpartyIntegration": {},
          "toolchainManager": {
            "indexURL": null,
            "installDirectory": null
          },
          "nrfutil": {
            "home": "${env:HOME}/.nrfutil"
          },
          "defaultOpenAction": "ask",
          "terminalProfile": {
            "shell": null
          },
          "deviceProvider": "nrfjprog"
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        }
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2025.1.127",
            "path": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-connect-2025.1.127-linux-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2024.9.14",
            "path": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-terminal-2024.9.14",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2024.12.15",
            "path": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-devicetree-2024.12.15",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2024.12.13",
            "path": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-kconfig-2024.12.13",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": "1.23.6",
          "ms-vscode.js-debug": "1.96.0",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "Natizyskunk.sftp": "1.16.3",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "twxs.cmake": "0.0.17"
        }
      }
    }
    
    

    Kind regards,
    Peter.Min

Reply
  • Hi Amanda Hsieh,

    log as follows

    // IMPORTANT: The following data can contain sensitive or confidential information about your environment.
    // If you do not want others to see this information, make sure to remove it before sharing the data.
    
    // For help and support, visit Nordic Semiconductor's DevZone at https://devzone.nordicsemi.com/.
    
    {
      "platform": {
        "os": "linux",
        "osVersion": "#141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025",
        "osKernel": "5.15.0-131-generic",
        "vscode": "1.96.4",
        "node": "v20.18.1",
        "name": "Ubuntu",
        "id": "ubuntu",
        "version": "22.04.5 LTS (Jammy Jellyfish)",
        "versionId": "22.04"
      },
      "system": {
        "date": "2025-02-08T01:14:06.160Z",
        "vscodeRoot": "/home/ubuntu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server",
        "nrfConnectForDesktopInstalled": "unknown",
        "vscodeUptime": "00:00:32",
        "osUptime": "00:07:37",
        "cpu": "Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz"
      },
      "workspace": {
        "name": "hello_world [SSH: 192.168.3.11]",
        "workspaceFile": null,
        "folders": [
          "/home/ubuntu/ncs/v2.9.0/peter/hello_world"
        ]
      },
      "sdks": [
        {
          "version": "v2.9.0",
          "path": "/home/ubuntu/ncs/v2.9.0"
        }
      ],
      "apps": [
        {
          "workspace": "/home/ubuntu/ncs/v2.9.0/peter/hello_world",
          "uri": "/home/ubuntu/ncs/v2.9.0/peter/hello_world",
          "buildConfigurations": []
        }
      ],
      "toolchains": [
        {
          "version": "2.9.0",
          "path": "/home/ubuntu/ncs/toolchains/b620d30767"
        }
      ],
      "connectedDevices": [],
      "tools": {
        "/opt/SEGGER/JLink/JLinkExe": "7.94e",
        "/usr/local/bin/nrfjprog": "10.24.2",
        "/home/ubuntu/ncs/toolchains/b620d30767/cmake": null,
        "/usr/bin/python3": "3.10.12",
        "/usr/bin/git": "2.34.1",
        "arm-gdbPath": "not found",
        "riscv-gdbPath": "not found"
      },
      "nrfutil": {
        "nrfutil-device": {
          "version": "2.7.9",
          "binPath": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-connect-2025.1.127-linux-x64/platform/nrfutil/bin/nrfutil-device",
          "jlinkInfo": {
            "description": "This version of SEGGER J-Link is different from the J-Link version that was used to test nrfutil device commands",
            "expectedVersion": {
              "version": "JLink_V7.94i",
              "versionFormat": "string"
            },
            "name": "JlinkARM",
            "version": "JLink_V7.94e",
            "versionFormat": "string"
          }
        },
        "nrfutil-toolchain-manager": {
          "version": "0.14.4",
          "binPath": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-connect-2025.1.127-linux-x64/platform/nrfutil/bin/nrfutil-toolchain-manager"
        }
      },
      "environment": {
        "westEnv": {
          "HOME": "/home/ubuntu",
          "PATH": "/home/ubuntu/ncs/toolchains/b620d30767:/home/ubuntu/ncs/toolchains/b620d30767/mingw64/bin:/home/ubuntu/ncs/toolchains/b620d30767/bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/bin/Scripts:/home/ubuntu/ncs/toolchains/b620d30767/opt/nanopb/generator-bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/zephyr-sdk/riscv64-zephyr-elf/bin:/home/ubuntu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ubuntu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
          "ZEPHYR_BASE": "/home/ubuntu/ncs/v2.9.0/zephyr",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "/home/ubuntu/ncs/toolchains/b620d30767/opt/zephyr-sdk",
          "PYTHONPATH": "/home/ubuntu/ncs/toolchains/b620d30767/opt/bin:/home/ubuntu/ncs/toolchains/b620d30767/opt/bin/Lib:/home/ubuntu/ncs/toolchains/b620d30767/opt/bin/Lib/site-packages",
          "USER": "ubuntu"
        },
        "inherited": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "/home/ubuntu",
          "PATH": "/home/ubuntu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
          "USER": "ubuntu"
        }
      },
      "terminal": {
        "defaultProfile": null
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "",
          "toolchain": {
            "path": "",
            "manager": {
              "installDirectory": "/home/ubuntu/ncs/toolchains"
            }
          },
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "kconfig": {
            "interface": "menuconfig"
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "taskBindings": {},
          "buildTerminal": {
            "condensedProgress": true
          },
          "debugging": {
            "flash": true,
            "bindings": {},
            "justMyCode": false
          },
          "activeAppFollowActiveEditor": true,
          "flash": {
            "softreset": false,
            "erase": true,
            "recover": true
          },
          "enableTelemetry": true,
          "thirdpartyIntegration": {},
          "toolchainManager": {
            "indexURL": null,
            "installDirectory": null
          },
          "nrfutil": {
            "home": "${env:HOME}/.nrfutil"
          },
          "defaultOpenAction": "ask",
          "terminalProfile": {
            "shell": null
          },
          "deviceProvider": "nrfjprog"
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        }
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2025.1.127",
            "path": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-connect-2025.1.127-linux-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2024.9.14",
            "path": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-terminal-2024.9.14",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2024.12.15",
            "path": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-devicetree-2024.12.15",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2024.12.13",
            "path": "/home/ubuntu/.vscode-server/extensions/nordic-semiconductor.nrf-kconfig-2024.12.13",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": "1.23.6",
          "ms-vscode.js-debug": "1.96.0",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "Natizyskunk.sftp": "1.16.3",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "twxs.cmake": "0.0.17"
        }
      }
    }
    
    

    Kind regards,
    Peter.Min

Children
No Data
Related