nRF Connect SDK v3.0.2: Device not found / nrfjprog not found

Hello

since i could not post a ticket (got the message 'could not create a ticket'), I try it again with almost no text here but added the content in a txt-file.

Hope this works...

Best regards

Buehli

// 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": "win32",
    "osVersion": "Windows 11 Pro",
    "osKernel": "10.0.26100",
    "vscode": "1.102.3",
    "electron": "35.6.0",
    "node": "v22.15.1"
  },
  "system": {
    "date": "2025-08-06T08:50:54.348Z",
    "vscodeRoot": "c:\\Users\\myName\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
    "nrfConnectForDesktopInstalled": false,
    "vscodeUptime": "00:25:39",
    "osUptime": "02:48:35",
    "cpu": "AMD Ryzen 7 PRO 8840HS w/ Radeon 780M Graphics"
  },
  "workspace": {
    "name": "FW_nRFConnectSDK (Workspace)",
    "workspaceFile": "c:\\Development\\nrf_connectsdk_study\\Projects\\FW_nRFConnectSDK.code-workspace",
    "folders": [
      "c:\\Development\\nrf_connectsdk_study\\Projects\\O3G3_Firmware",
      "c:\\Development\\nrf_connectsdk_study\\Projects\\.vscode"
    ]
  },
  "sdks": [
    {
      "version": "v3.0.2",
      "path": "c:\\ncs\\v3.0.2"
    }
  ],
  "activeBuild": "c:\\Development\\nrf_connectsdk_study\\Projects\\O3G3_Firmware\\build\\debug\\O3G3_Firmware",
  "apps": [
    {
      "workspace": "c:\\Development\\nrf_connectsdk_study\\Projects\\O3G3_Firmware",
      "uri": "c:\\Development\\nrf_connectsdk_study\\Projects\\O3G3_Firmware",
      "buildConfigurations": [
        {
          "id": "c:\\Development\\nrf_connectsdk_study\\Projects\\O3G3_Firmware\\build\\debug",
          "name": "build/debug",
          "boardId": "O3G3_nrf52840/nrf52840",
          "type": "Sysbuild",
          "isChild": false,
          "isStale": false,
          "taskBindings": {
            "build": [],
            "pristineBuild": [],
            "flash": [],
            "eraseAndFlash": []
          },
          "sdk": "c:\\ncs\\v3.0.2",
          "toolchain": "nRF Connect SDK Toolchain v3.0.2"
        },
        {
          "id": "c:\\Development\\nrf_connectsdk_study\\Projects\\O3G3_Firmware\\build\\release",
          "name": "build/release",
          "boardId": "O3G3_nrf52840/nrf52840",
          "type": "Sysbuild",
          "isChild": false,
          "isStale": false,
          "taskBindings": {
            "build": [],
            "pristineBuild": [],
            "flash": [],
            "eraseAndFlash": []
          },
          "sdk": "c:\\ncs\\v3.0.2",
          "toolchain": "nRF Connect SDK Toolchain v3.0.2"
        }
      ]
    }
  ],
  "toolchains": [
    {
      "version": "3.0.2",
      "path": "c:\\ncs\\toolchains\\0b393f9e1b"
    }
  ],
  "connectedDevices": [
    {
      "serialNumber": "000051013598"
    }
  ],
  "tools": {
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.17.0",
    "C:\\Program Files\\SEGGER\\JLink_V856a\\JLink.exe": "8.56a",
    "C:\\Users\\myName\\AppData\\Local\\Microsoft\\WinGet\\Packages\\NordicSemiconductor.nrfutil_Microsoft.Winget.Source_8wekyb3d8bbwe\\nrfutil.exe": "8.1.0",
    "C:\\ncs\\toolchains\\0b393f9e1b\\cmake": "3.21.0",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\Scripts\\west.exe": "1.2.0",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\python.exe": "3.12.4",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\ninja.exe": "1.10.2",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\gperf.exe": "3.1",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\dtc.exe": "1.4.7",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\gn.exe": "2223",
    "C:\\ncs\\toolchains\\0b393f9e1b\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
    "arm-gdbPath": "c:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
    "riscv-gdbPath": "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin\\riscv64-zephyr-elf-gdb.exe"
  },
  "nrfutil": {
    "nrfutil-device": {
      "version": "2.7.9",
      "binPath": "c:\\Users\\myName\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.1.127-win32-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_V8.56a",
        "versionFormat": "string"
      }
    },
    "nrfutil-toolchain-manager": {
      "version": "0.14.4",
      "binPath": "c:\\Users\\myName\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.1.127-win32-x64\\platform\\nrfutil\\bin\\nrfutil-toolchain-manager"
    }
  },
  "environment": {
    "westEnv": {
      "HOME": "C:\\Users\\myName",
      "HOMEDRIVE": "C:",
      "HOMEPATH": "\\Users\\myName",
      "PATH": "C:\\ncs\\toolchains\\0b393f9e1b;C:\\ncs\\toolchains\\0b393f9e1b\\mingw64\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\Scripts;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\nanopb\\generator-bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin;c:\\Users\\myName\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.1.127-win32-x64\\platform\\nrfutil\\lib\\nrfutil-toolchain-manager;C:\\Program Files\\Python313\\Scripts\\;C:\\Program Files\\Python313\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\MATLAB\\R2025a\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;C:\\Users\\myName\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\myName\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\myName\\AppData\\Roaming\\Python\\Python313\\Scripts;C:\\Users\\myName\\AppData\\Local\\Microsoft\\WinGet\\Packages\\NordicSemiconductor.nrfutil_Microsoft.Winget.Source_8wekyb3d8bbwe;",
      "ZEPHYR_BASE": "c:\\ncs\\v3.0.2\\zephyr",
      "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
      "ZEPHYR_SDK_INSTALL_DIR": "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk",
      "PYTHONPATH": "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\Lib;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\Lib\\site-packages"
    },
    "inherited": {
      "HOME": "C:\\Users\\myName",
      "HOMEDRIVE": "C:",
      "HOMEPATH": "\\Users\\myName",
      "Path": "C:\\Program Files\\Python313\\Scripts\\;C:\\Program Files\\Python313\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\MATLAB\\R2025a\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;C:\\Users\\myName\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\myName\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\myName\\AppData\\Roaming\\Python\\Python313\\Scripts;C:\\Users\\myName\\AppData\\Local\\Microsoft\\WinGet\\Packages\\NordicSemiconductor.nrfutil_Microsoft.Winget.Source_8wekyb3d8bbwe;",
      "PATH": "C:\\Program Files\\Python313\\Scripts\\;C:\\Program Files\\Python313\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\MATLAB\\R2025a\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;C:\\Users\\myName\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\myName\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\myName\\AppData\\Roaming\\Python\\Python313\\Scripts;C:\\Users\\myName\\AppData\\Local\\Microsoft\\WinGet\\Packages\\NordicSemiconductor.nrfutil_Microsoft.Winget.Source_8wekyb3d8bbwe;"
    }
  },
  "terminal": {
    "defaultProfile": null
  },
  "config": {
    "nordic-semiconductor.nrf-connect": {
      "topdir": "",
      "toolchain": {
        "path": ""
      },
      "ozonePath": "",
      "applications": [
        "${workspaceFolder}"
      ],
      "applicationOptions": {},
      "kconfig": {
        "interface": "kconfig"
      },
      "west": {
        "env": {
          "$base": "terminal"
        }
      },
      "boardRoots": [
        "${workspaceFolder}/../../myboards/"
      ],
      "taskBindings": {},
      "buildTerminal": {
        "condensedProgress": true
      },
      "debugging": {
        "flash": true,
        "bindings": {
          "${workspaceFolder}/build/debug": "Launch debug",
          "${workspaceFolder}/build/debug/O3G3_Firmware": "Launch O3G3_Firmware"
        },
        "justMyCode": false
      },
      "activeAppFollowActiveEditor": true,
      "flash": {
        "softreset": false,
        "erase": false,
        "recover": false
      },
      "enableTelemetry": null,
      "thirdpartyIntegration": {},
      "toolchainManager": {
        "indexURL": null,
        "installDirectory": null
      },
      "nrfutil": {
        "home": null
      },
      "defaultOpenAction": "ask",
      "terminalProfile": {
        "shell": null
      }
    },
    "nordic-semiconductor.nrf-terminal": {
      "terminalMode": "character"
    }
  },
  "extensions": {
    "internal": {
      "nordic-semiconductor.nrf-connect": {
        "version": "2025.1.127",
        "path": "c:\\Users\\myName\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.1.127-win32-x64",
        "isActive": true
      },
      "nordic-semiconductor.nrf-terminal": {
        "version": "2024.9.14",
        "path": "c:\\Users\\myName\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2024.9.14",
        "isActive": true
      },
      "nordic-semiconductor.nrf-devicetree": {
        "version": "2025.4.22",
        "path": "c:\\Users\\myName\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2025.4.22",
        "isActive": true
      },
      "nordic-semiconductor.nrf-kconfig": {
        "version": "2025.4.26",
        "path": "c:\\Users\\myName\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2025.4.26",
        "isActive": true
      }
    },
    "external": {
      "marus25.cortex-debug": null,
      "ms-vscode.cpptools": "1.26.3",
      "ms-vscode.js-debug": "1.102.0",
      "ms-vscode.js-debug-companion": "1.1.3",
      "ms-vscode.vscode-js-profile-table": "1.0.10",
      "atlassian.atlascode": "3.8.8",
      "ms-python.debugpy": "2025.10.0",
      "ms-python.python": "2025.10.1",
      "ms-python.vscode-pylance": "2025.7.1",
      "ms-python.vscode-python-envs": "1.2.0",
      "redhat.vscode-yaml": "1.18.0",
      "trond-snekvik.gnu-mapfiles": "1.1.0"
    }
  }
}

Subject:
--------------------
nRF Connect SDK v3.0.2: Device not found / nrfjprog not found


Descrition:
--------------------
Hello,

I've installed my toolchain on a new computer (WIN11), i have an nRF528410 and use a Segger J-Link Base. What I installed:

	> J-Link Software and Documentation Pack v8.56a, with USB driver suing C:\Program Files\SEGGER\JLink_V856a\USBDriver\InstDrivers.exe
	> VS Code
	> nRF Connect Visual Studio Code Extension Pack
	> nRF Util:
		* winget install nrfuti
		* with the commands device, completion, toolchain-manager installed

With this installation i can add the build-configurations, build these, but no device is detected.

With SEGGER Embedded Studio and my J-Link installation I can build & flash...

According to VS code connected devices doesn't show debugger i downgraded nRF Connect for VS Code to 2025.1.127. After that it showed my device under "CONNECTED DEVICES" but i still could not flash. I got the error in the terminal:

	-- west flash: rebuilding
	[0/5] Performing build step for 'O3G3_Firmware'
	ninja: no work to do.
	[2/5] No install step for 'O3G3_Firmware'
	[3/5] Completed 'O3G3_Firmware'
	[4/5] cmd.exe /C "cd /D C:\Development\nrf_connectsdk_study\Projects\O3G3_Firmware\build\debug\_sysbuild && C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.exe -E true"
	-- west flash: using runner nrfjprog
	-- runners.nrfjprog: mass erase requested
	-- runners.nrfjprog: reset after flashing requested
	FATAL ERROR: required program nrfjprog not found; install it or add its location to PATH

Hence, i wanted to install the nRF Command Line Tools, but on the download page [https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download] it is indicated that this is replaced by nRF Util. Therefore I did not install it.

Can you help me? Should I install the nRF Command Line Tools?

Thanks and best regards

Buehli

Parents
  • Hello,

    If you haven't already do check out https://academy.nordicsemi.com/ and in specific https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/ on how to setup the development environment. 

    I am not sure why it asks for nrfjprog, but you can install it manually from (maybe a restart required to add it to system paths):
    https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download 

    No problem to install that tool no (but should not be needed anymore).

    Kenneth

  • Hi Kenneth,

    thanks for your reply!

    I could resolve the error on the missing nrfjprog: I removed all the entries im my tasks.json relating to jrfjprog and I removed  in my board.cmake the line "include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)".

    After that, I re-installed my toolchain according to the acadamy links you provided: Uninstalled the VS Code extenstion, uninstalled J-Link Software, uninstalled nrfutil. Then i logged in my machine (Win11) as administrator to install J-Link Software (v8.58) with "install legacy USB-drivers..." activated, "installed" nrfutil and added to path (for all users) and installed the command "device". After that, i logged in again as normal user and installed the nRF Extension (Toolchain and SDK as v3.0.2, both were still available from my previous installation).

    Regarding J-Link: This looks good to me. At least I can see it in my windows device manager under USB-devices as "J-Link driver", and I can flash using SEGGER embedded Studio.

    When I start VS Code i get the message which looks good to me:

    [14:59:30] =========== Toolchain validation report for nRF Connect SDK Toolchain v3.0.2 ===========
    Package Using the nRF Connect SDK v3.0.2 at c:\ncs\v3.0.2
    No issues were detected with the toolchain.

    Could the issue be somehow in my board.cmake? Here's the content:

    # Copyright (c) 2024 Nordic Semiconductor ASA
    # SPDX-License-Identifier: Apache-2.0

    board_runner_args(jlink "--device=nrf52840_xxaa" "--speed=4000")
    board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")

    #include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

    After that I tried if "nRF Connect for Dekstop v5.2.0 -> Programmer" could detect my j-link. This also fails. Hence, I uninstalled j-link and re-installed version v8.18 (logged in as administrator). Back as normal user, i still get the error "Missing dependency - This app requires SEGGER J_Link V8.18" when i start the Programmer from nRF Connect for Desktop. I did install J-Link software with "install legacy USB-drivers..." activated.

    Can this help to figure out the issue?

    Any help is highly appreciated.

    Thanks and best regards

    Buehli

Reply
  • Hi Kenneth,

    thanks for your reply!

    I could resolve the error on the missing nrfjprog: I removed all the entries im my tasks.json relating to jrfjprog and I removed  in my board.cmake the line "include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)".

    After that, I re-installed my toolchain according to the acadamy links you provided: Uninstalled the VS Code extenstion, uninstalled J-Link Software, uninstalled nrfutil. Then i logged in my machine (Win11) as administrator to install J-Link Software (v8.58) with "install legacy USB-drivers..." activated, "installed" nrfutil and added to path (for all users) and installed the command "device". After that, i logged in again as normal user and installed the nRF Extension (Toolchain and SDK as v3.0.2, both were still available from my previous installation).

    Regarding J-Link: This looks good to me. At least I can see it in my windows device manager under USB-devices as "J-Link driver", and I can flash using SEGGER embedded Studio.

    When I start VS Code i get the message which looks good to me:

    [14:59:30] =========== Toolchain validation report for nRF Connect SDK Toolchain v3.0.2 ===========
    Package Using the nRF Connect SDK v3.0.2 at c:\ncs\v3.0.2
    No issues were detected with the toolchain.

    Could the issue be somehow in my board.cmake? Here's the content:

    # Copyright (c) 2024 Nordic Semiconductor ASA
    # SPDX-License-Identifier: Apache-2.0

    board_runner_args(jlink "--device=nrf52840_xxaa" "--speed=4000")
    board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")

    #include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
    include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

    After that I tried if "nRF Connect for Dekstop v5.2.0 -> Programmer" could detect my j-link. This also fails. Hence, I uninstalled j-link and re-installed version v8.18 (logged in as administrator). Back as normal user, i still get the error "Missing dependency - This app requires SEGGER J_Link V8.18" when i start the Programmer from nRF Connect for Desktop. I did install J-Link software with "install legacy USB-drivers..." activated.

    Can this help to figure out the issue?

    Any help is highly appreciated.

    Thanks and best regards

    Buehli

Children
Related