nRF Connect SDK Fundamentals Lesson 2

Hello,

I'm trying to work through exercise 2 of the Nordic Developer Academy. It has me using the Blinky Sample. When I add a build configuration I get an error. I have VS Code 1.97.2, Command Line Tools 10.24.2, J-Link JTAGLoad V8.16, and selected nrf5340dk/nrf5340/cpuapp/ns selected as the board target. I've tried using other sample applications. They result in errors as well when I try to build them.

Am I using the wrong combination of software? The only deviance I noticed during install was SEGGER J-Link wasn't an option during install so I downloaded it outside of exercise 1.

Here is the terminal output:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
* Executing task: nRF Connect: Generate config nrf5340dk/nrf5340/cpuapp/ns for c:\nordic\l1_e2
Building l1_e2
C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir c:/nordic/l1_e2/build c:/nordic/l1_e2 --pristine --board nrf5340dk/nrf5340/cpuapp/ns -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/nordic/l1_e2"
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf5340dk, qualifiers: nrf5340/cpuapp/ns
Parsing C:/ncs/v2.9.0/zephyr/share/sysbuild/Kconfig
Loaded configuration 'C:/nordic/l1_e2/build/_sysbuild/empty.conf'
Merged configuration 'C:/nordic/l1_e2/build/_sysbuild/empty.conf'
Configuration saved to 'C:/nordic/l1_e2/build/zephyr/.config'
Kconfig header saved to 'C:/nordic/l1_e2/build/_sysbuild/autoconf.h'
--
***************************
* Running CMake for l1_e2 *
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parents
  • Hello, 

    It seems like this is a toolchain issue if you're not able to build any samples. Can you try an uninstall and reinstallation of the nRF Connect SDK v2.9.0 toolchain and let me know if you see any difference from that.

    Please also let us know which nRF Connect for VS Code extension version you are using.

    J-Link JTAGLoad V8.16,

    This may not be an issue, but JTAGLoad is included in more than one software pack from SEGGER. Did you install the J-Link Software and Documentation pack?

    "nrfjprog --version" in a terminal will return a J-Link version if you have it installed.

    Best regards,

    Maria

Reply
  • Hello, 

    It seems like this is a toolchain issue if you're not able to build any samples. Can you try an uninstall and reinstallation of the nRF Connect SDK v2.9.0 toolchain and let me know if you see any difference from that.

    Please also let us know which nRF Connect for VS Code extension version you are using.

    J-Link JTAGLoad V8.16,

    This may not be an issue, but JTAGLoad is included in more than one software pack from SEGGER. Did you install the J-Link Software and Documentation pack?

    "nrfjprog --version" in a terminal will return a J-Link version if you have it installed.

    Best regards,

    Maria

Children