Devicetree Visual Editor: Peripherals (ADC, UART, SPI and SPI-Devices) are no longer displayed and cannot be edited

I've recently encountered a problem where the Device Tree Visual Editor no longer displays any peripherals (ADC, UART, SPI), making them uneditable.

I have had my own board (for several weeks) and have been able to configure UART and ADC inputs, as well as SPI devices such as the ADXL362, MCP3208, and ENC424J600, using the visual editor.

Now, all of these peripherals are no longer displayed in the visual editor!

Visual Studio Code:
Version: 1.99.3 (system setup)
Commit: 17baf841131aa23349f217ca7c570c76ee87b957
Date: 2025-04-15T23:18:46.076Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
Operating system: Windows_NT x64 10.0.19045

Nordic extension:
nRF Connect Visual Studio Code Extension Pack version 2025.4.4
nRF Connect for VS Code version 2025.4.186
nRF DeviceTree version 2025.4.22
nRF Kconfig version 2025.4.26
nRF terminal version 2024.9.14

Parents
  • Hi Marko

    I will report this to the Vscode team. Could you also generate the support information in VScode? 
    I would also like if you could open the developer view from vscode --> ctrl+shift + p

    Open the devicetree editor and post the log in case there are extra information there

    Regards

    Runar

  • Here is the generated support information:

    (some sections are masked with ***** for privacy reasons)

    // 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 10 Home",
        "osKernel": "10.0.19045",
        "vscode": "1.99.3",
        "electron": "34.3.2",
        "node": "v20.18.3"
      },
      "system": {
        "date": "2025-05-05T11:29:11.372Z",
        "vscodeRoot": "c:\\Program Files\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "00:00:45",
        "osUptime": "06:41:17",
        "cpu": "Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz"
      },
      "workspace": {
        "name": "***** (Arbeitsbereich)",
        "workspaceFile": "*****.code-workspace",
        "folders": [
          "*****"
        ]
      },
      "sdks": [
        {
          "version": "v2.9.1",
          "path": "d:\\Nordic\\v2.9.1"
        },
        {
          "version": "v2.9.0",
          "path": "d:\\Nordic\\v2.9.0"
        },
        {
          "version": "v2.8.0",
          "path": "d:\\Nordic\\v2.8.0"
        },
        {
          "version": "v2.7.0",
          "path": "d:\\Nordic\\v2.7.0"
        },
        {
          "version": "v2.6.1",
          "path": "d:\\Nordic\\v2.6.1"
        },
        {
          "version": "v2.5.3",
          "path": "d:\\Nordic\\v2.5.3"
        }
      ],
      "activeBuild": "*****",
      "apps": [
        {
          "workspace": "*****",
          "uri": "*****",
          "buildConfigurations": [
            {
              "id": "*****\\build_debug",
              "name": "build_debug",
              "boardId": "*****/nrf52840",
              "type": "Sysbuild",
              "isChild": false,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "d:\\Nordic\\v2.9.1",
              "toolchain": "nRF Connect SDK Toolchain v2.9.1"
            },
            {
              "id": "*****\\build_release",
              "name": "build_release",
              "boardId": "*****/nrf52840",
              "type": "Sysbuild",
              "isChild": false,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "d:\\Nordic\\v2.9.1",
              "toolchain": "nRF Connect SDK Toolchain v2.9.1"
            }
          ]
        }
      ],
      "toolchains": [
        {
          "version": "2.9.1",
          "path": "c:\\ncs\\toolchains\\b620d30767"
        },
        {
          "version": "2.9.0",
          "path": "c:\\ncs\\toolchains\\b620d30767"
        },
        {
          "version": "2.8.0",
          "path": "c:\\ncs\\toolchains\\2d382dcd92"
        }
      ],
      "connectedDevices": [],
      "tools": {
        "C:\\ncs\\toolchains\\b620d30767\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.17.0",
        "C:\\Program Files\\SEGGER\\JLink\\JLink.exe": "8.24",
        "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.24.2",
        "C:\\ncs\\toolchains\\b620d30767\\cmake": "3.21.0",
        "C:\\ncs\\toolchains\\b620d30767\\opt\\bin\\Scripts\\west.exe": "1.2.0",
        "C:\\ncs\\toolchains\\b620d30767\\opt\\bin\\python.exe": "3.12.4",
        "C:\\ncs\\toolchains\\b620d30767\\opt\\bin\\ninja.exe": "1.10.2",
        "C:\\ncs\\toolchains\\b620d30767\\opt\\bin\\gperf.exe": "3.1",
        "C:\\ncs\\toolchains\\b620d30767\\opt\\bin\\dtc.exe": "1.4.7",
        "C:\\ncs\\toolchains\\b620d30767\\opt\\bin\\gn.exe": "2202",
        "C:\\ncs\\toolchains\\b620d30767\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
        "arm-gdbPath": "c:\\ncs\\toolchains\\b620d30767\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
        "riscv-gdbPath": "C:\\ncs\\toolchains\\b620d30767\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin\\riscv64-zephyr-elf-gdb.exe"
      },
      "nrfutil": {
        "nrfutil-device": {
          "version": "2.8.8",
          "binPath": "c:\\Users\\marko\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.186-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.18",
              "versionFormat": "string"
            },
            "name": "JlinkARM",
            "version": "JLink_V8.24",
            "versionFormat": "string"
          }
        },
        "nrfutil-sdk-manager": {
          "version": "1.2.0",
          "binPath": "c:\\Users\\marko\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.186-win32-x64\\platform\\nrfutil\\bin\\nrfutil-sdk-manager"
        }
      },
      "environment": {
        "westEnv": {
          "HOME": "C:\\Users\\marko",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\marko",
          "PATH": "C:\\ncs\\toolchains\\b620d30767;C:\\ncs\\toolchains\\b620d30767\\mingw64\\bin;C:\\ncs\\toolchains\\b620d30767\\bin;C:\\ncs\\toolchains\\b620d30767\\opt\\bin;C:\\ncs\\toolchains\\b620d30767\\opt\\bin\\Scripts;C:\\ncs\\toolchains\\b620d30767\\opt\\nanopb\\generator-bin;C:\\ncs\\toolchains\\b620d30767\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;C:\\ncs\\toolchains\\b620d30767\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin;c:\\Users\\marko\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.186-win32-x64\\platform\\nrfutil\\lib\\nrfutil-sdk-manager;*****",
          "ZEPHYR_BASE": "d:\\Nordic\\v2.9.1\\zephyr",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "C:\\ncs\\toolchains\\b620d30767\\opt\\zephyr-sdk",
          "PYTHONPATH": "C:\\ncs\\toolchains\\b620d30767\\opt\\bin;C:\\ncs\\toolchains\\b620d30767\\opt\\bin\\Lib;C:\\ncs\\toolchains\\b620d30767\\opt\\bin\\Lib\\site-packages"
        },
        "inherited": {
          "HOME": "C:\\Users\\marko",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\marko",
          "Path": "*****"
        }
      },
      "terminal": {
        "defaultProfile": null
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "${nrf-connect.sdk:2.9.0}",
          "toolchain": {
            "path": "${nrf-connect.toolchain:2.9.0}"
          },
          "ozonePath": "",
          "applications": [
            "."
          ],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig"
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [
            ".."
          ],
          "taskBindings": {},
          "buildTerminal": {
            "condensedProgress": true
          },
          "debugging": {
            "flash": true,
            "bindings": {
              "${workspaceFolder}/build": "Launch active build configuration"
            },
            "justMyCode": false
          },
          "activeAppFollowActiveEditor": true,
          "flash": {
            "softreset": false,
            "erase": false,
            "recover": false
          },
          "enableTelemetry": false,
          "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.4.186",
            "path": "c:\\Users\\marko\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.186-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2024.9.14",
            "path": "c:\\Users\\marko\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2024.9.14",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2025.4.22",
            "path": "c:\\Users\\marko\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2025.4.22",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2025.4.26",
            "path": "c:\\Users\\marko\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2025.4.26",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": "1.25.3",
          "ms-vscode.js-debug": "1.97.1",
          "ms-vscode.js-debug-companion": "1.1.3",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "doi.fileheadercomment": "0.0.5",
          "DotJoshJohnson.xml": "2.5.1",
          "Gruntfuggly.todo-tree": "0.0.226",
          "MS-CEINTL.vscode-language-pack-de": "1.99.2025041609",
          "ms-vscode.cpptools-extension-pack": "1.3.1",
          "ms-vscode.cpptools-themes": "2.0.0",
          "ronnysherer.cpp-assist": "0.1.4",
          "Thinker.sort-json": "20.1.0",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "twxs.cmake": "0.0.17",
          "yinfei.luahelper": "0.2.29"
        }
      }
    }

  • Here is the developer console log when the device tree editor is opened:

    webviewElement.ts:484 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
    mountTo @ webviewElement.ts:484
    P @ overlayWebview.ts:249
    claim @ overlayWebview.ts:135
    claim @ webviewEditorInput.ts:138
    claim @ customEditorInput.ts:425
    hb @ webviewEditor.ts:172
    setInput @ webviewEditor.ts:163
    await in setInput
    S @ editorPanes.ts:464
    L @ editorPanes.ts:259
    openEditor @ editorPanes.ts:136
    (anonymous) @ editorGroupView.ts:1259
    Lb @ editorGroupView.ts:1283
    Kb @ editorGroupView.ts:1241
    openEditor @ editorGroupView.ts:1145
    openEditor @ editorService.ts:581
    await in openEditor
    (anonymous) @ editorCommands.ts:512
    invokeFunction @ instantiationService.ts:109
    n @ commandService.ts:95
    executeCommand @ commandService.ts:60
    $executeCommand @ mainThreadCommands.ts:92
    S @ rpcProtocol.ts:458
    Q @ rpcProtocol.ts:443
    M @ rpcProtocol.ts:373
    L @ rpcProtocol.ts:299
    (anonymous) @ rpcProtocol.ts:161
    B @ event.ts:1208
    fire @ event.ts:1239
    fire @ ipc.net.ts:652
    l.onmessage @ localProcessExtensionHost.ts:378
    index.html?id=7cf512ce-2dc4-41be-b1e2-273cd500e441&origin=6f008408-68dd-43c6-aa91-d00f4b9d2e96&swVersion=4&extensionId=nordic-semiconductor.nrf-devicetree&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app:281 Found unexpected service worker controller. Found: vscode-webview://0ituv33p8af3q0lf80qh31ffddvocopiv0k1qng9aql1b6djcg3o/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&id=c6f68a5d-ea65-44a8-b2d9-0eca39833ead&remoteAuthority=. Expected: service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&id=7cf512ce-2dc4-41be-b1e2-273cd500e441&remoteAuthority=. Waiting for controllerchange.
    index.html?id=7cf512ce-2dc4-41be-b1e2-273cd500e441&origin=6f008408-68dd-43c6-aa91-d00f4b9d2e96&swVersion=4&extensionId=nordic-semiconductor.nrf-devicetree&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app:1060 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
    (anonymous) @ index.html?id=7cf512ce-2dc4-41be-b1e2-273cd500e441&origin=6f008408-68dd-43c6-aa91-d00f4b9d2e96&swVersion=4&extensionId=nordic-semiconductor.nrf-devicetree&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app:1060
    dts.js:8 [Violation] 'message' handler took 172ms
    [Violation] Forced reflow while executing JavaScript took 101ms

  • Perfect. I'm awaiting internal feedback and will update when I hear something

    Regards

    Runar

Reply Children
No Data
Related