NCS1.9.1 VS Code download error

Hello,

NCS1.9.1, nRF52840 chip,  Windows10 X64, VS Code, JLink V10 Model,

i've connect pins CLK,DIO,GND,3.3V,

now:

J-Flash download(hex) work well,

Keil5 IDE download(nRF SDK) work well,

but VS Code download(NCS) error,   i don't know what happened.

tips:     VS Code download to nRF52840DK will be OK (no use JLink V10 Model).

  

thanks

Best Regards

Parents Reply
  • Hi,

    I still require the Support Information which you can get via the command nRF Connect: Generate Support Information. Please share those.

    Also, how do you create the project in VS Code? Kindly verify whether you do the following steps:

    1. Select "Create new application from sample"

    2. Create the application

    3. And finally build the configuration.

    Kindly also share the details that you enter in Step 2.

    -Priyanka

Children
  • Hi,

    thanks for reply,

    i delete and redo it.

       

    thanks

    Best Regards

  • Hi,

    I was on vacation and hence the delayed response. Do you still face the issue?

    -Priyanka

  • Hi,

    thanks for reply.

    The problem remains. I can only download it through J-Flash.

    Your post no reply button, so eply here.

       

    Best regards

  • Hello,

    Sorry for repeating a few questions. I would like to clarify some stuff.

    You are using the nRF52840DK right? (please verify tat it is not a nRF52840-PDK)

    And you are trying to do the basic hello_world sample onto the nRF52840DK?

    Have you tried using west? Does it work well when trying with west?

    Also, could you try shifting the folder "nRF5_Work" to d:/Programs/nRF5_Work and then try again?

    -Priyanka

  • Hi,

    yes, i step  two,  and i use nRF52840-DK,not PDK.

       

    VSCode Support Information.

    IMPORTANT: The data below could contain sensitive or confidential information about your environment.
    If you do not wish this to be seen by others, please make sure to remove it before sharing.
    
    For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/.
    
    {
      "platform": {
        "os": "win32",
        "osVersion": "Windows 10 Pro",
        "osKernel": "10.0.22000",
        "vscode": "1.67.2",
        "electron": "17.4.1",
        "node": "v16.13.0"
      },
      "system": {
        "date": "2022-05-21T05:34:09.644Z",
        "vscodeRoot": "d:\\Program\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "02:17:46",
        "osUptime": "02:23:38",
        "cpu": {
          "model": "Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz",
          "speed": "2660 MHz",
          "count": 4
        },
        "memory": {
          "total": "7.99 GB",
          "free": "3.64 GB"
        }
      },
      "workspace": {
        "name": "nRF5_Work (Workspace)",
        "workspaceFile": "d:\\nRF5_Work\\nRF5_Work.code-workspace",
        "folders": [
          "d:\\nRF5_Work"
        ]
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2022.4.219",
            "path": "c:\\Users\\Administrator\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2022.4.219",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2022.4.61",
            "path": "c:\\Users\\Administrator\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.4.61",
            "isActive": true
          },
          "nordic-semiconductor.devicetree": null,
          "nordic-semiconductor.kconfig": null
        },
        "external": {
          "marus25.cortex-debug": "1.4.4",
          "ms-vscode.cpptools": "1.9.8",
          "ms-vscode-remote.remote-wsl-recommender": "0.0.15",
          "ms-vscode.js-debug": "1.67.2",
          "ms-vscode.js-debug-companion": "1.0.18",
          "ms-vscode.references-view": "0.0.89",
          "ms-vscode.vscode-js-profile-table": "1.0.1",
          "cschlosser.doxdocgen": "1.4.0",
          "endercat.one-dark-github": "0.0.1",
          "jeff-hykin.better-cpp-syntax": "1.15.13",
          "ms-vscode-remote.remote-containers": "0.234.0",
          "ms-vscode-remote.remote-ssh": "0.80.0",
          "ms-vscode-remote.remote-ssh-edit": "0.80.0",
          "ms-vscode-remote.remote-wsl": "0.66.3",
          "ms-vscode.cpptools-extension-pack": "1.2.0",
          "ms-vscode.cpptools-themes": "1.0.0",
          "trond-snekvik.gnu-mapfiles": "1.1.0"
        }
      },
      "tools": {
        "C:\\Program Files\\SEGGER\\JLink\\JLink.exe": "7.52d",
        "C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.15.0",
        "nrfutil": "Not found",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\cmake.exe": "3.20.5",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Scripts\\west.exe": "0.12.0",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\python.exe": "3.8.2",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\ninja.exe": "1.9.0",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\gperf.exe": "3.1",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\dtc.exe": "1.4.7",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\arm-none-eabi-gcc.exe": "9-2019-q4-major",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\gn.exe": "1977",
        "d:\\Program\\v1.9.99\\toolchain\\mingw64\\bin\\git.exe": "2.26.2.windows.1"
      },
      "sdks": [],
      "toolchains": [],
      "connectedDevices": [
        {
          "serialNumber": "1050074424"
        },
        {
          "serialNumber": "683608588"
        }
      ],
      "deviceProviders": [
        "nrfjprog"
      ],
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "d:\\Program\\v1.9.99",
          "toolchain": {
            "path": "d:\\Program\\v1.9.99\\toolchain"
          },
          "ozonePath": "",
          "applications": [
            "${workspaceFolder}\\hello_world",
            "${workspaceFolder}\\button",
            "${workspaceFolder}\\nvs",
            "${workspaceFolder}\\record_text",
            "${workspaceFolder}\\qspi",
            "${workspaceFolder}\\lpuart"
          ],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig"
          },
          "welcome": {
            "showOnStartup": false
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "enableTelemetry": true
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        },
        "nordic-semiconductor.devicetree": {
          "modules": [
            "${zephyrBase}",
            "${zephyrBase}/../nrf",
            "."
          ],
          "zephyr": "D:\\Program\\v1.9.99\\zephyr\\",
          "ctxFile": "",
          "defaultBoard": "nrf5340dk_nrf5340_cpuapp"
        },
        "nordic-semiconductor.kconfig": {
          "python": "D:\\Program\\v1.9.99\\toolchain\\opt\\bin\\python.exe"
        },
        "marus25.cortex-debug": {
          "armToolchainPath": null,
          "armToolchainPrefix": "arm-none-eabi",
          "gdbPath": null,
          "objdumpPath": null,
          "JLinkGDBServerPath": null,
          "openocdPath": null,
          "pyocdPath": null,
          "PEGDBServerPath": null,
          "stutilPath": null,
          "stlinkPath": null,
          "stm32cubeprogrammer": null,
          "enableTelemetry": true,
          "flattenAnonymous": false,
          "registerUseNaturalFormat": true,
          "variableUseNaturalFormat": true,
          "dbgServerLogfile": null,
          "showRTOS": false,
          "showDevDebugOutput": "none"
        }
      },
      "environment": {
        "westExe": "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Scripts\\west.exe",
        "westEnv": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\Administrator",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\Administrator",
          "Path": "d:\\Program\\v1.9.99\\toolchain\\mingw64\\bin;d:\\Program\\v1.9.99\\toolchain\\mingw64\\libexec\\git-core;d:\\Program\\v1.9.99\\toolchain\\opt\\bin;d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Scripts;C:\\Program Files\\Eclipse Foundation\\jdk-8.0.302.8-hotspot\\bin;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin\\;C:\\Program Files\\IVI Foundation\\VISA\\Win64\\Bin\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin;D:\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\CMake\\bin;C:\\Program Files\\Git\\cmd;D:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Scripts;D:\\Program\\v1.9.99\\toolchain\\opt\\bin;D:\\Program\\v1.9.99\\toolchain\\bin;D:\\Program\\v1.9.1\\toolchain\\opt\\bin\\Scripts;D:\\Program\\v1.9.1\\toolchain\\opt\\bin;D:\\Program\\v1.9.1\\toolchain\\bin;C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Administrator\\.dotnet\\tools;D:\\Program\\Microsoft VS Code\\bin;D:\\Program\\Python\\Scripts;D:\\Program\\Python;C:\\Users\\Administrator\\AppData\\Local\\GitHubDesktop\\bin;",
          "ZEPHYR_BASE": "d:\\Program\\v1.9.99\\zephyr",
          "GNUARMEMB_TOOLCHAIN_PATH": "d:\\Program\\v1.9.99\\toolchain\\opt",
          "ZEPHYR_TOOLCHAIN_VARIANT": "gnuarmemb",
          "PYTHONPATH": "d:\\Program\\v1.9.99\\toolchain\\opt\\bin;d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Lib;d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Lib\\site-packages",
          "Python3_ROOT": "d:\\Program\\v1.9.99\\toolchain\\opt\\bin"
        },
        "toolchainPath": "d:\\Program\\v1.9.99\\toolchain",
        "toolchainBinPath": "d:\\Program\\v1.9.99\\toolchain\\opt\\bin",
        "toolchainVersion": "1.9.99"
      },
      "terminal": {
        "shell": null,
        "defaultProfile": null
      }
    }

      

    Best regards

Related