Must toolchain version match SDK version?

Hi.

For a while I have had some issues with the toolchain when using the nRF connect SDK in visual studio code on windows 10. I believe it was after installing SDK version 2.8.0 that I saw the problems first, although I'm not entirely sure. When I use certain commands I get errors in toolchain versions other than 2.8.0. For instance, if I try to build and flash an application using SDK version 1.9.1 and toolchain 1.9.1 I get the attached output.

First of all, is there a workaround to get this to work? I'm currently flashing manually with nrfjprog from command line.

Secondly, should I be matching toolchain versions and SDK versions in the first place? What is the intended/recommended way to use SDK and toolchain versions? If I try build my application with SDK version 1.9.1 and toolchain version 2.8.0 the application appears to run as expected, even with some improvements: resulting merged.hex file is smaller and more warnings are caught in the build process.

[9/27] Linking CXX executable zephyr\zephyr_pre0.elf
[10/27] Generating dev_handles.c
FAILED: zephyr/dev_handles.c
cmd.exe /C "cd /D C:\...\build_191\zephyr && C:\ncs\v1.9.1\toolchain\opt\bin\python.exe C:/ncs/v1.9.1/zephyr/scripts/gen_handles.py --output-source dev_handles.c --kernel C:/.../build_191/zephyr/zephyr_pre0.elf --zephyr-base C:/ncs/v1.9.1/zephyr --start-symbol __device_start"
Traceback (most recent call last):
  File "C:/ncs/v1.9.1/zephyr/scripts/gen_handles.py", line 37, in <module>
    from elftools.elf.elffile import ELFFile
  File "C:\ncs\toolchains\2d382dcd92\opt\bin\Lib\site-packages\elftools\elf\elffile.py", line 41, in <module>
    from ..dwarf.dwarfinfo import DWARFInfo, DebugSectionDescriptor, DwarfConfig
  File "C:\ncs\toolchains\2d382dcd92\opt\bin\Lib\site-packages\elftools\dwarf\dwarfinfo.py", line 17, in <module>
    from .structs import DWARFStructs
  File "C:\ncs\toolchains\2d382dcd92\opt\bin\Lib\site-packages\elftools\dwarf\structs.py", line 10, in <module>
    from logging.config import valid_ident
  File "<frozen zipimport>", line 259, in load_module
  File "logging\config.py", line 30, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "logging\handlers.py", line 26, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "socket.py", line 49, in <module>
ImportError: Module use of python312.dll conflicts with this version of Python.
ninja: build stopped: subcommand failed.
FATAL ERROR: re-build

Parents
  • Hello,

    Yes. This is actually a bug. I don't recall the details (but I will dig it up if we can't quickly solve this). Can you please try to install v2.9.0 as well? And if the issue doesn't go away, can you uninstall v2.8.0 (and keep v2.9.0)? Does that change anything?

    Best regards,

    Edvin

  • Hi. Thank you for the suggestions, although it didn't seem to change anything.

    I tried to install 2.9.0, after which 2.8.0 and 2.9.0 worked but not 1.9.1 as before. Then, I tried to reboot my computer and ended up with the same result. Next, I uninstalled 2.8.0. As before, 2.9.0 worked but not 1.9.1. Restarted by computer again and still the same result. I installed and uninstalled the toolchain versions with the commands in VSCode.

    After that, I checked my C:/ncs folder to see that 2.8.0 was still there, and I did not find 2.9.0. So I took the extra step to delete 2.8.0 in my file explorer, uninstall 2.9.0 in VSCode, install 2.9.0 in the toolchain manager and restart my computer. Still the same error as far as I can tell.

    On a separate note, I checked my nRF Connect for VS Code extension version (2025.1.127) and found I did not have the april update (which I believe was released today, after my original question?). I see this issue is addressed in this update since it prompts me that support for 1.x.x toolchains is discontinued. It also states "If you are working with the nRF Connect SDK v1.x, select the nRF Connect SDK Toolchain v2.0.0 for your configuration". So I guess the intended strategy is to install toolchain version 2.0.0 and use that for my applications in 1.x.

    So I tried this in nRF Connect for VS Code v2025.4.106, but flashing with toolchian verison 2.0.0 does not work either. Without comparing the errors line by line, the error in 2.0.0 appears to be the same as in 1.9.1.

  • I did another test and reproduced the same error with fresh installation of SDK 2.4.0 and toolchain 2.4.0. All done in VSCode with version 2025.04.186 of the nRF extension:

    1. Install SDK 2.4.0.
    2. Install toolchain 2.4.0.
    3. "Browse samples" -> "2.4.0" -> "HTTP application update sample"
    4. Build for nrf9160dk_nrf9160_ns (Build OK, but non-critical python warning/error in configure step).
    5. Add one character to the first printk (to force rebuild).
    6. Run command "Flash active image to board". - fails

    Please see attached log and configuration.

     *  Executing task: nRF Connect: Generate config nrf9160dk_nrf9160_ns for c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update 
    
    Building application_update
    C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION=NONE"
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update
    -- CMake version: 3.20.5
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr)
    -- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
    -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
    -- Generated zephyr.dts: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/dts.cmake
    Parsing C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/Kconfig
    Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig'
    Merged configuration 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/prj.conf'
    Configuration saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    Changed board to secure nrf9160dk_nrf9160 (NOT NS)
    
    === child image mcuboot -  begin ===
    loading initial cache file C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake
    CMake Warning (dev) at C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake:8 (set):
      Syntax error in cmake code at
    
        C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake:8
    
      when parsing string
    
        C:\ncs\toolchains\31f4403e35\opt\bin\python.exe
    
      Invalid escape sequence \3
    
      Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
      "cmake --help-policy CMP0010" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.20.5
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr)
    -- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160, Revision: 0.7.0
    -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
    -- Found devicetree overlay: C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/app.overlay
    -- Generated zephyr.dts: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/dts.cmake
    Parsing C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_defconfig'
    Merged configuration 'C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/modules/mcuboot/tfm.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/modules/mcuboot/fih_low_enable.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
      No SOURCES given to Zephyr library: lib__libc__common
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: C:/ncs/v2.4.0/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot
    === child image mcuboot -  end ===
    
    CMake Warning at C:/ncs/v2.4.0/nrf/modules/mcuboot/CMakeLists.txt:310 (message):
      
    
              ---------------------------------------------------------
              --- WARNING: Using default MCUBoot key, it should not ---
              --- be used for production.                           ---
              ---------------------------------------------------------
              
    
    
    
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
      No SOURCES given to Zephyr library: lib__libc__common
    
      Excluding target from build.
    
    
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:1864 (message):
      __ASSERT() statements are globally ENABLED
    
    
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    Dropping partition 'nonsecure_storage' since it is empty.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build
    -- west build: building application
    [1/323] Generating include/generated/version.h
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1
    [1/184] Generating include/generated/version.h
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1
    [174/184] Linking C executable zephyr\zephyr_pre0.elf
    
    [178/184] Linking C executable zephyr\zephyr_pre1.elf
    
    [184/184] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       28598 B        48 KB     58.18%
                 RAM:       16368 B        32 KB     49.95%
            IDT_LIST:          0 GB         2 KB      0.00%
    [11/323] Generating ../../tfm/CMakeCache.txt
    -- Found Git: C:/ncs/toolchains/31f4403e35/mingw64/bin/git.exe (found version "2.37.3.windows.1") 
    -- The C compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/tfm
    [22/323] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    [304/323] Linking C executable zephyr\zephyr_pre0.elf
    
    [308/323] Linking C executable zephyr\zephyr_pre1.elf
    
    [314/323] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      127340 B       448 KB     27.76%
                 RAM:       38408 B     211608 B     18.15%
            IDT_LIST:          0 GB         2 KB      0.00%
    [318/323] Generating ../../zephyr/app_update.bin
    image.py: sign the payload
    [319/323] Generating ../../zephyr/app_signed.hex
    image.py: sign the payload
    [321/323] Generating ../../zephyr/app_test_update.hex
    image.py: sign the payload
    [323/323] Generating zephyr/merged.hex
     *  Terminal will be reused by tasks, press any key to close it. 
    
     *  Executing task: nRF Connect: Flash: application_update/build (active) 
    
    Flashing build to motor
    C:\Windows\system32\cmd.exe /d /s /c "west flash -d c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build --dev-id 203200665"
    
    -- west flash: rebuilding
    [0/32] Performing build step for 'tfm'
    ninja: no work to do.
    [1/24] Performing build step for 'mcuboot_subimage'
    ninja: no work to do.
    [3/22] Building C object CMakeFiles/app.dir/src/main.c.obj
    [4/22] Linking C static library app\libapp.a
    [5/22] Linking C executable zephyr\zephyr_pre0.elf
    
    [6/22] Generating dev_handles.c
    FAILED: zephyr/dev_handles.c 
    cmd.exe /C "cd /D C:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build\zephyr && C:\ncs\toolchains\31f4403e35\opt\bin\python.exe C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py --output-source dev_handles.c --output-graphviz dev_graph.dot --num-dynamic-devices 0 --kernel C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/zephyr_pre0.elf --zephyr-base C:/ncs/v2.4.0/zephyr --start-symbol __device_start"
    Traceback (most recent call last):
      File "C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py", line 34, in <module>
        from elf_parser import ZephyrElf
      File "C:\ncs\v2.4.0\zephyr\scripts\build\elf_parser.py", line 12, in <module>
        from elftools.elf.elffile import ELFFile
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\elf\elffile.py", line 41, in <module>
        from ..dwarf.dwarfinfo import DWARFInfo, DebugSectionDescriptor, DwarfConfig
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\dwarfinfo.py", line 17, in <module>
        from .structs import DWARFStructs
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\structs.py", line 10, in <module>
        from logging.config import valid_ident
      File "<frozen zipimport>", line 259, in load_module
      File "logging\config.py", line 30, in <module>
      File "<frozen zipimport>", line 259, in load_module
      File "logging\handlers.py", line 26, in <module>
      File "<frozen zipimport>", line 259, in load_module
      File "socket.py", line 49, in <module>
    ImportError: Module use of python312.dll conflicts with this version of Python.
    ninja: build stopped: subcommand failed.
    FATAL ERROR: re-build in c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build failed
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    {
      "toolchainPath": "c:\\ncs\\toolchains\\31f4403e35",
      "sdkPath": "c:\\ncs\\v2.4.0",
      "board": "nrf9160dk_nrf9160_ns",
      "boardDir": "c:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160",
      "boardDirs": [
        "c:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160"
      ],
      "optimizations": "none",
      "cmakeArgs": [],
      "confFiles": [],
      "buildDirectory": "build",
      "kconfigFragments": [],
      "snippets": [],
      "dtcOverlays": [],
      "extraDtcOverlays": []
    }

  • Can you plesae try to generate support logs and upload it here?

    Best regards,

    Edvin

  • Sure.

    Attached is support logs and new build log for that log. I built this with the nRF Connect Extension 2025.4.186 to keep it the same as my previous post, but the error is there in 2025.5.92 as well.

    Executing task: nRF Connect: Generate config nrf9160dk_nrf9160_ns for c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update 
    
    Building application_update
    C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION=NONE"
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update
    -- CMake version: 3.20.5
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr)
    -- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
    -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
    -- Generated zephyr.dts: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/dts.cmake
    Parsing C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/Kconfig
    Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig'
    Merged configuration 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/prj.conf'
    Configuration saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    loading initial cache file C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake
    Changed board to secure nrf9160dk_nrf9160 (NOT NS)
    
    === child image mcuboot -  begin ===
    CMake Warning (dev) at C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake:8 (set):
      Syntax error in cmake code at
    
        C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake:8
    
      when parsing string
    
        C:\ncs\toolchains\31f4403e35\opt\bin\python.exe
    
      Invalid escape sequence \3
    
      Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
      "cmake --help-policy CMP0010" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.20.5
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr)
    -- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160, Revision: 0.7.0
    -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
    -- Found devicetree overlay: C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/app.overlay
    -- Generated zephyr.dts: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/dts.cmake
    Parsing C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_defconfig'
    Merged configuration 'C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/modules/mcuboot/tfm.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/modules/mcuboot/fih_low_enable.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
      No SOURCES given to Zephyr library: lib__libc__common
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: C:/ncs/v2.4.0/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot
    === child image mcuboot -  end ===
    
    CMake Warning at C:/ncs/v2.4.0/nrf/modules/mcuboot/CMakeLists.txt:310 (message):
      
    
              ---------------------------------------------------------
              --- WARNING: Using default MCUBoot key, it should not ---
              --- be used for production.                           ---
              ---------------------------------------------------------
              
    
    
    
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
      No SOURCES given to Zephyr library: lib__libc__common
    
      Excluding target from build.
    
    
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:1864 (message):
      __ASSERT() statements are globally ENABLED
    
    
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    Dropping partition 'nonsecure_storage' since it is empty.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build
    -- west build: building application
    [1/323] Generating include/generated/version.h
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1
    [1/184] Generating include/generated/version.h
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1
    [174/184] Linking C executable zephyr\zephyr_pre0.elf
    
    [178/184] Linking C executable zephyr\zephyr_pre1.elf
    
    [184/184] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       28598 B        48 KB     58.18%
                 RAM:       16368 B        32 KB     49.95%
            IDT_LIST:          0 GB         2 KB      0.00%
    [11/323] Generating ../../tfm/CMakeCache.txt
    -- Found Git: C:/ncs/toolchains/31f4403e35/mingw64/bin/git.exe (found version "2.37.3.windows.1") 
    -- The C compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/tfm
    [22/323] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    [304/323] Linking C executable zephyr\zephyr_pre0.elf
    
    [308/323] Linking C executable zephyr\zephyr_pre1.elf
    
    [314/323] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      127340 B       448 KB     27.76%
                 RAM:       38408 B     211608 B     18.15%
            IDT_LIST:          0 GB         2 KB      0.00%
    [318/323] Generating ../../zephyr/app_update.bin
    image.py: sign the payload
    [319/323] Generating ../../zephyr/app_signed.hex
    image.py: sign the payload
    [321/323] Generating ../../zephyr/app_test_update.hex
    image.py: sign the payload
    [323/323] Generating zephyr/merged.hex
     *  Terminal will be reused by tasks, press any key to close it. 
    
     *  Executing task: nRF Connect: Flash: application_update/build (active) 
    
    Flashing build to remote
    C:\Windows\system32\cmd.exe /d /s /c "west flash -d c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build --dev-id 602005822"
    
    -- west flash: rebuilding
    [0/32] Performing build step for 'tfm'
    ninja: no work to do.
    [1/24] Performing build step for 'mcuboot_subimage'
    ninja: no work to do.
    [2/24] Building C object CMakeFiles/app.dir/src/main.c.obj
    [4/22] Linking C static library app\libapp.a
    [5/22] Linking C executable zephyr\zephyr_pre0.elf
    
    [6/22] Generating dev_handles.c
    FAILED: zephyr/dev_handles.c 
    cmd.exe /C "cd /D C:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build\zephyr && C:\ncs\toolchains\31f4403e35\opt\bin\python.exe C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py --output-source dev_handles.c --output-graphviz dev_graph.dot --num-dynamic-devices 0 --kernel C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/zephyr_pre0.elf --zephyr-base C:/ncs/v2.4.0/zephyr --start-symbol __device_start"
    Traceback (most recent call last):
      File "C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py", line 34, in <module>
        from elf_parser import ZephyrElf
      File "C:\ncs\v2.4.0\zephyr\scripts\build\elf_parser.py", line 12, in <module>
        from elftools.elf.elffile import ELFFile
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\elf\elffile.py", line 41, in <module>
        from ..dwarf.dwarfinfo import DWARFInfo, DebugSectionDescriptor, DwarfConfig
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\dwarfinfo.py", line 17, in <module>
        from .structs import DWARFStructs
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\structs.py", line 10, in <module>
        from logging.config import valid_ident
      File "<frozen zipimport>", line 259, in load_module
      File "logging\config.py", line 30, in <module>
      File "<frozen zipimport>", line 259, in load_module
      File "logging\handlers.py", line 26, in <module>
      File "<frozen zipimport>", line 259, in load_module
      File "socket.py", line 49, in <module>
    ImportError: Module use of python312.dll conflicts with this version of Python.
    ninja: build stopped: subcommand failed.
    FATAL ERROR: re-build in c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build failed
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    // 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 Pro",
        "osKernel": "10.0.19045",
        "vscode": "1.100.0",
        "electron": "34.5.1",
        "node": "v20.19.0"
      },
      "system": {
        "date": "2025-05-16T13:06:42.076Z",
        "vscodeRoot": "c:\\Program Files\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "00:08:08",
        "osUptime": "06:06:31",
        "cpu": "Intel(R) Core(TM) i7-10700T CPU @ 2.00GHz"
      },
      "workspace": {
        "name": "application_update",
        "workspaceFile": null,
        "folders": [
          "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update"
        ]
      },
      "sdks": [
        {
          "version": "v2.9.0",
          "path": "c:\\ncs\\v2.9.0"
        },
        {
          "version": "v2.7.0",
          "path": "c:\\ncs\\v2.7.0"
        },
        {
          "version": "v2.6.1",
          "path": "c:\\ncs\\v2.6.1"
        },
        {
          "version": "v2.5.1",
          "path": "c:\\ncs\\v2.5.1"
        },
        {
          "version": "v2.4.2",
          "path": "c:\\project\\customer_a"
        },
        {
          "version": "v2.4.0",
          "path": "c:\\ncs\\v2.4.0"
        },
        {
          "version": "v2.3.0",
          "path": "c:\\ncs\\v2.3.0"
        },
        {
          "version": "v2.2.0",
          "path": "c:\\ncs\\v2.2.0"
        },
        {
          "version": "v1.9.1",
          "path": "c:\\ncs\\v1.9.1"
        },
        {
          "version": "v1.5.1",
          "path": "c:\\ncs\\v1.5.1"
        }
      ],
      "activeBuild": "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update\\build",
      "apps": [
        {
          "workspace": "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update",
          "uri": "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update",
          "buildConfigurations": [
            {
              "id": "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update\\build",
              "name": "build",
              "boardId": "nrf9160dk_nrf9160_ns",
              "type": "Zephyr",
              "isChild": false,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "c:\\ncs\\v2.4.0",
              "toolchain": "nRF Connect SDK Toolchain v2.4.0"
            }
          ]
        }
      ],
      "toolchains": [
        {
          "version": "2.9.0",
          "path": "c:\\ncs\\toolchains\\b620d30767"
        },
        {
          "version": "2.7.0",
          "path": "c:\\ncs\\toolchains\\ce3b5ff664"
        },
        {
          "version": "2.6.1",
          "path": "c:\\ncs\\toolchains\\cf2149caf2"
        },
        {
          "version": "2.5.1",
          "path": "c:\\ncs\\toolchains\\c57af46cb7"
        },
        {
          "version": "2.4.0",
          "path": "c:\\ncs\\toolchains\\31f4403e35"
        },
        {
          "version": "2.3.0",
          "path": "c:\\ncs\\toolchains\\v2.3.0"
        },
        {
          "version": "2.2.0",
          "path": "c:\\ncs\\toolchains\\v2.2.0"
        },
        {
          "version": "2.0.0",
          "path": "c:\\ncs\\toolchains\\v2.0.0"
        }
      ],
      "connectedDevices": [
        {
          "serialNumber": "000602005822"
        }
      ],
      "tools": {
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.16.0",
        "C:\\Program Files\\SEGGER\\JLink_V794i\\JLink.exe": "7.94i",
        "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.24.2",
        "C:\\ncs\\nrfutil\\nrfutil.exe": "7.13.0",
        "C:\\ncs\\toolchains\\31f4403e35\\cmake": "3.20.5",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Scripts\\west.exe": "1.1.0",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\python.exe": "3.8.2",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\ninja.exe": "1.9.0",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gperf.exe": "3.1",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\dtc.exe": "1.4.7",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gn.exe": "2105",
        "C:\\ncs\\toolchains\\31f4403e35\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
        "arm-gdbPath": "c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
        "riscv-gdbPath": "not found"
      },
      "nrfutil": {
        "nrfutil-device": {
          "version": "2.8.8",
          "binPath": "c:\\Users\\ErlendEliasIsachsen\\.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_V7.94i",
            "versionFormat": "string"
          }
        },
        "nrfutil-sdk-manager": {
          "version": "1.2.0",
          "binPath": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.186-win32-x64\\platform\\nrfutil\\bin\\nrfutil-sdk-manager"
        }
      },
      "environment": {
        "westEnv": {
          "HOME": "C:\\SPB_Data",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\ErlendEliasIsachsen",
          "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\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.186-win32-x64\\platform\\nrfutil\\lib\\nrfutil-sdk-manager;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\\Microchip\\xc8\\v2.31\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\WinMerge;C:\\Program Files\\dotnet\\;C:\\Program Files\\Wolfram Research\\WolframScript\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\otii;C:\\Program Files\\doxygen\\bin;C:\\Program Files\\Graphviz\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\CMake\\bin;C:\\ncs\\nrfutil;C:\\gnuarmemb\\9_2019-q4-major\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ErlendEliasIsachsen\\.dotnet\\tools;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Programs\\MiKTeX\\miktex\\bin\\x64\\;",
          "ZEPHYR_BASE": "c:\\ncs\\v2.4.0\\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:\\SPB_Data",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\ErlendEliasIsachsen",
          "Path": "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\\Microchip\\xc8\\v2.31\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\WinMerge;C:\\Program Files\\dotnet\\;C:\\Program Files\\Wolfram Research\\WolframScript\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\otii;C:\\Program Files\\doxygen\\bin;C:\\Program Files\\Graphviz\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\CMake\\bin;C:\\ncs\\nrfutil;C:\\gnuarmemb\\9_2019-q4-major\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ErlendEliasIsachsen\\.dotnet\\tools;C:\\Program Files\\TortoiseSVN\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Programs\\MiKTeX\\miktex\\bin\\x64\\;",
          "PATH": "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\\Microchip\\xc8\\v2.31\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\WinMerge;C:\\Program Files\\dotnet\\;C:\\Program Files\\Wolfram Research\\WolframScript\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\otii;C:\\Program Files\\doxygen\\bin;C:\\Program Files\\Graphviz\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\CMake\\bin;C:\\ncs\\nrfutil;C:\\gnuarmemb\\9_2019-q4-major\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ErlendEliasIsachsen\\.dotnet\\tools;C:\\Program Files\\TortoiseSVN\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Programs\\MiKTeX\\miktex\\bin\\x64\\;"
        }
      },
      "terminal": {
        "defaultProfile": null
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "",
          "toolchain": {
            "path": ""
          },
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig"
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "taskBindings": {},
          "buildTerminal": {
            "condensedProgress": true
          },
          "debugging": {
            "flash": true,
            "bindings": {},
            "justMyCode": false
          },
          "activeAppFollowActiveEditor": true,
          "flash": {
            "softreset": false,
            "erase": false,
            "recover": false
          },
          "enableTelemetry": true,
          "thirdpartyIntegration": {},
          "toolchainManager": {
            "indexURL": null,
            "installDirectory": null
          },
          "nrfutil": {
            "home": null
          },
          "defaultOpenAction": "ask",
          "terminalProfile": {
            "shell": null
          }
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        },
        "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"
        }
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2025.4.186",
            "path": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.186-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2024.9.14",
            "path": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2024.9.14",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2025.4.22",
            "path": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2025.4.22",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2025.4.26",
            "path": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2025.4.26",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": "1.4.4",
          "ms-vscode.cpptools": "1.25.2",
          "ms-vscode.js-debug": "1.100.0",
          "ms-vscode.js-debug-companion": "1.1.3",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "bbenoist.Doxygen": "1.0.0",
          "cschlosser.doxdocgen": "1.4.0",
          "DotJoshJohnson.xml": "2.5.1",
          "GitHub.copilot": "1.322.0",
          "GitHub.copilot-chat": "0.27.0",
          "joaompinto.vscode-graphviz": "0.0.9",
          "josetr.cmake-language-support-vscode": "0.0.9",
          "KevinRose.vsc-python-indent": "1.21.0",
          "mcu-debug.debug-tracker-vscode": "0.0.15",
          "mcu-debug.memory-view": "0.0.25",
          "mcu-debug.peripheral-viewer": "1.4.6",
          "mcu-debug.rtos-views": "0.0.7",
          "ms-dotnettools.vscode-dotnet-runtime": "2.3.3",
          "ms-python.debugpy": "2025.8.0",
          "ms-python.python": "2025.6.1",
          "ms-python.vscode-pylance": "2025.5.1",
          "ms-vscode-remote.remote-containers": "0.413.0",
          "ms-vscode-remote.remote-ssh": "0.120.0",
          "ms-vscode-remote.remote-ssh-edit": "0.87.0",
          "ms-vscode-remote.remote-wsl": "0.99.0",
          "ms-vscode.cpptools-extension-pack": "1.3.1",
          "ms-vscode.cpptools-themes": "2.0.0",
          "ms-vscode.remote-explorer": "0.5.0",
          "redhat.vscode-xml": "0.29.0",
          "tintinweb.graphviz-interactive-preview": "0.3.5",
          "tomoki1207.pdf": "1.2.2",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "xaver.clang-format": "1.9.0"
        }
      }
    }
    
    

    For reference, version 2024.12.55 is the latest version that does work, and that I use for programming daily for this reason. Here is a build log and support log for that if that is useful:

     *  Executing task: nRF Connect: Generate config nrf9160dk_nrf9160_ns for c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update 
    
    Building application_update
    C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION=NONE"
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update
    -- CMake version: 3.20.5
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr)
    -- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
    -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
    -- Generated zephyr.dts: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/dts.cmake
    Parsing C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/Kconfig
    Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig'
    Merged configuration 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/prj.conf'
    Configuration saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    Changed board to secure nrf9160dk_nrf9160 (NOT NS)
    
    === child image mcuboot -  begin ===
    loading initial cache file C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake
    CMake Warning (dev) at C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake:8 (set):
      Syntax error in cmake code at
    
        C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake:8
    
      when parsing string
    
        C:\ncs\toolchains\31f4403e35\opt\bin\python.exe
    
      Invalid escape sequence \3
    
      Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
      "cmake --help-policy CMP0010" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.20.5
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr)
    -- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160, Revision: 0.7.0
    -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
    -- Found devicetree overlay: C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/app.overlay
    -- Generated zephyr.dts: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/dts.cmake
    Parsing C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_defconfig'
    Merged configuration 'C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/modules/mcuboot/tfm.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/modules/mcuboot/fih_low_enable.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
      No SOURCES given to Zephyr library: lib__libc__common
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: C:/ncs/v2.4.0/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot
    === child image mcuboot -  end ===
    
    CMake Warning at C:/ncs/v2.4.0/nrf/modules/mcuboot/CMakeLists.txt:310 (message):
      
    
              ---------------------------------------------------------
              --- WARNING: Using default MCUBoot key, it should not ---
              --- be used for production.                           ---
              ---------------------------------------------------------
              
    
    
    
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
      No SOURCES given to Zephyr library: lib__libc__common
    
      Excluding target from build.
    
    
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:1864 (message):
      __ASSERT() statements are globally ENABLED
    
    
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    Dropping partition 'nonsecure_storage' since it is empty.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build
    -- west build: building application
    [1/323] Generating include/generated/version.h
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1
    [1/184] Generating include/generated/version.h
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1
    [174/184] Linking C executable zephyr\zephyr_pre0.elf
    
    [178/184] Linking C executable zephyr\zephyr_pre1.elf
    
    [184/184] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       28598 B        48 KB     58.18%
                 RAM:       16368 B        32 KB     49.95%
            IDT_LIST:          0 GB         2 KB      0.00%
    [11/323] Generating ../../tfm/CMakeCache.txt
    -- Found Git: C:/ncs/toolchains/31f4403e35/mingw64/bin/git.exe (found version "2.37.3.windows.1") 
    -- The C compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/tfm
    [22/323] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    [304/323] Linking C executable zephyr\zephyr_pre0.elf
    
    [308/323] Linking C executable zephyr\zephyr_pre1.elf
    
    [314/323] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      127340 B       448 KB     27.76%
                 RAM:       38408 B     211608 B     18.15%
            IDT_LIST:          0 GB         2 KB      0.00%
    [318/323] Generating ../../zephyr/app_update.bin
    image.py: sign the payload
    [319/323] Generating ../../zephyr/app_signed.hex
    image.py: sign the payload
    [321/323] Generating ../../zephyr/app_test_update.hex
    image.py: sign the payload
    [323/323] Generating zephyr/merged.hex
     *  Terminal will be reused by tasks, press any key to close it. 
    
     *  Executing task: nRF Connect: Build: application_update/build (active) 
    
    Building application_update
    C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update"
    
    [0/32] Performing build step for 'tfm'
    ninja: no work to do.
    [1/24] Performing build step for 'mcuboot_subimage'
    ninja: no work to do.
    [5/22] Linking C executable zephyr\zephyr_pre0.elf
    
    [8/22] Linking C executable zephyr\zephyr_pre1.elf
    
    [13/22] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      127340 B       448 KB     27.76%
                 RAM:       38408 B     211608 B     18.15%
            IDT_LIST:          0 GB         2 KB      0.00%
    [17/22] Generating ../../zephyr/app_update.bin
    image.py: sign the payload
    [18/22] Generating ../../zephyr/app_signed.hex
    image.py: sign the payload
    [20/22] Generating ../../zephyr/app_test_update.hex
    image.py: sign the payload
    [22/22] Generating zephyr/merged.hex
     *  Terminal will be reused by tasks, press any key to close it. 
    
     *  Executing task: nRF Connect: Flash: application_update/build (active) 
    
    Flashing build to remote
    C:\Windows\system32\cmd.exe /d /s /c "west flash -d c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build --skip-rebuild --dev-id 602005822"
    
    -- west flash: using runner nrfjprog
    -- runners.nrfjprog: Flashing file: c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build\zephyr\merged.hex
    [error] [ Client] - Encountered error -12: Command read_device_info executed for 29 milliseconds with result -12
    [error] [ Worker] - Low voltage 0 detected in target device.
    [error] [ Client] - Encountered error -2: Command read_memory_descriptors executed for 14 milliseconds with result -2
    Failed to read device memories.
    [error] [ Worker] - Cannot call read_access_port_register when connect_to_emu_without_snr or connect_to_emu_with_snr has not been called.
    ERROR: Requested operation is currently unavailable.
    ERROR: Check logs for more details.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.
    FATAL ERROR: command exited with status 66: nrfjprog --program 'c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build\zephyr\merged.hex' --sectorerase --verify -f NRF91 --snr 602005822
    
     *  The terminal process terminated with exit code: 66. 
     *  Terminal will be reused by tasks, press any key to close it.
    // 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 Pro",
        "osKernel": "10.0.19045",
        "vscode": "1.100.0",
        "electron": "34.5.1",
        "node": "v20.19.0"
      },
      "system": {
        "date": "2025-05-16T13:23:48.697Z",
        "vscodeRoot": "c:\\Program Files\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "00:04:15",
        "osUptime": "06:23:38",
        "cpu": "Intel(R) Core(TM) i7-10700T CPU @ 2.00GHz"
      },
      "workspace": {
        "name": "application_update",
        "workspaceFile": null,
        "folders": [
          "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update"
        ]
      },
      "sdks": [
        {
          "version": "v2.9.0",
          "path": "c:\\ncs\\v2.9.0"
        },
        {
          "version": "v2.7.0",
          "path": "c:\\ncs\\v2.7.0"
        },
        {
          "version": "v2.6.1",
          "path": "c:\\ncs\\v2.6.1"
        },
        {
          "version": "v2.5.1",
          "path": "c:\\ncs\\v2.5.1"
        },
        {
          "version": "v2.4.2",
          "path": "c:\\project\\customer_1"
        },
        {
          "version": "v2.4.0",
          "path": "c:\\ncs\\v2.4.0"
        },
        {
          "version": "v2.3.0",
          "path": "c:\\ncs\\v2.3.0"
        },
        {
          "version": "v2.2.0",
          "path": "c:\\ncs\\v2.2.0"
        },
        {
          "version": "v1.9.1",
          "path": "c:\\ncs\\v1.9.1"
        },
        {
          "version": "v1.5.1",
          "path": "c:\\ncs\\v1.5.1"
        }
      ],
      "activeBuild": "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update\\build",
      "apps": [
        {
          "workspace": "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update",
          "uri": "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update",
          "buildConfigurations": [
            {
              "id": "c:\\ncs\\v2.4.0\\nrf\\samples\\nrf9160\\http_update\\application_update\\build",
              "name": "build",
              "boardId": "nrf9160dk_nrf9160_ns",
              "type": "Zephyr",
              "isChild": false,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "c:\\ncs\\v2.4.0",
              "toolchain": "nRF Connect SDK Toolchain v2.4.0"
            }
          ]
        }
      ],
      "toolchains": [
        {
          "version": "2.9.0",
          "path": "c:\\ncs\\toolchains\\b620d30767"
        },
        {
          "version": "2.7.0",
          "path": "c:\\ncs\\toolchains\\ce3b5ff664"
        },
        {
          "version": "2.6.1",
          "path": "c:\\ncs\\toolchains\\cf2149caf2"
        },
        {
          "version": "2.5.1",
          "path": "c:\\ncs\\toolchains\\c57af46cb7"
        },
        {
          "version": "2.4.0",
          "path": "c:\\ncs\\toolchains\\31f4403e35"
        },
        {
          "version": "2.3.0",
          "path": "c:\\ncs\\toolchains\\v2.3.0"
        },
        {
          "version": "2.2.0",
          "path": "c:\\ncs\\toolchains\\v2.2.0"
        },
        {
          "version": "2.0.0",
          "path": "c:\\ncs\\toolchains\\v2.0.0"
        },
        {
          "version": "1.9.1",
          "path": "c:\\ncs\\v1.9.1\\toolchain"
        },
        {
          "version": "1.9.1",
          "path": "c:\\ncs\\toolchains\\v1.9.1"
        },
        {
          "version": "1.5.1",
          "path": "c:\\ncs\\v1.5.1\\toolchain"
        }
      ],
      "connectedDevices": [
        {
          "serialNumber": "000602005822"
        }
      ],
      "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_V794i\\JLink.exe": "7.94i",
        "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.24.2",
        "C:\\ncs\\nrfutil\\nrfutil.exe": "7.13.0",
        "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.7.2",
          "binPath": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.12.55-win32-x64\\platform\\nrfutil\\bin\\nrfutil-device",
          "jlinkInfo": {
            "name": "JlinkARM",
            "version": "JLink_V7.94i",
            "versionFormat": "string"
          }
        },
        "nrfutil-toolchain-manager": {
          "version": "0.14.4",
          "binPath": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.12.55-win32-x64\\platform\\nrfutil\\bin\\nrfutil-toolchain-manager"
        }
      },
      "environment": {
        "westEnv": {
          "HOME": "C:\\SPB_Data",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\ErlendEliasIsachsen",
          "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\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.12.55-win32-x64\\platform\\nrfutil\\lib\\nrfutil-toolchain-manager;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\\Microchip\\xc8\\v2.31\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\WinMerge;C:\\Program Files\\dotnet\\;C:\\Program Files\\Wolfram Research\\WolframScript\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\otii;C:\\Program Files\\doxygen\\bin;C:\\Program Files\\Graphviz\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\CMake\\bin;C:\\ncs\\nrfutil;C:\\gnuarmemb\\9_2019-q4-major\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ErlendEliasIsachsen\\.dotnet\\tools;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Programs\\MiKTeX\\miktex\\bin\\x64\\;",
          "ZEPHYR_BASE": "c:\\ncs\\v2.4.0\\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:\\SPB_Data",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\ErlendEliasIsachsen",
          "Path": "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\\Microchip\\xc8\\v2.31\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\WinMerge;C:\\Program Files\\dotnet\\;C:\\Program Files\\Wolfram Research\\WolframScript\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\otii;C:\\Program Files\\doxygen\\bin;C:\\Program Files\\Graphviz\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\CMake\\bin;C:\\ncs\\nrfutil;C:\\gnuarmemb\\9_2019-q4-major\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ErlendEliasIsachsen\\.dotnet\\tools;C:\\Program Files\\TortoiseSVN\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Programs\\MiKTeX\\miktex\\bin\\x64\\;",
          "PATH": "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\\Microchip\\xc8\\v2.31\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\WinMerge;C:\\Program Files\\dotnet\\;C:\\Program Files\\Wolfram Research\\WolframScript\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\otii;C:\\Program Files\\doxygen\\bin;C:\\Program Files\\Graphviz\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\CMake\\bin;C:\\ncs\\nrfutil;C:\\gnuarmemb\\9_2019-q4-major\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ErlendEliasIsachsen\\.dotnet\\tools;C:\\Program Files\\TortoiseSVN\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\ErlendEliasIsachsen\\AppData\\Local\\Programs\\MiKTeX\\miktex\\bin\\x64\\;"
        }
      },
      "terminal": {
        "defaultProfile": null
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "",
          "toolchain": {
            "path": ""
          },
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig"
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "taskBindings": {},
          "buildTerminal": {
            "condensedProgress": true
          },
          "debugging": {
            "flash": true,
            "bindings": {},
            "justMyCode": false
          },
          "activeAppFollowActiveEditor": true,
          "flash": {
            "softreset": false,
            "erase": false,
            "recover": false
          },
          "enableTelemetry": true,
          "thirdpartyIntegration": {},
          "toolchainManager": {
            "indexURL": null,
            "installDirectory": null
          },
          "nrfutil": {
            "home": null
          },
          "defaultOpenAction": "ask",
          "terminalProfile": {
            "shell": null
          }
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        },
        "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"
        }
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2024.12.55",
            "path": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.12.55-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2024.9.14",
            "path": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2024.9.14",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2025.4.22",
            "path": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2025.4.22",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2025.4.26",
            "path": "c:\\Users\\ErlendEliasIsachsen\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2025.4.26",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": "1.4.4",
          "ms-vscode.cpptools": "1.25.2",
          "ms-vscode.js-debug": "1.100.0",
          "ms-vscode.js-debug-companion": "1.1.3",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "bbenoist.Doxygen": "1.0.0",
          "cschlosser.doxdocgen": "1.4.0",
          "DotJoshJohnson.xml": "2.5.1",
          "GitHub.copilot": "1.322.0",
          "GitHub.copilot-chat": "0.27.0",
          "joaompinto.vscode-graphviz": "0.0.9",
          "josetr.cmake-language-support-vscode": "0.0.9",
          "KevinRose.vsc-python-indent": "1.21.0",
          "mcu-debug.debug-tracker-vscode": "0.0.15",
          "mcu-debug.memory-view": "0.0.25",
          "mcu-debug.peripheral-viewer": "1.4.6",
          "mcu-debug.rtos-views": "0.0.7",
          "ms-dotnettools.vscode-dotnet-runtime": "2.3.3",
          "ms-python.debugpy": "2025.8.0",
          "ms-python.python": "2025.6.1",
          "ms-python.vscode-pylance": "2025.5.1",
          "ms-vscode-remote.remote-containers": "0.413.0",
          "ms-vscode-remote.remote-ssh": "0.120.0",
          "ms-vscode-remote.remote-ssh-edit": "0.87.0",
          "ms-vscode-remote.remote-wsl": "0.99.0",
          "ms-vscode.cpptools-extension-pack": "1.3.1",
          "ms-vscode.cpptools-themes": "2.0.0",
          "ms-vscode.remote-explorer": "0.5.0",
          "redhat.vscode-xml": "0.29.0",
          "tintinweb.graphviz-interactive-preview": "0.3.5",
          "tomoki1207.pdf": "1.2.2",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "xaver.clang-format": "1.9.0"
        }
      }
    }
    
    

  • Hello,

    We are still looking into this. 

    Can you please test something for me, using the latest version of the VS Code extension:

    Make sure that you have downloaded and installed both NCS v2.4.0 and v2.9.0.

    Then delete the build folder so that there are no build folders in the application we are testing. Either do it from windows explorer, or in VS Code using "remove build configuration":

    Then, create a new build configuration using "add build configuration", and make sure that you set both SDK version and toolchain version to v2.4.0:

    (I didn't have 2.4.0 installed, so showing how to do it for v2.4.1)

    Click "Generate and build" on the bottom, and let it finish. Please save the build log. 

    Then do a minor modification to main.c,  to force a rebuild, and click flash in VS Code. Save the build log.

    Then, if it didn't finish successfully, can you please try the following:

    Delete the build folder once more, and open a terminal on your computer. Navigate to the application folder and run the following command:

    (if you don't have sdk-manager installed, install it using "nrfutil install sdk-manager")

    nrfutil sdk-manager toolchain launch --terminal --ncs-version v2.4.0

    It should open a new terminal in the same path. In this new terminal, type:

    SET ZEPHYR_BASE=C:\nordic\SDKs\ncs\v2.4.0\zephyr

    (but replace the path with the path to your v2.4.0\zephyr folder)

    And then use this command to build:

    west build -b nrf9160dk_nrf9160_ns -d build

    Save the build log

    Then, again, do a minor modification, and use this command to flash:

    west flash -d build

    And save the log.

    Are any of the flashing attempts successful? If not, can you please upload all the logs? And if the command line build/flash was successful, can you verify that you have the v2.9.0 toolchain installed using the command:

    nrfutil sdk-manager toolchain list

    Does this list v2.9.0 as well as v2.4.0?

    Best regards,

    Edvin

  • Hello Edvin,

    Coming from a duplicate ticket here!

    I did this with the blinky application.

    First re-build from flash returned this:

    Flashing build to 506003622
    C:\Windows\system32\cmd.exe /d /s /c "west flash -d c:\dm\private\nRF_SDK_Tests\blinky\build --dev-id 506003622"
    
    -- west flash: rebuilding
    [0/22] Performing build step for 'tfm'
    ninja: no work to do.
    [2/14] Building C object CMakeFiles/app.dir/src/main.c.obj
    [3/14] Linking C static library app\libapp.a
    [4/14] Linking C executable zephyr\zephyr_pre0.elf
    
    [5/14] Generating dev_handles.c
    FAILED: zephyr/dev_handles.c 
    cmd.exe /C "cd /D C:\dm\private\nRF_SDK_Tests\blinky\build\zephyr && C:\ncs\toolchains\31f4403e35\opt\bin\python.exe C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py --output-source dev_handles.c --output-graphviz dev_graph.dot --num-dynamic-devices 0 --kernel C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/zephyr_pre0.elf --zephyr-base C:/ncs/v2.4.0/zephyr --start-symbol __device_start"
    Traceback (most recent call last):
      File "C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py", line 34, in <module>
        from elf_parser import ZephyrElf
      File "C:\ncs\v2.4.0\zephyr\scripts\build\elf_parser.py", line 12, in <module>
        from elftools.elf.elffile import ELFFile
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\elf\elffile.py", line 41, in <module>
        from ..dwarf.dwarfinfo import DWARFInfo, DebugSectionDescriptor, DwarfConfig
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\dwarfinfo.py", line 17, in <module>
        from .structs import DWARFStructs
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\structs.py", line 10, in <module>
        from logging.config import valid_ident
      File "<frozen zipimport>", line 259, in load_module
      File "logging\config.py", line 30, in <module>
      File "<frozen zipimport>", line 259, in load_module
      File "logging\handlers.py", line 26, in <module>
      File "<frozen zipimport>", line 259, in load_module
      File "socket.py", line 49, in <module>
    ImportError: Module use of python312.dll conflicts with this version of Python.
    ninja: build stopped: subcommand failed.
    FATAL ERROR: re-build in c:\dm\private\nRF_SDK_Tests\blinky\build failed
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 

    Here is the build from the command line

    (v2.4.0) C:\dm\private\nRF_SDK_Tests\blinky> west build -b nrf9161dk_nrf9161_ns -d build                                
    -- west build: generating a build system                                                                                Loading Zephyr default modules (Zephyr base).                                                                           -- Application: C:/dm/private/nRF_SDK_Tests/blinky                                                                      -- CMake version: 3.20.5                                                                                                -- Using NCS Toolchain 2.4.0 for building. (C:/ncs/toolchains/31f4403e35/cmake)                                         -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter                                                                                                          -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache                                                          -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr)                                                                        -- Found west (found suitable version "1.0.0", minimum required is "0.7.1")                                             -- Board: nrf9161dk_nrf9161_ns                                                                                          -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)                                        -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)                                         -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")                                                                                                                        -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9161dk_nrf9161/nrf9161dk_nrf9161_ns.dts                          -- Generated zephyr.dts: C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/zephyr.dts                                     -- Generated devicetree_generated.h: C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/include/generated/devicetree_generated.h                                                                                                                   -- Including generated dts.cmake file: C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/dts.cmake                        Parsing C:/ncs/v2.4.0/zephyr/Kconfig                                                                                    Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9161dk_nrf9161/nrf9161dk_nrf9161_ns_defconfig'                 Merged configuration 'C:/dm/private/nRF_SDK_Tests/blinky/prj.conf'                                                      Configuration saved to 'C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/.config'                                        Kconfig header saved to 'C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/include/generated/autoconf.h'                  -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")                                                             -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
      No SOURCES given to Zephyr library: lib__libc__common
    
      Excluding target from build.
    
    
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    Dropping partition 'nonsecure_storage' since it is empty.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/dm/private/nRF_SDK_Tests/blinky/build
    ←[92m-- west build: building application
    [1/230] Generating include/generated/version.h
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1
    [6/230] Generating ../../tfm/CMakeCache.txt
    -- Found Git: C:/ncs/toolchains/31f4403e35/mingw64/bin/git.exe (found version "2.37.3.windows.1")
    -- The C compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/dm/private/nRF_SDK_Tests/blinky/build/tfm
    [11/230] Performing build step for 'tfm'
    [158/158] Linking C static library secure_fw\libtfm_s_veneers.a
    [14/230] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    [218/230] Linking C executable zephyr\zephyr_pre0.elf
    
    [222/230] Linking C executable zephyr\zephyr_pre1.elf
    
    [228/230] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       31068 B       992 KB      3.06%
                 RAM:        6072 B     211608 B      2.87%
            IDT_LIST:          0 GB         2 KB      0.00%
    [230/230] Generating zephyr/merged.hex

    When I try to flash and rebuild:

    (v2.4.0) C:\dm\private\nRF_SDK_Tests\blinky> 
    west flash -d build
    -- west flash: rebuilding
    [0/22] Performing build step for 'tfm'
    ninja: no work to do.
    [4/14] Linking C executable zephyr\zephyr_pre0.elf
    
    [7/14] Linking C executable zephyr\zephyr_pre1.elf
    
    [12/14] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       31068 B       992 KB      3.06%
                 RAM:        6072 B     211608 B      2.87%
            IDT_LIST:          0 GB         2 KB      0.00%
    [14/14] Generating zephyr/merged.hex
    -- west flash: using runner nrfjprog
    Using board 506003622
    -- runners.nrfjprog: Flashing file: build\zephyr\merged.hex
    [error] [ Worker] - Low voltage 0 detected in target device.
    [error] [ Client] - Encountered error -12: Command read_device_info executed for 15 milliseconds with result -12
    [error] [ Client] - Encountered error -2: Command read_memory_descriptors executed for 0 milliseconds with result -2
    Failed to read device memories.
    [error] [ Worker] - Cannot call read_access_port_register when connect_to_emu_without_snr or connect_to_emu_with_snr has not been called.
    ERROR: Requested operation is currently unavailable.
    ERROR: Check logs for more details.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.
    FATAL ERROR: command exited with status 66: nrfjprog --program 'build\zephyr\merged.hex' --sectorerase --verify -f NRF91 --snr 506003622

    It works!! I didnt have a device connected so the flashing part failed.

    To me it looks like the ZEPHYR_BASE variable was set incorrectly?

    Just for reference, when running the toolchain list command, it returns:

    (v2.4.0) C:\dm\private\nRF_SDK_Tests\blinky> nrfutil sdk-manager toolchain list
    Version  Toolchain
    v2.6.1   C:\ncs\toolchains\cf2149caf2
    v2.0.0   C:\ncs\toolchains\v2.0.0
    v2.3.0   C:\ncs\toolchains\v2.3.0
    v2.9.0   C:\ncs\toolchains\b620d30767
    v2.4.0   C:\ncs\toolchains\31f4403e35

    Not sure how I can get it working in vscode though unfortunately.

    Hope this helps in rolling out a fix for vscode!

    Sincerely,

    Kieran

Reply
  • Hello Edvin,

    Coming from a duplicate ticket here!

    I did this with the blinky application.

    First re-build from flash returned this:

    Flashing build to 506003622
    C:\Windows\system32\cmd.exe /d /s /c "west flash -d c:\dm\private\nRF_SDK_Tests\blinky\build --dev-id 506003622"
    
    -- west flash: rebuilding
    [0/22] Performing build step for 'tfm'
    ninja: no work to do.
    [2/14] Building C object CMakeFiles/app.dir/src/main.c.obj
    [3/14] Linking C static library app\libapp.a
    [4/14] Linking C executable zephyr\zephyr_pre0.elf
    
    [5/14] Generating dev_handles.c
    FAILED: zephyr/dev_handles.c 
    cmd.exe /C "cd /D C:\dm\private\nRF_SDK_Tests\blinky\build\zephyr && C:\ncs\toolchains\31f4403e35\opt\bin\python.exe C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py --output-source dev_handles.c --output-graphviz dev_graph.dot --num-dynamic-devices 0 --kernel C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/zephyr_pre0.elf --zephyr-base C:/ncs/v2.4.0/zephyr --start-symbol __device_start"
    Traceback (most recent call last):
      File "C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py", line 34, in <module>
        from elf_parser import ZephyrElf
      File "C:\ncs\v2.4.0\zephyr\scripts\build\elf_parser.py", line 12, in <module>
        from elftools.elf.elffile import ELFFile
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\elf\elffile.py", line 41, in <module>
        from ..dwarf.dwarfinfo import DWARFInfo, DebugSectionDescriptor, DwarfConfig
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\dwarfinfo.py", line 17, in <module>
        from .structs import DWARFStructs
      File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\structs.py", line 10, in <module>
        from logging.config import valid_ident
      File "<frozen zipimport>", line 259, in load_module
      File "logging\config.py", line 30, in <module>
      File "<frozen zipimport>", line 259, in load_module
      File "logging\handlers.py", line 26, in <module>
      File "<frozen zipimport>", line 259, in load_module
      File "socket.py", line 49, in <module>
    ImportError: Module use of python312.dll conflicts with this version of Python.
    ninja: build stopped: subcommand failed.
    FATAL ERROR: re-build in c:\dm\private\nRF_SDK_Tests\blinky\build failed
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 

    Here is the build from the command line

    (v2.4.0) C:\dm\private\nRF_SDK_Tests\blinky> west build -b nrf9161dk_nrf9161_ns -d build                                
    -- west build: generating a build system                                                                                Loading Zephyr default modules (Zephyr base).                                                                           -- Application: C:/dm/private/nRF_SDK_Tests/blinky                                                                      -- CMake version: 3.20.5                                                                                                -- Using NCS Toolchain 2.4.0 for building. (C:/ncs/toolchains/31f4403e35/cmake)                                         -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter                                                                                                          -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache                                                          -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr)                                                                        -- Found west (found suitable version "1.0.0", minimum required is "0.7.1")                                             -- Board: nrf9161dk_nrf9161_ns                                                                                          -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)                                        -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)                                         -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")                                                                                                                        -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9161dk_nrf9161/nrf9161dk_nrf9161_ns.dts                          -- Generated zephyr.dts: C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/zephyr.dts                                     -- Generated devicetree_generated.h: C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/include/generated/devicetree_generated.h                                                                                                                   -- Including generated dts.cmake file: C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/dts.cmake                        Parsing C:/ncs/v2.4.0/zephyr/Kconfig                                                                                    Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9161dk_nrf9161/nrf9161dk_nrf9161_ns_defconfig'                 Merged configuration 'C:/dm/private/nRF_SDK_Tests/blinky/prj.conf'                                                      Configuration saved to 'C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/.config'                                        Kconfig header saved to 'C:/dm/private/nRF_SDK_Tests/blinky/build/zephyr/include/generated/autoconf.h'                  -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")                                                             -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
      No SOURCES given to Zephyr library: lib__libc__common
    
      Excluding target from build.
    
    
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    Dropping partition 'nonsecure_storage' since it is empty.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/dm/private/nRF_SDK_Tests/blinky/build
    ←[92m-- west build: building application
    [1/230] Generating include/generated/version.h
    -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1
    [6/230] Generating ../../tfm/CMakeCache.txt
    -- Found Git: C:/ncs/toolchains/31f4403e35/mingw64/bin/git.exe (found version "2.37.3.windows.1")
    -- The C compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter
    -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/dm/private/nRF_SDK_Tests/blinky/build/tfm
    [11/230] Performing build step for 'tfm'
    [158/158] Linking C static library secure_fw\libtfm_s_veneers.a
    [14/230] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    [218/230] Linking C executable zephyr\zephyr_pre0.elf
    
    [222/230] Linking C executable zephyr\zephyr_pre1.elf
    
    [228/230] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       31068 B       992 KB      3.06%
                 RAM:        6072 B     211608 B      2.87%
            IDT_LIST:          0 GB         2 KB      0.00%
    [230/230] Generating zephyr/merged.hex

    When I try to flash and rebuild:

    (v2.4.0) C:\dm\private\nRF_SDK_Tests\blinky> 
    west flash -d build
    -- west flash: rebuilding
    [0/22] Performing build step for 'tfm'
    ninja: no work to do.
    [4/14] Linking C executable zephyr\zephyr_pre0.elf
    
    [7/14] Linking C executable zephyr\zephyr_pre1.elf
    
    [12/14] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       31068 B       992 KB      3.06%
                 RAM:        6072 B     211608 B      2.87%
            IDT_LIST:          0 GB         2 KB      0.00%
    [14/14] Generating zephyr/merged.hex
    -- west flash: using runner nrfjprog
    Using board 506003622
    -- runners.nrfjprog: Flashing file: build\zephyr\merged.hex
    [error] [ Worker] - Low voltage 0 detected in target device.
    [error] [ Client] - Encountered error -12: Command read_device_info executed for 15 milliseconds with result -12
    [error] [ Client] - Encountered error -2: Command read_memory_descriptors executed for 0 milliseconds with result -2
    Failed to read device memories.
    [error] [ Worker] - Cannot call read_access_port_register when connect_to_emu_without_snr or connect_to_emu_with_snr has not been called.
    ERROR: Requested operation is currently unavailable.
    ERROR: Check logs for more details.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.
    FATAL ERROR: command exited with status 66: nrfjprog --program 'build\zephyr\merged.hex' --sectorerase --verify -f NRF91 --snr 506003622

    It works!! I didnt have a device connected so the flashing part failed.

    To me it looks like the ZEPHYR_BASE variable was set incorrectly?

    Just for reference, when running the toolchain list command, it returns:

    (v2.4.0) C:\dm\private\nRF_SDK_Tests\blinky> nrfutil sdk-manager toolchain list
    Version  Toolchain
    v2.6.1   C:\ncs\toolchains\cf2149caf2
    v2.0.0   C:\ncs\toolchains\v2.0.0
    v2.3.0   C:\ncs\toolchains\v2.3.0
    v2.9.0   C:\ncs\toolchains\b620d30767
    v2.4.0   C:\ncs\toolchains\31f4403e35

    Not sure how I can get it working in vscode though unfortunately.

    Hope this helps in rolling out a fix for vscode!

    Sincerely,

    Kieran

Children
  • Hello Kireran! Thank you for contributing! I assume the first log is coming from VS Code. Would you mind uploading your "Generate Support Information" as well?

    Best Regards,
    Edvin

  • Hi Edvin,

    Here you are!

    // 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 Enterprise",
        "osKernel": "10.0.26100",
        "vscode": "1.100.2",
        "electron": "34.5.1",
        "node": "v20.19.0"
      },
      "system": {
        "date": "2025-05-23T07:59:05.333Z",
        "vscodeRoot": "c:\\Users\\KieranReilly\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "00:00:07",
        "osUptime": "54:42:55",
        "cpu": "Intel(R) Core(TM) Ultra 5 125H"
      },
      "workspace": {
        "name": "blinky",
        "workspaceFile": null,
        "folders": [
          "c:\\dm\\private\\nRF_SDK_Tests\\blinky"
        ]
      },
      "sdks": [
        {
          "version": "v2.9.0",
          "path": "c:\\ncs\\v2.9.0"
        },
        {
          "version": "v2.6.1",
          "path": "c:\\ncs\\v2.6.1"
        },
        {
          "version": "v2.4.0",
          "path": "c:\\ncs\\v2.4.0"
        },
        {
          "version": "v2.3.0",
          "path": "c:\\ncs\\v2.3.0"
        },
        {
          "version": "v2.0.0",
          "path": "c:\\ncs\\v2.0.0"
        }
      ],
      "activeBuild": "c:\\dm\\private\\nRF_SDK_Tests\\blinky\\build",
      "apps": [
        {
          "workspace": "c:\\dm\\private\\nRF_SDK_Tests\\blinky",
          "uri": "c:\\dm\\private\\nRF_SDK_Tests\\blinky",
          "buildConfigurations": [
            {
              "id": "c:\\dm\\private\\nRF_SDK_Tests\\blinky\\build",
              "name": "build",
              "boardId": "nrf9161dk_nrf9161_ns",
              "type": "Zephyr",
              "isChild": false,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "c:\\ncs\\v2.4.0",
              "toolchain": "nRF Connect SDK Toolchain v2.4.0"
            }
          ]
        }
      ],
      "toolchains": [
        {
          "version": "2.9.0",
          "path": "c:\\ncs\\toolchains\\b620d30767"
        },
        {
          "version": "2.6.1",
          "path": "c:\\ncs\\toolchains\\cf2149caf2"
        },
        {
          "version": "2.4.0",
          "path": "c:\\ncs\\toolchains\\31f4403e35"
        },
        {
          "version": "2.3.0",
          "path": "c:\\ncs\\toolchains\\v2.3.0"
        },
        {
          "version": "2.0.0",
          "path": "c:\\ncs\\toolchains\\v2.0.0"
        }
      ],
      "connectedDevices": [
        {
          "serialNumber": "000506003622"
        }
      ],
      "tools": {
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.16.0",
        "C:\\Program Files\\SEGGER\\JLink_V818\\JLink.exe": "8.18",
        "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.24.2",
        "C:\\ncs\\nrfutil\\nrfutil.exe": "8.0.0",
        "C:\\ncs\\toolchains\\31f4403e35\\cmake": "3.20.5",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Scripts\\west.exe": "1.0.0",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\python.exe": "3.8.2",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\ninja.exe": "1.9.0",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gperf.exe": "3.1",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\dtc.exe": "1.4.7",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gn.exe": "2105",
        "C:\\ncs\\toolchains\\31f4403e35\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
        "arm-gdbPath": "c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
        "riscv-gdbPath": "not found"
      },
      "nrfutil": {
        "nrfutil-device": {
          "version": "2.8.8",
          "binPath": "c:\\Users\\KieranReilly\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.5.92-win32-x64\\platform\\nrfutil\\bin\\nrfutil-device",
          "jlinkInfo": {
            "name": "JlinkARM",
            "version": "JLink_V8.18",
            "versionFormat": "string"
          }
        },
        "nrfutil-sdk-manager": {
          "version": "1.3.0",
          "binPath": "c:\\Users\\KieranReilly\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.5.92-win32-x64\\platform\\nrfutil\\bin\\nrfutil-sdk-manager"
        }
      },
      "environment": {
        "westEnv": {
          "HOME": "C:\\Users\\KieranReilly",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\KieranReilly",
          "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\\KieranReilly\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.5.92-win32-x64\\platform\\nrfutil\\lib\\nrfutil-sdk-manager;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\\Git\\cmd;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files (x86)\\Microsoft SQL Server\\160\\DTS\\Binn\\;C:\\Program Files\\CMake\\bin;C:\\ncs\\nrfutil;C:\\Users\\KieranReilly\\AppData\\Local\\Programs\\Python\\Python313\\;C:\\Users\\KieranReilly\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\KieranReilly\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\KieranReilly\\.dotnet\\tools;C:\\msys64\\ucrt64\\bin;C:\\Program Files\\Git;",
          "ZEPHYR_BASE": "c:\\ncs\\v2.4.0\\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\\KieranReilly",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\KieranReilly",
          "Path": "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\\Git\\cmd;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files (x86)\\Microsoft SQL Server\\160\\DTS\\Binn\\;C:\\Program Files\\CMake\\bin;C:\\ncs\\nrfutil;C:\\Users\\KieranReilly\\AppData\\Local\\Programs\\Python\\Python313\\;C:\\Users\\KieranReilly\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\KieranReilly\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\KieranReilly\\.dotnet\\tools;C:\\msys64\\ucrt64\\bin;C:\\Program Files\\Git;",
          "PATH": "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\\Git\\cmd;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files (x86)\\Microsoft SQL Server\\160\\DTS\\Binn\\;C:\\Program Files\\CMake\\bin;C:\\ncs\\nrfutil;C:\\Users\\KieranReilly\\AppData\\Local\\Programs\\Python\\Python313\\;C:\\Users\\KieranReilly\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\KieranReilly\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\KieranReilly\\.dotnet\\tools;C:\\msys64\\ucrt64\\bin;C:\\Program Files\\Git;"
        }
      },
      "terminal": {
        "defaultProfile": null
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "",
          "toolchain": {
            "path": ""
          },
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig"
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "taskBindings": {},
          "buildTerminal": {
            "condensedProgress": true
          },
          "debugging": {
            "flash": true,
            "bindings": {},
            "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
          }
        },
        "marus25.cortex-debug": {
          "variableUseNaturalFormat": true,
          "liveWatchRefreshRate": "300",
          "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,
          "dbgServerLogfile": null
        }
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2025.5.92",
            "path": "c:\\Users\\KieranReilly\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.5.92-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": null,
          "nordic-semiconductor.nrf-devicetree": null,
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2025.4.26",
            "path": "c:\\Users\\KieranReilly\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2025.4.26",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": "1.12.1",
          "ms-vscode.cpptools": "1.25.3",
          "ms-vscode.js-debug": "1.100.1",
          "ms-vscode.js-debug-companion": "1.1.3",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "aaron-bond.better-comments": "3.0.2",
          "cl.keil-assistant": "1.7.0",
          "cschlosser.doxdocgen": "1.4.0",
          "dan-c-underwood.arm": "1.7.4",
          "donjayamanne.python-environment-manager": "1.2.7",
          "GitHub.copilot": "1.323.0",
          "GitHub.copilot-chat": "0.27.2",
          "GitHub.remotehub": "0.64.0",
          "mcu-debug.debug-tracker-vscode": "0.0.15",
          "mcu-debug.memory-view": "0.0.25",
          "mcu-debug.peripheral-viewer": "1.4.6",
          "mcu-debug.rtos-views": "0.0.7",
          "mhutchie.git-graph": "1.30.0",
          "ms-python.debugpy": "2025.8.0",
          "ms-python.python": "2025.6.1",
          "ms-python.vscode-pylance": "2025.5.1",
          "ms-vscode.azure-repos": "0.41.2024112101",
          "ms-vscode.cmake-tools": "1.20.53",
          "ms-vscode.cpptools-extension-pack": "1.3.1",
          "ms-vscode.cpptools-themes": "2.0.0",
          "ms-vscode.hexeditor": "1.11.1",
          "ms-vscode.remote-repositories": "0.42.0",
          "tamasfe.even-better-toml": "0.21.2",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "twxs.cmake": "0.0.17",
          "ZixuanWang.linkerscript": "1.0.4"
        }
      }
    }
    
    

    Sincerely,

    Kieran

Related