VS Code: SeggerBackend jlinkarm.dll reported error at line ...

Hi all,

I recently updated all Segger JLink software using the Segger download links and updated the probe as prompted by VS Code NRF Extension. Up until about two days ago, before the updates, flashing worked very well and without issues.

Since today, I get the following errors on screen:

It seems though that the flashing does work correctly, because the firmware gets updated on an NRF52840 (u-Blox Module) custom board.

Additionally, the VS Code extension now recognises an STM32 debugger, which didn't happen up until yesterday or two days ago.

Any ideas what it may be?

Cheers,

Alberto

  • The attached file is the output of the support information:

    // 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.26200",
        "vscode": "1.111.0",
        "electron": "39.6.0",
        "node": "v22.22.0",
        "appName": "Visual Studio Code",
        "appHost": "desktop"
      },
      "system": {
        "date": "2026-03-17T01:09:00.395Z",
        "vscodeRoot": "c:\\Local\\Programs\\Microsoft VS Code\\ce099c1ed2\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "16:27:19",
        "osUptime": "118:34:21",
        "cpu": "13th Gen Intel(R) Core(TM) i7-13700H"
      },
      "workspace": {
        "name": "ble_xxx",
        "workspaceFile": null,
        "folders": [
          "c:\\Projects\\_\\Firmware\\ble_xxx"
        ]
      },
      "sdks": [
        {
          "version": "v3.1.1",
          "path": "c:\\ncs\\v3.1.1"
        }
      ],
      "activeBuild": "/Users/Firmware/ble_xxx/build/ble_xxx",
      "apps": [
        {
          "workspace": "c:\\Projects\\_\\Firmware\\ble_xxx",
          "uri": "c:\\Projects\\_\\Firmware\\ble_xxx",
          "buildConfigurations": [
            {
              "id": "/Users/Firmware/ble_xxx/build",
              "name": "build",
              "boardId": "ble_xxx/nrf52840",
              "type": "Sysbuild",
              "isChild": false,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "c:\\ncs\\v3.1.1",
              "toolchain": "nRF Connect SDK Toolchain v3.1.1"
            },
            {
              "id": "/Users/Firmware/ble_xxx/build/ble_xxx",
              "name": "build/ble_xxx",
              "boardId": "ble_xxx/nrf52840",
              "type": "Zephyr",
              "isChild": true,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "c:\\ncs\\v3.1.1",
              "toolchain": "nRF Connect SDK Toolchain v3.1.1"
            }
          ]
        }
      ],
      "toolchains": [
        {
          "version": "3.1.1",
          "path": "c:\\ncs\\toolchains\\c1a76fddb2",
          "displayName": "nRF Connect SDK Toolchain v3.1.1",
          "compilerTools": [
            "Zephyr SDK (arm) 0.17.0",
            "Zephyr SDK (riscv) 0.17.0"
          ]
        }
      ],
      "connectedDevices": [
        {
          "serialNumber": "000603005698",
          "deviceFamily": "NRF52_FAMILY",
          "deviceName": "nRF52840",
          "deviceVersion": "NRF52840_xxAA_REV2",
          "jlinkObFirmwareVersion": "J-Link V13 compiled Feb 26 2026 08:54:38",
          "protectionStatus": "NRFDL_PROTECTION_STATUS_NONE",
          "protectionStatusCore": "NRFDL_DEVICE_CORE_APPLICATION"
        },
        {
          "serialNumber": "001E000C5553500C20393256"
        }
      ],
      "tools": {
        "C:\\ncs\\toolchains\\c1a76fddb2\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.17.0",
        "C:\\Program Files\\SEGGER\\JLink\\JLink.exe": "8.20",
        "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.23.2",
        "C:\\ncs\\toolchains\\c1a76fddb2\\nrfutil": "8.1.1",
        "C:\\ncs\\toolchains\\c1a76fddb2\\nrfutil\\home\\bin\\nrfutil-device.exe": "2.13.2",
        "C:\\ncs\\toolchains\\c1a76fddb2\\cmake": "3.21.0",
        "C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin\\Scripts\\west.exe": "1.4.0",
        "C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin\\python.exe": "3.12.4",
        "C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin\\ninja.exe": "1.10.2",
        "C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin\\gperf.exe": "3.1",
        "C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin\\dtc.exe": "1.4.7",
        "C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin\\gn.exe": "2223",
        "C:\\ncs\\toolchains\\c1a76fddb2\\mingw64\\bin\\git.exe": "git version 2.37.3.",
        "debugger (arm)": "c:\\ncs\\toolchains\\c1a76fddb2\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
        "debugger (riscv)": "c:\\ncs\\toolchains\\c1a76fddb2\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin\\riscv64-zephyr-elf-gdb.exe"
      },
      "nrfutil": {
        "nrfutil-device": {
          "version": "2.17.1",
          "binPath": "c:\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2026.3.1484-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_V8.76",
              "versionFormat": "string"
            },
            "name": "JlinkARM",
            "version": "JLink_V8.20",
            "versionFormat": "string"
          }
        },
        "nrfutil-sdk-manager": {
          "version": "1.11.0",
          "binPath": "c:\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2026.3.1484-win32-x64\\platform\\nrfutil\\bin\\nrfutil-sdk-manager"
        }
      },
      "environment": {
        "westEnv": {
          "HOME": "C:",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "",
          "PATH": "C:\\ncs\\toolchains\\c1a76fddb2;C:\\ncs\\toolchains\\c1a76fddb2\\mingw64\\bin;C:\\ncs\\toolchains\\c1a76fddb2\\bin;C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin;C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin\\Scripts;c:/ncs/toolchains/c1a76fddb2\\opt/nanopb/generator-bin;C:\\ncs\\toolchains\\c1a76fddb2\\nrfutil\\bin;C:\\ncs\\toolchains\\c1a76fddb2\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;C:\\ncs\\toolchains\\c1a76fddb2\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin;c:\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2026.3.1484-win32-x64\\platform\\nrfutil\\lib\\nrfutil-sdk-manager;C:\\Local\\Programs\\Microsoft VS Code;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\MATLAB\\R2023b\\runtime\\win64;C:\\Program Files\\MATLAB\\R2023b\\bin;C:\\Program Files (x86)\\Pololu\\Tic\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Local\\Microsoft\\WindowsApps;C:\\Local\\Programs\\Microsoft VS Code\\bin;C:\\protoc-24.4-win64\\bin;C:\\nanopb-0.4.7-windows-x86\\generator-bin;C:\\Qt\\Tools\\CMake_64\\bin;C:\\ninja;C:\\Qt\\6.6.2\\mingw_64\\bin;C:\\ST\\STM32CubeIDE_1.14.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.101.202401061624\\tools\\bin;C:\\ST\\STM32CubeIDE_1.14.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235\\tools\\bin;C:\\Program Files\\STMicroelectronics\\STM32Cube\\STM32CubeProgrammer\\bin;C:\\Xilinx\\Vivado\\2024.1\\bin;C:\\Xilinx\\Vivado\\2024.1\\lib\\win64.o;C:\\GHDL\\bin;C:\\GHDL\\lib\\ghdl\\vendors;",
          "ZEPHYR_BASE": "c:\\ncs\\v3.1.1\\zephyr",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "c:\\ncs\\toolchains\\c1a76fddb2\\opt\\zephyr-sdk",
          "PYTHONPATH": "C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin;C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin\\Lib;C:\\ncs\\toolchains\\c1a76fddb2\\opt\\bin\\Lib\\site-packages"
        },
        "inherited": {
          "HOME": "C:",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "",
          "Path": "C:\\Local\\Programs\\Microsoft VS Code;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\MATLAB\\R2023b\\runtime\\win64;C:\\Program Files\\MATLAB\\R2023b\\bin;C:\\Program Files (x86)\\Pololu\\Tic\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Local\\Microsoft\\WindowsApps;C:\\Local\\Programs\\Microsoft VS Code\\bin;C:\\protoc-24.4-win64\\bin;C:\\nanopb-0.4.7-windows-x86\\generator-bin;C:\\Qt\\Tools\\CMake_64\\bin;C:\\ninja;C:\\Qt\\6.6.2\\mingw_64\\bin;C:\\ST\\STM32CubeIDE_1.14.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.101.202401061624\\tools\\bin;C:\\ST\\STM32CubeIDE_1.14.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235\\tools\\bin;C:\\Program Files\\STMicroelectronics\\STM32Cube\\STM32CubeProgrammer\\bin;C:\\Xilinx\\Vivado\\2024.1\\bin;C:\\Xilinx\\Vivado\\2024.1\\lib\\win64.o;C:\\GHDL\\bin;C:\\GHDL\\lib\\ghdl\\vendors;",
          "PATH": "C:\\Local\\Programs\\Microsoft VS Code;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\MATLAB\\R2023b\\runtime\\win64;C:\\Program Files\\MATLAB\\R2023b\\bin;C:\\Program Files (x86)\\Pololu\\Tic\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Local\\Microsoft\\WindowsApps;C:\\Local\\Programs\\Microsoft VS Code\\bin;C:\\protoc-24.4-win64\\bin;C:\\nanopb-0.4.7-windows-x86\\generator-bin;C:\\Qt\\Tools\\CMake_64\\bin;C:\\ninja;C:\\Qt\\6.6.2\\mingw_64\\bin;C:\\ST\\STM32CubeIDE_1.14.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.101.202401061624\\tools\\bin;C:\\ST\\STM32CubeIDE_1.14.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235\\tools\\bin;C:\\Program Files\\STMicroelectronics\\STM32Cube\\STM32CubeProgrammer\\bin;C:\\Xilinx\\Vivado\\2024.1\\bin;C:\\Xilinx\\Vivado\\2024.1\\lib\\win64.o;C:\\GHDL\\bin;C:\\GHDL\\lib\\ghdl\\vendors;"
        }
      },
      "terminal": {
        "defaultProfile": "Anaconda"
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "ozonePath": "",
          "applications": [
            "${workspaceFolder}"
          ],
          "applicationOptions": {},
          "west": {
            "env": {
              "$base": "terminal"
            },
            "verbose": ""
          },
          "boardRoots": [
            "C:\\Projects\\nrf_boards"
          ],
          "taskBindings": {},
          "buildTerminal": {
            "condensedProgress": true
          },
          "debugging": {
            "flash": true,
            "bindings": {
              "${workspaceFolder}/build/ble_xxx": "Launch ble_xxx/build/ble_xxx"
            },
            "justMyCode": false,
            "focusOnNrfDebug": true
          },
          "activeAppFollowActiveEditor": true,
          "flash": {
            "softreset": false,
            "erase": false,
            "recover": false
          },
          "enableTelemetry": true,
          "thirdpartyIntegration": {},
          "toolchainManager": {
            "indexURL": null,
            "installDirectory": null
          },
          "sdkManager": {
            "region": "default"
          },
          "defaultOpenAction": "ask",
          "terminalProfile": {
            "shell": {}
          },
          "remoteDevices": [],
          "toolchain": {
            "path": "${nrf-connect.toolchain:2.5.0}"
          },
          "deviceProvider": "nrfjprog"
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character",
          "localEcho": false
        }
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2026.3.1484",
            "path": "c:\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2026.3.1484-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2026.3.273",
            "path": "c:\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2026.3.273",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2026.3.617",
            "path": "c:\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2026.3.617",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2026.1.230",
            "path": "c:\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2026.1.230",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": "1.31.1",
          "ms-vscode.js-debug": "1.110.0",
          "ms-vscode.js-debug-companion": "1.1.3",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "docker.docker": "0.18.0",
          "mechatroner.rainbow-csv": "3.24.1",
          "mhutchie.git-graph": "1.30.0",
          "ms-azuretools.vscode-containers": "2.4.1",
          "ms-azuretools.vscode-docker": "2.0.0",
          "ms-python.debugpy": "2025.18.0",
          "ms-python.python": "2026.4.0",
          "ms-python.vscode-pylance": "2026.1.1",
          "ms-python.vscode-python-envs": "1.22.0",
          "ms-toolsai.datawrangler": "1.24.0",
          "ms-toolsai.jupyter": "2025.9.1",
          "ms-toolsai.jupyter-keymap": "1.1.2",
          "ms-toolsai.jupyter-renderers": "1.3.0",
          "ms-toolsai.vscode-jupyter-cell-tags": "0.1.9",
          "ms-toolsai.vscode-jupyter-slideshow": "0.1.6",
          "ms-vscode-remote.remote-containers": "0.447.0",
          "ms-vscode-remote.remote-ssh": "0.122.0",
          "ms-vscode-remote.remote-ssh-edit": "0.87.0",
          "ms-vscode-remote.remote-wsl": "0.104.3",
          "ms-vscode.cpp-devtools": "0.3.6",
          "ms-vscode.cpptools-extension-pack": "1.5.1",
          "ms-vscode.cpptools-themes": "2.0.0",
          "ms-vscode.hexeditor": "1.11.1",
          "ms-vscode.remote-explorer": "0.5.0",
          "ms-vscode.vscode-serial-monitor": "0.13.1",
          "mshr-h.veriloghdl": "1.22.2",
          "pbkit.vscode-pbkit": "0.0.8",
          "rjyoung.vscode-modern-vhdl-support": "1.0.6",
          "trond-snekvik.gnu-mapfiles": "1.1.0"
        }
      }
    }
    
    

    Some folder and naming information has been removed but that's it.

    Cheers,

    Alberto

  • Hi Alberto,

    Sorry about the confusion here, but Benjamin is currently OOO, so I'll take over this case for a bit. 

    It seems to me that the issue in the original post was taken care of, and solved by using the recommended JLink version. Though a new issue, that you are currently discussing, is how to connect an app to a specifc device in VSC? If so, have you seen this?

    Regards,

    Elfving

  • Hi Elfving,

    Thanks for your answer. That was the solution I was looking for. I just tried it and it works.

    Cheers,

    Alberto

  • Glad to hear it! Let us know if there is anything else!

    Regards,

    Elfving

Related