This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Toolchain fails to install SDK v1.6.0

I am trying to install nRF Connect SDK v1.6.0. For some reason the download speed is extremely slow, and even fails without the ability to resume automatically. On two occasions Toolchain Manager v0.9.3 claimed it had successfully installed the SDK but I couldn't locate boards, projects, or even zephyr root folder in SEGGER, as if the download was incomplete. Is there a way I can manually download the necessary files and feed them to the Toolchain?

Parents
  • Thanks for the immediate feedback, Iman!

    Honestly, I wouldn’t have expected this behaviour so I’m a little bit surprised myself. But let’s try the following:

    • Backup the file in ../ncs/downloads/ncs-toolchain-v1.6.0-20210701-de414c8.zip
    • Remove the current installation of NCS v1.6.0 (down-arrow button in Toolchain Manager --> Remove)
    • When uninstalled successfully, close the Toolchain Manager and nRF Connect
    • Unzip ncs-toolchain-v1.6.0-20210701-de414c8.zip to ..ncs/v1.6.0/toolchain
    • Re-open nRF Connect and the Toolchain Manager. You should now be able to see the “First steps to build” button again
    • Open the bash and do as shown below. This should trigger the repository initialisation and run ‘west update’ automatically (I'm very sorry for the 'west init' confusion earlier!)

    NCS repositories are not yet cloned here. To do so run the following command:
    
    ncsmgr init-ncs
    
    user@LAPTOP-K3KIGSKJ MINGW64 ~/ncs/v1.6.0
    $ echo $ZEPHYR_BASE
    C:/Users/user/ncs/v1.6.0/zephyr
    
    user@LAPTOP-K3KIGSKJ MINGW64 ~/ncs/v1.6.0
    $ ncsmgr init-ncs
    Checking out NCS v1.6.0 ...=== Initializing in C:\Users\user\ncs\v1.6.0
    --- Cloning manifest repository from https://github.com/nrfconnect/sdk-nrf, rev. v1.6.0
    Initialized empty Git repository in C:/Users/user/ncs/v1.6.0/.west/manifest-tmp/.git/
    remote: Enumerating objects: 73395, done.
    remote: Counting objects: 100% (492/492), done.
    remote: Compressing objects: 100% (282/282), done.
    remote: Total 73395 (delta 251), reused 350 (delta 203), pack-reused 72903
    Receiving objects: 100% (73395/73395), 37.19 MiB | 984.00 KiB/s, done.
    Resolving deltas: 100% (53264/53264), done.
    
    …
    
    Resolving deltas: 100% (202/202), done.
    From https://github.com/zephyrproject-rtos/edtt
     * [new branch]      le-audio      -> refs/west/le-audio
     * [new branch]      public_master -> refs/west/public_master
    HEAD is now at 7dd56fc Add FIXME note to handle incorrect LL/CON/MAS/BV-27-C implementation
    HEAD is now at 7dd56fc Add FIXME note to handle incorrect LL/CON/MAS/BV-27-C implementation
    done
    Zephyr (C:/Users/user/ncs/v1.6.0/zephyr/share/zephyr-package/cmake)
    has been added to the user package registry in:
    HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\Zephyr
    
    ZephyrUnittest (C:/Users/user/ncs/v1.6.0/zephyr/share/zephyrunittest-package/cmake)
    has been added to the user package registry in:
    HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\ZephyrUnittest
    
    
    user@LAPTOP-K3KIGSKJ MINGW64 ~/ncs/v1.6.0
    $

    Regards,

    Markus

Reply
  • Thanks for the immediate feedback, Iman!

    Honestly, I wouldn’t have expected this behaviour so I’m a little bit surprised myself. But let’s try the following:

    • Backup the file in ../ncs/downloads/ncs-toolchain-v1.6.0-20210701-de414c8.zip
    • Remove the current installation of NCS v1.6.0 (down-arrow button in Toolchain Manager --> Remove)
    • When uninstalled successfully, close the Toolchain Manager and nRF Connect
    • Unzip ncs-toolchain-v1.6.0-20210701-de414c8.zip to ..ncs/v1.6.0/toolchain
    • Re-open nRF Connect and the Toolchain Manager. You should now be able to see the “First steps to build” button again
    • Open the bash and do as shown below. This should trigger the repository initialisation and run ‘west update’ automatically (I'm very sorry for the 'west init' confusion earlier!)

    NCS repositories are not yet cloned here. To do so run the following command:
    
    ncsmgr init-ncs
    
    user@LAPTOP-K3KIGSKJ MINGW64 ~/ncs/v1.6.0
    $ echo $ZEPHYR_BASE
    C:/Users/user/ncs/v1.6.0/zephyr
    
    user@LAPTOP-K3KIGSKJ MINGW64 ~/ncs/v1.6.0
    $ ncsmgr init-ncs
    Checking out NCS v1.6.0 ...=== Initializing in C:\Users\user\ncs\v1.6.0
    --- Cloning manifest repository from https://github.com/nrfconnect/sdk-nrf, rev. v1.6.0
    Initialized empty Git repository in C:/Users/user/ncs/v1.6.0/.west/manifest-tmp/.git/
    remote: Enumerating objects: 73395, done.
    remote: Counting objects: 100% (492/492), done.
    remote: Compressing objects: 100% (282/282), done.
    remote: Total 73395 (delta 251), reused 350 (delta 203), pack-reused 72903
    Receiving objects: 100% (73395/73395), 37.19 MiB | 984.00 KiB/s, done.
    Resolving deltas: 100% (53264/53264), done.
    
    …
    
    Resolving deltas: 100% (202/202), done.
    From https://github.com/zephyrproject-rtos/edtt
     * [new branch]      le-audio      -> refs/west/le-audio
     * [new branch]      public_master -> refs/west/public_master
    HEAD is now at 7dd56fc Add FIXME note to handle incorrect LL/CON/MAS/BV-27-C implementation
    HEAD is now at 7dd56fc Add FIXME note to handle incorrect LL/CON/MAS/BV-27-C implementation
    done
    Zephyr (C:/Users/user/ncs/v1.6.0/zephyr/share/zephyr-package/cmake)
    has been added to the user package registry in:
    HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\Zephyr
    
    ZephyrUnittest (C:/Users/user/ncs/v1.6.0/zephyr/share/zephyrunittest-package/cmake)
    has been added to the user package registry in:
    HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\ZephyrUnittest
    
    
    user@LAPTOP-K3KIGSKJ MINGW64 ~/ncs/v1.6.0
    $

    Regards,

    Markus

Children
No Data
Related