nRF9160 VSCode examples don't run properly

I am having a problem with all of my projects compiled with VSCode NCS 2.2.0:

I understand that one of the COM ports (I'm on Windows) should send output. When I flash the Asset Tracker sample to my Thingy:91, it works fine. There is terminal output, and I can send AT commands and see responses.

However, when I follow the instructions to import the AT_Client sample in VSCode, build for the thingy91_nRF9160_ns, and flash, there is no terminal output in LTE Link Monitor on any terminal. If I Debug, the debugger never gets to main(). If I pause it, it is usually here:

Does anyone know why this would happen? I have tried putting breakpoints in main(), but they are never hit.

I am debugging a Thingy91 with a SEGGER J-link Plus probe. The hello_world worked once, last week, before re-flashing with demo samples, and now no VSCode projects work properly.

I have erased with J-flash lite, nRF Connect Programmer, and VSCode, to no avail. There are no error messages in the build or debug session.

I can flash the .hex samples and they work fine.

The debugger runs and is running. It does not break at main(). If I click Pause, it is usually here:

It may be getting stuck in some sort of bootloader image validation. Sometimes if I pause, it is in checks in a function called main that is not my main:

This happens whether or not I have Debug Options checked in the build.

Any ideas?

Parents
  • Hello, 

    Due to Christmas Holidays our team is lower staffed than normal and some delays in our answers must be expected.  We apologize for the inconvenience. 


    However, when I follow the instructions to import the AT_Client sample in VSCode, build for the thingy91_nRF9160_ns, and flash, there is no terminal output in LTE Link Monitor on any terminal

    What instructions are you referring to? Can you please provide me a link.

    When I flash the Asset Tracker sample to my Thingy:91, it works fine. There is terminal output, and I can send AT commands and see responses.

    Is this the precompiled filed or flashed from VS Code? Have you ensured that "SWD Select" is set to nRF91? If set to nRF52, have you tried to reprogram the connectivity brigde? This worked for me.

    Kind regards,
    Øyvind

  • Instructions I am referring to are the standard instructions to build and flash with VSCode.

    An example, I am trying to run this lesson exercise:

    https://academy.nordicsemi.com/topic/lesson-2-exercise-1/

    Which links to the instructions:

    https://nrfconnect.github.io/vscode-nrf-connect/get_started/build_app_ncs.html

    https://nrfconnect.github.io/vscode-nrf-connect/get_started/quick_debug.html

    Those are the instructions I am following to build and flash, and the only instructions I am aware of.

    The pre-compiled examples all work fine. I flash those with Connect for Desktop Programmer app, or J-flash lite, and they work great.

    When I flash the nRF9160 from VSCode with compiled examples, I get to the debug output above, but nothing on the serial ports.

    The Serial ports are still there, so the nRF52 Connectivity Bridge is fine, and yes, my switch is on nRF91.

    Could you please find out what could cause the nrf91 code to not run to main, but the pre-comipled examples to work?

  • I'm not able to reproduce your issue. 

    Here is my Thingy:91 connected to LTE Link Monitor

    Are you able to share you at_client project folder with the build folder?

    Thanks.

  • Ok, here is the project. I imported if from NCS using New>Standalone based on template in VSCode.

    The project was in C:\PersonalProjects\thingy91\at_clientTest1

    I have zipped the at_clientTest1 folder and attached it here.at_clientTest1.zip

  • I'm sorry, I'm still not able to reproduce your issue. Your sample worked on my side as well, however, I did need to rebuild.

    Looking at the build folder that was in your .zip file, the folder is missing files. Could there be an issue with your build environment?

    This is the build folder from your .zip file

    Here is the build folder where I rebuilt


    The most important files e.g. merged.hex is missing in your build folder. Can you provide the build log from VS Code?

  • Oyvind,

    Sorry about the missing files, and the late reply! I have been busy until today.

    I just built the at_clientTest1 again, and got 2246 files, 63.1MB size, and a zephyr/merged.hex

    When I debug, it doesn't print from main. If I pause, this is where it pauses:

    at_clientTest1_jan27_withmerged.zip

    Building at_clientTest1
    west build -t clean --build-dir c:\PersonalProjects\thingy91\at_clientTest1\build
    
    -- west build: running target clean
    [1/2] Cleaning additional files...
    [2/2] Cleaning all built files...
    Cleaning... 0 files.
     *  Terminal will be reused by tasks, press any key to close it. 
    
     *  Executing task: nRF Connect: Build: at_clientTest1/build (active) 
    
    Building at_clientTest1
    west build --build-dir c:\PersonalProjects\thingy91\at_clientTest1\build c:\PersonalProjects\thingy91\at_clientTest1
    
    [1/274] Generating include/generated/version.h
    -- Zephyr version: 3.2.99 (C:/ncs/v2.2.0/zephyr), build: v3.2.99-ncs1
    [2/274] Creating directories for 'mcuboot_subimage'
    [3/274] No download step for 'mcuboot_subimage'
    [4/274] No update step for 'mcuboot_subimage'
    [5/274] No patch step for 'mcuboot_subimage'
    [6/274] No configure step for 'mcuboot_subimage'
    [6/274] Performing build step for 'mcuboot_subimage'
    [1/1] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       40410 B        48 KB     82.21%
                 RAM:       28024 B     211736 B     13.24%
            IDT_LIST:          0 GB         2 KB      0.00%
    [57/274] Generating ../../tfm/CMakeCache.txt
    -- The C compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/v2.2.0/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    -- Found Python3: C:/ncs/toolchains/v2.2.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.2.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/PersonalProjects/thingy91/at_clientTest1/build/tfm
    [62/274] No configure step for 'tfm'
    [63/274] Performing build step for 'tfm'
    [0/1] Re-running CMake...
    -- Found Python3: C:/ncs/toolchains/v2.2.0/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    -- Found Python3: C:/ncs/toolchains/v2.2.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.2.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/PersonalProjects/thingy91/at_clientTest1/build/tfm
    [1/131] Building C object secure_fw/CMakeFiles/tfm_s.dir/spm/cmsis_psa/psa_interface_cross.o
    [2/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto_slot_management.o
    [3/131] Building C object secure_fw/CMakeFiles/tfm_s.dir/partitions/idle_partition/load_info_idle_sp.o
    [4/131] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/interface/src/tfm_psa_call_pack.o
    [5/131] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
    [6/131] Building C object secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/tfm_psa_api_veneers.o
    [7/131] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
    [8/131] Building C object secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o
    [9/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/tfm_boot_data.o
    [10/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/spm_ipc.o
    [11/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/static_load.o
    [12/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/main.o
    [13/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/spm_cross_call.o
    [14/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/psa_api.o
    [15/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/tfm_pools.o
    [16/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/tfm_core_svcalls_ipc.o
    [17/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/interrupt.o
    [18/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/backend_ipc.o
    [19/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/idle_partition/idle_partition.o
    [20/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/psa_interface_cross.o
    [21/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch_v8m_main.o
    [22/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/interface/src/tfm_psa_call_pack.o
    [23/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
    [24/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
    [25/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/idle_partition/load_info_idle_sp.o
    [26/131] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/ns_agent_tz/load_info_ns_agent_tz.o
    [27/131] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sprt_main.o
    [28/131] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sfn_common_thread.o
    [29/131] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/service_api.o
    [30/131] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/crypto/tfm_crypto_secure_api.o
    [31/131] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/__/__/interface/src/tfm_psa_call_pack.o
    [32/131] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/__/spm/cmsis_psa/psa_interface_cross.o
    [33/131] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/platform/tfm_platform_secure_api.o
    [34/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o
    [35/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o
    [36/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o
    [37/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key.o
    [38/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_asymmetric.o
    [39/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o
    [40/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o
    [41/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o
    [42/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.o
    [43/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_rng.o
    [44/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_management.o
    [45/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/interface/src/tfm_psa_call_pack.o
    [46/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_derivation.o
    [47/131] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
    [48/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/memory_buffer_alloc.o
    [49/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto_client.o
    [50/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto_hash.o
    [51/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto_ecp.o
    [52/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto_cipher.o
    [53/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto.o
    [54/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto_aead.o
    [55/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto_rsa.o
    [56/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto_mac.o
    [57/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_driver_wrappers.o
    [58/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/pkcs12.o
    [59/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/pem.o
    [60/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/pkcs5.o
    [61/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/psa_crypto_storage.o
    [62/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/random_ext.o
    [63/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/cipher.o
    [64/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/pk.o
    [65/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/dhm.o
    [66/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/pkwrite.o
    [67/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/md.o
    [68/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/cipher_wrap.o
    [69/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/pkparse.o
    [70/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/sha512.o
    [71/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/md5.o
    [72/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/ripemd160.o
    [73/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/sha256.o
    [74/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/sha1.o
    [75/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/pk_wrap.o
    [76/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/ccm.o
    [77/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/cmac.o
    [78/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/aesni.o
    [79/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/des.o
    [80/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/chachapoly.o
    [81/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/camellia.o
    [82/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/aria.o
    [83/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/ecdsa.o
    [84/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/ecp.o
    [85/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/ecp_curves.o
    [86/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/gcm.o
    [87/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/ecdh.o
    [88/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/hkdf.o
    [89/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/rsa.o
    [90/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/rsa_alt_helpers.o
    [91/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/legacy/ecjpake_oberon.o
    [92/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/legacy/aes.o
    [93/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/ncs/v2.2.0/mbedtls/library/hmac_drbg.o
    [94/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/legacy/aes_oberon.o
    [95/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/bignum.o
    [96/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/base64.o
    [97/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/asn1write.o
    [98/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/asn1parse.o
    [99/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/platform_util.o
    [100/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/platform.o
    [101/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/version.o
    [102/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/padlock.o
    [103/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/oid.o
    [104/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/nist_kw.o
    [105/131] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v2.2.0/mbedtls/library/constant_time.o
    [106/131] Linking C static library secure_fw\partitions\crypto\mbedcrypto\nrf_security_src\libmbedcrypto_base.a
    [107/131] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/generated/secure_fw/partitions/platform/auto_generated/intermedia_tfm_platform.o
    [108/131] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/platform_sp.o
    [109/131] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/interface/src/tfm_psa_call_pack.o
    [110/131] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
    [111/131] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/tfm_hal_isolation.o
    [112/131] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/spm_hal.o
    [113/131] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/services/src/tfm_ioctl_core_s_api.o
    [114/131] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/services/src/tfm_platform_hal_ioctl.o
    [115/131] Building C object platform/CMakeFiles/platform_s.dir/C_/ncs/v2.2.0/nrf/modules/tfm/tfm/boards/common/tfm_hal_platform.o
    [116/131] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/nrf9160/tfm_interrupts.o
    [117/131] Building C object platform/CMakeFiles/platform_s.dir/C_/ncs/v2.2.0/nrf/modules/tfm/tfm/boards/src/tfm_ioctl_s_api.o
    [118/131] Building C object platform/CMakeFiles/platform_s.dir/__/secure_fw/spm/cmsis_psa/psa_interface_cross.o
    [119/131] Building C object platform/CMakeFiles/platform_s.dir/C_/ncs/v2.2.0/nrf/modules/tfm/tfm/boards/src/tfm_platform_system.o
    [120/131] Building C object platform/CMakeFiles/platform_s.dir/__/interface/src/tfm_psa_call_pack.o
    [121/131] Linking C static library platform\libplatform_s.a
    [122/131] Linking C static library secure_fw\partitions\platform\libtfm_psa_rot_partition_platform.a
    [123/131] Linking C static library secure_fw\partitions\crypto\mbedcrypto\nrf_security_src\libcrypto_service_mbedcrypto.a
    [124/131] Linking C static library secure_fw\partitions\crypto\libtfm_psa_rot_partition_crypto.a
    [125/131] Linking C static library secure_fw\partitions\lib\sprt\libtfm_sprt.a
    [126/131] Linking C static library secure_fw\spm\libtfm_spm.a
    [127/131] Linking C executable bin\tfm_s.axf
    [128/131] Generating ../bin/tfm_s.elf
    [129/131] Generating ../bin/tfm_s.bin
    [130/131] Generating ../bin/tfm_s.hex
    [131/131] Linking C static library secure_fw\libtfm_s_veneers.a
    [69/274] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
    [71/274] Performing install step for 'tfm'
    -- Install configuration: "Debug"
    [72/274] Generating zephyr/tfm_secure.hex
    [73/274] Completed 'tfm'
    [74/274] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
    [75/274] Generating include/generated/offsets.h
    [76/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/state.c.obj
    [77/274] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
    [78/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/debug/thread_info.c.obj
    [79/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy.c.obj
    [80/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
    [81/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets_select.c.obj
    [82/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/getaddrinfo.c.obj
    [83/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm.c.obj
    [84/274] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.2.0/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
    [85/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/socket_offload.c.obj
    [86/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [87/274] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
    [88/274] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [89/274] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [90/274] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.2.0/nrf/lib/adp536x/adp536x.c.obj
    [91/274] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
    [92/274] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
    [93/274] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
    [94/274] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
    [95/274] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
    [96/274] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets.c.obj
    [97/274] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
    [98/274] Generating linker_zephyr_pre1.cmd
    [99/274] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
    [100/274] Generating linker_zephyr_pre0.cmd
    [101/274] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
    [102/274] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
    [103/274] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
    [104/274] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
    [105/274] Linking C static library zephyr\arch\common\libisr_tables.a
    [106/274] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
    [107/274] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
    [108/274] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
    [109/274] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
    [110/274] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
    [111/274] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
    [112/274] Linking C static library zephyr\arch\common\libarch__common.a
    [113/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
    [114/274] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
    [115/274] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
    [116/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
    [117/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
    [118/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
    [119/274] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/CMakeFiles/arch__arm__core__aarch32__cortex_m__cmse.dir/arm_core_cmse.c.obj
    [120/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
    [121/274] Building C object CMakeFiles/app.dir/src/main.c.obj
    [122/274] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
    [123/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
    [124/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
    [125/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [126/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [127/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
    [128/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [129/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
    [130/274] Linking C static library app\libapp.a
    [131/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
    [132/274] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
    [133/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
    [134/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
    [135/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
    [136/274] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
    [137/274] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_secure.c.obj
    [138/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [139/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
    [140/274] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/power.c.obj
    [141/274] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/soc.c.obj
    [142/274] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
    [143/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
    [144/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [145/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
    [146/274] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [147/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
    [148/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
    [149/274] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
    [150/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
    [151/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
    [152/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
    [153/274] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
    [154/274] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
    [155/274] Building C object zephyr/lib/libc/newlib/CMakeFiles/lib__libc__newlib.dir/libc-hooks.c.obj
    [156/274] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/buf.c.obj
    [157/274] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\cmse\libarch__arm__core__aarch32__cortex_m__cmse.a
    [158/274] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
    [159/274] Linking C static library zephyr\soc\arm\common\cortex_m\libsoc__arm__common__cortex_m.a
    [160/274] Building C object zephyr/boards/boards/arm/thingy91_nrf9160_ns/CMakeFiles/..__nrf__boards__arm__thingy91_nrf9160.dir/adp5360_init.c.obj
    [161/274] Linking C static library zephyr\libzephyr.a
    [162/274] Building C object zephyr/boards/boards/arm/thingy91_nrf9160_ns/CMakeFiles/..__nrf__boards__arm__thingy91_nrf9160.dir/nrf52840_reset.c.obj
    [163/274] Linking C static library zephyr\lib\libc\newlib\liblib__libc__newlib.a
    [164/274] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_timeout.c.obj
    [165/274] Linking C static library zephyr\subsys\net\libsubsys__net.a
    [166/274] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a
    [167/274] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/utils.c.obj
    [168/274] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_entropy_device.c.obj
    [169/274] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
    [170/274] Linking C static library zephyr\boards\boards\arm\thingy91_nrf9160_ns\lib..__nrf__boards__arm__thingy91_nrf9160.a
    [171/274] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_core.c.obj
    [172/274] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
    [173/274] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
    [174/274] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
    [175/274] Linking C static library zephyr\drivers\gpio\libdrivers__gpio.a
    [176/274] Linking C static library zephyr\drivers\clock_control\libdrivers__clock_control.a
    [177/274] Linking C static library zephyr\subsys\random\libsubsys__random.a
    [178/274] Linking C static library zephyr\drivers\console\libdrivers__console.a
    [179/274] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/C_/ncs/v2.2.0/nrf/drivers/entropy/entropy_cc3xx.c.obj
    [180/274] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_nrfx_twim.c.obj
    [181/274] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
    [182/274] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
    [183/274] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_if.c.obj
    [184/274] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
    [185/274] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
    [186/274] Building C object zephyr/drivers/spi/CMakeFiles/drivers__spi.dir/spi_nrfx_spim.c.obj
    [187/274] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
    [188/274] Linking C static library zephyr\subsys\net\ip\libsubsys__net__ip.a
    [189/274] Linking C static library zephyr\drivers\serial\libdrivers__serial.a
    [190/274] Linking C static library zephyr\drivers\entropy\libdrivers__entropy.a
    [191/274] Linking C static library zephyr\drivers\i2c\libdrivers__i2c.a
    [192/274] Linking C static library zephyr\drivers\spi\libdrivers__spi.a
    [193/274] Linking C static library zephyr\drivers\timer\libdrivers__timer.a
    [194/274] Linking C static library zephyr\drivers\pinctrl\libdrivers__pinctrl.a
    [195/274] Building C object modules/nrf/lib/nrf_modem_lib/CMakeFiles/..__nrf__lib__nrf_modem_lib.dir/nrf_modem_os.c.obj
    [196/274] Building C object modules/nrf/lib/nrf_modem_lib/CMakeFiles/..__nrf__lib__nrf_modem_lib.dir/sanity.c.obj
    [197/274] Building C object modules/nrf/lib/nrf_modem_lib/CMakeFiles/..__nrf__lib__nrf_modem_lib.dir/nrf_modem_lib.c.obj
    [198/274] Building C object modules/nrf/lib/nrf_modem_lib/CMakeFiles/..__nrf__lib__nrf_modem_lib.dir/fault.c.obj
    [199/274] Building C object modules/nrf/lib/modem_antenna/CMakeFiles/..__nrf__lib__modem_antenna.dir/modem_antenna.c.obj
    [200/274] Building C object modules/nrf/modules/tfm/zephyr/CMakeFiles/tfm_api_nrf.dir/__/tfm/boards/src/tfm_ioctl_ns_api.c.obj
    [201/274] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/__/__/tfm/install/interface/src/tfm_platform_ipc_api.c.obj
    [202/274] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/src/zephyr_tfm_log.c.obj
    [203/274] Building C object modules/nrf/lib/at_monitor/CMakeFiles/..__nrf__lib__at_monitor.dir/at_monitor.c.obj
    [204/274] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
    [205/274] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/__/__/tfm/install/interface/src/tfm_psa_ns_api.c.obj
    [206/274] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/interface/interface.c.obj
    [207/274] Building C object modules/nrf/lib/nrf_modem_lib/CMakeFiles/..__nrf__lib__nrf_modem_lib.dir/nrf91_sockets.c.obj
    [208/274] Building C object modules/nrf/lib/at_host/CMakeFiles/..__nrf__lib__at_host.dir/at_host.c.obj
    [209/274] Linking C static library modules\nrf\modules\tfm\zephyr\libtfm_api_nrf.a
    [210/274] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/__/__/tfm/install/interface/src/tfm_ioctl_core_ns_api.c.obj
    [211/274] Linking C static library modules\nrf\lib\modem_antenna\lib..__nrf__lib__modem_antenna.a
    [212/274] Linking C static library modules\nrf\lib\at_monitor\lib..__nrf__lib__at_monitor.a
    [213/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.2.0/modules/hal/nordic/nrfx/mdk/system_nrf9160.c.obj
    [214/274] Linking C static library modules\nrf\lib\fatal_error\lib..__nrf__lib__fatal_error.a
    [215/274] Linking C static library modules\nrf\lib\at_host\lib..__nrf__lib__at_host.a
    [216/274] Linking C static library modules\nrf\lib\nrf_modem_lib\lib..__nrf__lib__nrf_modem_lib.a
    [217/274] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/__/__/tfm/install/interface/src/tfm_crypto_ipc_api.c.obj
    [218/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.2.0/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
    [219/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
    [220/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_dppi.c.obj
    [221/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_twi_twim.c.obj
    [222/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_ipc.c.obj
    [223/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
    [224/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
    [225/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_spim.c.obj
    [226/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
    [227/274] Linking C static library modules\trusted-firmware-m\libtfm_api.a
    [228/274] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/zephyr/CMakeFiles/mbedtls_zephyr.dir/C_/ncs/v2.2.0/mbedtls/library/platform.c.obj
    [229/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_twim.c.obj
    [230/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
    [231/274] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
    [232/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [233/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
    [234/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [235/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [236/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
    [237/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [238/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
    [239/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [240/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [241/274] Linking C static library modules\nrfxlib\nrfxlib\nrf_security\src\zephyr\libmbedtls_zephyr.a
    [242/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
    [243/274] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
    [244/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [245/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [246/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
    [247/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
    [248/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
    [249/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
    [250/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
    [251/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
    [252/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
    [253/274] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
    [254/274] Linking C static library zephyr\kernel\libkernel.a
    [255/274] Linking C executable zephyr\zephyr_pre0.elf
    
    [256/274] Generating dev_handles.c
    [257/274] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/misc/empty_file.c.obj
    [258/274] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/dev_handles.c.obj
    [259/274] Linking C executable zephyr\zephyr_pre1.elf
    
    [260/274] Generating linker.cmd
    [261/274] Generating isr_tables.c, isrList.bin
    [262/274] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
    [263/274] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
    [264/274] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
    [265/274] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       80028 B     380416 B     21.04%
                 RAM:       33048 B     211736 B     15.61%
            IDT_LIST:          0 GB         2 KB      0.00%
    [266/274] Generating zephyr/tfm_nonsecure.hex
    [267/274] Generating zephyr/mcuboot_primary_app.hex
    [268/274] Generating zephyr/mcuboot_primary.hex
    [269/274] Generating ../../zephyr/app_update.bin
    sign the payload
    [270/274] Generating ../../zephyr/app_signed.hex
    sign the payload
    [271/274] Generating ../../zephyr/dfu_application.zip
    [272/274] Generating ../../zephyr/app_test_update.hex
    sign the payload
    [273/274] Generating ../../zephyr/app_moved_test_update.hex
    [274/274] Generating zephyr/merged.hex
     *  Terminal will be reused by tasks, press any key to close it. 
    
     *  Executing task: nRF Connect: Flash: at_clientTest1/build (active) 
    
    Flashing build to 600106256
    west flash -d c:\PersonalProjects\thingy91\at_clientTest1\build --skip-rebuild -r nrfjprog --dev-id 600106256
    
    -- west flash: using runner nrfjprog
    -- runners.nrfjprog: Flashing file: C:\PersonalProjects\thingy91\at_clientTest1\build\zephyr\merged.hex
    Parsing image file.
    Verifying programming.
    Verified OK.
    Applying system reset.
    Run.
    -- runners.nrfjprog: Board with serial number 600106256 flashed successfully.
     *  Terminal will be reused by tasks, press any key to close it. 
    

  • Hello, 

    The attached project failed on my side as well, running the merged.hex. Tried to add a new build configuration to your project, and this did not fail. 

    What version of the Thingy:91 are you using? And with what modem fw? I don't think the modem fw should have anything to say in this matter though.

Reply Children
  • Ah, glad you were able to replicate the issue! It sounds to me like my build process is messing something up.

    I am using nRF SDK v2.2.0 from nRF Connect for Desktop, on Windows 10. I used the toolchain to install it to C:\ncs\v2.2.0.

    Then, I open VSCode from toolchain  Manager, this gives me the Nrf connect welcome screen.

    I just followed the instructions described above to build and flash. For the build, I choose "thingy91_nrf9160_ns". I have tried without the ns, and also tried checking the box "Enable debug options", with the same outcome: stuck in that crypto_platform_init.

    The thingy91's label says: PCA20035 / 1.4.0 / 2020.23 / PIN: 568345

    I can flash the .hex for the at_client, and with that I can use Link Monitor to connect to LTE, and send AT commands successfully. I believe I updated it to modemFW mfw_nrf9160_1.3.3 from the package "thingy91_fw_2022_12_08_188a1603".

    I just tried the lesson 2 exercise 2 instructions here:

    https://academy.nordicsemi.com/topic/lesson-2-exercise-2/

    and got the same result. No Link Manager access, and if I debug, it starts here:

    Then, when I click Play, nothing comes up on the COM ports. If I click Pause:

  • Collin Moore said:
    Ah, glad you were able to replicate the issue! It sounds to me like my build process is messing something up.

    Yes, there seems to be an issue on your side. Can you please provide the output from the VS Code command (SHIFT+CTRL+i) "nRF Connect: Generate Support information"?

  • Ok, the hotkey didn't work for me, but I went to the nRF Connect extension and clicked on Generate Support Information.

    IMPORTANT: The data below could contain sensitive or confidential information about your environment.
    If you do not wish this to be seen by others, please make sure to remove it before sharing.
    
    For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/.
    
    {
      "platform": {
        "os": "win32",
        "osVersion": "Windows 10 Pro",
        "osKernel": "10.0.19044",
        "vscode": "1.74.3",
        "electron": "19.1.8",
        "node": "v16.14.2"
      },
      "system": {
        "date": "2023-02-04T04:03:42.931Z",
        "vscodeRoot": "c:\\Users\\Collin\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "11:28:02",
        "osUptime": "12:05:01",
        "cpu": {
          "model": "Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz",
          "speed": "3411 MHz",
          "count": 4
        },
        "memory": {
          "total": "7.97 GB",
          "free": "2.19 GB"
        }
      },
      "workspace": {
        "name": "Cellular-IoT-Fundamentals",
        "workspaceFile": null,
        "folders": [
          "c:\\C-IoT-Fund\\Cellular-IoT-Fundamentals"
        ]
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2023.1.44",
            "path": "c:\\Users\\Collin\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.1.44-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2022.11.29",
            "path": "c:\\Users\\Collin\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.11.29",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2022.11.153",
            "path": "c:\\Users\\Collin\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2022.11.153",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2022.11.50",
            "path": "c:\\Users\\Collin\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2022.11.50",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": "1.6.10",
          "ms-vscode.cpptools": "1.13.9",
          "ms-vscode-remote.remote-wsl-recommender": "0.0.18",
          "ms-vscode.js-debug": "1.74.1",
          "ms-vscode.js-debug-companion": "1.0.18",
          "ms-vscode.vscode-js-profile-table": "1.0.3",
          "cschlosser.doxdocgen": "1.4.0",
          "jeff-hykin.better-cpp-syntax": "1.17.2",
          "mcu-debug.debug-tracker-vscode": "0.0.13",
          "mcu-debug.memory-view": "0.0.18",
          "mcu-debug.rtos-views": "0.0.4",
          "ms-vscode.cpptools-extension-pack": "1.3.0",
          "ms-vscode.cpptools-themes": "2.0.0",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "vsciot-vscode.vscode-arduino": "0.4.13"
        }
      },
      "tools": {
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.15.1",
        "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink.exe": "7.66a",
        "C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.15.4",
        "C:\\Users\\Collin\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\nrfutil.exe": null,
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\cmake.exe": "3.20.5",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\Scripts\\west.exe": "0.14.0",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\python.exe": "3.8.2",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\ninja.exe": "1.9.0",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\gperf.exe": "3.1",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\dtc.exe": "1.4.7",
        "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\gn.exe": "2073",
        "c:\\ncs\\toolchains\\v2.2.0\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
        "gdbPath": "c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe"
      },
      "sdks": [
        {
          "version": "2.2.0",
          "path": "c:\\ncs\\v2.2.0"
        }
      ],
      "toolchains": [
        {
          "version": "2.2.0",
          "path": "c:\\ncs\\toolchains\\v2.2.0"
        }
      ],
      "connectedDevices": [],
      "deviceProviders": [
        "nrfjprog"
      ],
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "${nrf-connect.sdk:2.2.0}",
          "toolchain": {
            "path": "${nrf-connect.toolchain:2.2.0}"
          },
          "ozonePath": "",
          "applications": [
            "${workspaceFolder}\\lesson2\\cellfund_less2_exer2"
          ],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig",
            "executeInDefaultShell": false
          },
          "welcome": {
            "showOnStartup": true
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "enableTelemetry": false,
          "taskBindings": {},
          "debugging": {
            "backend": "nRF Debug",
            "flash": true,
            "bindings": {}
          },
          "activeAppFollowActiveEditor": true
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character",
          "scrollBack": 1000
        },
        "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,
          "registerUseNaturalFormat": true,
          "variableUseNaturalFormat": true,
          "dbgServerLogfile": null,
          "showDevDebugOutput": "none"
        }
      },
      "environment": {
        "westExe": "west",
        "westEnv": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\Collin",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\Collin",
          "Path": "c:\\ncs\\toolchains\\v2.2.0\\mingw64\\bin;c:\\ncs\\toolchains\\v2.2.0\\mingw64\\libexec\\git-core;c:\\ncs\\toolchains\\v2.2.0\\opt\\bin;c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;c:\\ncs\\toolchains\\v2.2.0\\arm-zephyr-eabi\\bin;c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\Scripts;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\PuTTY\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:/PersonalProjects/ESP8266/ESP8266_RTOS_SDK/tools;C:\\Program Files\\CMake\\bin;C:\\Users\\Collin\\AppData\\Roaming\\Python\\Python38\\Scripts;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files (x86)\\SEGGER\\JLink;C:\\Users\\Collin\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\;C:\\Users\\Collin\\AppData\\Local\\Programs\\Python\\Python38\\;C:\\Users\\Collin\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files (x86)\\FAHClient;C:\\Users\\Collin\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\Collin\\.dotnet\\tools;C:\\Program Files (x86)\\Nmap",
          "ZEPHYR_BASE": "c:\\ncs\\v2.2.0\\zephyr",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk",
          "PYTHONPATH": "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin;c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\Lib;c:\\ncs\\toolchains\\v2.2.0\\opt\\bin\\Lib\\site-packages",
          "Python3_ROOT": "c:\\ncs\\toolchains\\v2.2.0\\opt\\bin"
        },
        "inherited": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\Collin",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\Collin",
          "Path": "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\PuTTY\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:/PersonalProjects/ESP8266/ESP8266_RTOS_SDK/tools;C:\\Program Files\\CMake\\bin;C:\\Users\\Collin\\AppData\\Roaming\\Python\\Python38\\Scripts;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files (x86)\\SEGGER\\JLink;C:\\Users\\Collin\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\;C:\\Users\\Collin\\AppData\\Local\\Programs\\Python\\Python38\\;C:\\Users\\Collin\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files (x86)\\FAHClient;C:\\Users\\Collin\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\Collin\\.dotnet\\tools;C:\\Program Files (x86)\\Nmap",
          "PATH": "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\PuTTY\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:/PersonalProjects/ESP8266/ESP8266_RTOS_SDK/tools;C:\\Program Files\\CMake\\bin;C:\\Users\\Collin\\AppData\\Roaming\\Python\\Python38\\Scripts;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files (x86)\\SEGGER\\JLink;C:\\Users\\Collin\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\;C:\\Users\\Collin\\AppData\\Local\\Programs\\Python\\Python38\\;C:\\Users\\Collin\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files (x86)\\FAHClient;C:\\Users\\Collin\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\Collin\\.dotnet\\tools;C:\\Program Files (x86)\\Nmap"
        },
        "toolchainPath": "c:\\ncs\\toolchains\\v2.2.0",
        "toolchainBinPath": "c:\\ncs\\toolchains\\v2.2.0\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin",
        "toolchainVersion": "2.2.0"
      },
      "terminal": {
        "shell": null,
        "defaultProfile": null
      }
    }
    
    

  • Thank you for providing this information!

    Looking through your support information and comparing to mine I see that you do not have GNUARMEMB_TOOLCHAIN_PATH set

    How did you install the SDK? Are you using the toolchain manager?

  • Yes, sorry I wasn't clearer before. I installed everything via nRF Connect for Desktop. First I installed nRF connect, then the "Toolchain Manager", then followed its link to install VSCode, while installing toolchain 2.2.0, then opened VSCode and everything looks as it should in the examples to add and build code.

    I didn't change or add anything custom. I have some older path entries (as you can see!) to other compilers, etc, but I followed the instructions exactly to set up the IDE and Toolchain.

    I will try adding that path entry. Is that the only thing I am missing? I expected your instructions to work, and have not modified my install process at all.

    As a second attempt, I tried the whole process over, installing nrf connect, toolchain, VSCode on another laptop, with a fresh install of Windows 10, and got a similar result: Debugger stuck in nrf_spu_flashregion_set().

Related