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

Zephyr Base not set and "Open IDE" not present in Toolchain Manager

Hi there,

We are trying to download and install the nRF Connect SDK v1.5.1, which seems to be the latest version on Toolchain Manager.

However, after installation, the "Open IDE" button is not present. I thus manually open SEGGER embedded studio from within the SDK install directory. However, I then get the following "Zephyr base not set" issue:

Looks as if the installation was not successful at all, below is the installation log:

11:48:05.932
Finished downloading version v1.5.1 of the toolchain after approximately 6 minute(s)
11:48:05.933
Unpacking toolchain v1.5.1
11:49:07.500
Finished unpacking version v1.5.1; win32; ia32 of the toolchain after approximately 1 minute(s)
11:49:07.500
Update config file
11:49:07.508
Cloning nRF Connect SDK v1.5.1
11:49:07.526
Initializing environment for v1.5.1
11:49:09.458
Finished cloning version v1.5.1 of the nRF Connect SDK after approximately 0 minute(s)
I do not have a VPN enabled, I always disabled the antivirus as well as the network firewall, and no success. Please advise as soon as possible as we are on a tight timeline to decide on hardware.
Thanks,
Kind regards,
Frikkie Badenhorst
Parents Reply Children
  • Hello, Frikke!

    Einar is away on holiday and I'm taking over the case. There haven't been any updates from the developers on this unfortunately and I've pinged them (again). While we wait please try to reinstall nRF Connect SDK for desktop completely (with any anti-virus or problematic Firewall disabled) by following this procedure:

    - Go to the Toolchain manager app, press the dropdown beside the nRF Connect SDK installation and select Remove. Verify that it is removed by checking the NCS installation folder (C:\Users\<username>\ncs by default).
    - Uninstall the nRF Connect for desktop application
    - Delete the  %appdata%/nrfconnect directory (as you've done before)
    - Delete the C:\Users\<username>\.nrfconnect-apps directory

    Then reinstall nRF Connect for Desktop along with the toolchain manager before installing NCS again. If acceptable please try the most recent release of NCS (v1.6.0), but if 1.5.1 is required you choose that of course. If it fails again please provide the most recent log file located at  %appdata%/nrfconnect/pc-nrfconnect-toolchain-manager/logs.

    Thank you for your patience.

    Best regards,
    Carl Richard

  • Thanks for your response Carl!

    I followed the steps as you explained above (with antivirus and firewall disabled), however the same issue is still present.

    Here is the log file

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    2021-07-20T07:11:55.444Z INFO Initializing environments...
    2021-07-20T07:11:55.459Z INFO Application data folder: C:\Users\FrikkieBadenhorst\AppData\Roaming\nrfconnect\pc-nrfconnect-toolchain-manager
    2021-07-20T07:11:55.523Z DEBUG App pc-nrfconnect-toolchain-manager v0.9.3 official
    2021-07-20T07:11:55.523Z DEBUG App path: C:\Users\FrikkieBadenhorst\.nrfconnect-apps\node_modules\pc-nrfconnect-toolchain-manager
    2021-07-20T07:11:55.523Z DEBUG nRFConnect 3.7.0 is not supported by the app (^3.7.0)
    2021-07-20T07:11:55.523Z DEBUG nRFConnect path: C:\Users\FrikkieBadenhorst\AppData\Local\Programs\nrfconnect\resources\app.asar
    2021-07-20T07:11:55.524Z DEBUG HomeDir: C:\Users\FrikkieBadenhorst
    2021-07-20T07:11:55.524Z DEBUG TmpDir: C:\Users\FRIKKI~1\AppData\Local\Temp
    2021-07-20T07:11:56.079Z DEBUG iface: Ethernet
    2021-07-20T07:11:56.079Z DEBUG IP4:
    2021-07-20T07:11:56.079Z DEBUG IP6:
    2021-07-20T07:11:56.079Z DEBUG MAC: c0:3e:ba:75:cb:15
    2021-07-20T07:11:56.080Z DEBUG Client Id: d50b4c3884463e72376ff503bcfe62405907ae47
    2021-07-20T07:11:56.081Z DEBUG Google Analytics for category pc-nrfconnect-toolchain-manager has initialized
    2021-07-20T07:11:56.219Z DEBUG Downloading index json with buffer length: 7047
    2021-07-20T07:11:56.221Z DEBUG Index json has been downloaded with result: [
    {
    "version": "v1.4.99-dev1",
    "toolchains": [
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    As you can see, the issue seems to be at the cloning of the toolchain:

    Finished cloning version v1.6.0 of the nRF Connect SDK after approximately 0 minute(s)

    I really hope we can get a response soon as this is holding us up quite a lot. We have seen the installation done successfully on some of our machines, but on other machines this exact issue arises - thus it will probably be best if a team member can do a remote connection on one of our machines in order to identify the issue.

    Regards,

    Frikkie

  • Thank you for the logs, Frikkie! I was in contact with one of the developers earlier today. They reassured that these issues are usually a result of anti-virus (including corporate anti-virus), VPN or firewall issues. However, they mentioned that it can arise if the ".west" directory exists in some higher level directory, so please verify that this isn't the case. Did you also have VPN disabled when doing the previous attempt?

    Please contact contact your Regional Sales Manager (RSM) with regards to support meetings. If you aren't aware of who this is I'll DM you their contact details.

    Best regards,
    Carl Richard

  • Hi Carl. I indeed had VPN disabled.

    My install directory is directly on the C: drive. After downloading and installing via Toolchain Manager, the directories are as follow (download folder containing the downloaded .zip files and v1.6.0 as a result from the installation):

    Within v1.6.0, the following directories are available:

    The .west folder is empty. The toolchain folder also does not appear to be complete when comparing to a successful installation. I do not see any other .west directories directly on the C: drive. Any other place I should look?

    Also, antivirus is disabled and no other third party antivirus is installed. Firewall is also disabled during installation.

    I will contact you via DM with regards to contact details for support meetings.

  • I have very similar issue. I have tried the steps given above and resulted in same behavior as @Frikkie B mentioned. The log ends with "Finished cloning version v1.6.0 of the nRF Connect SDK after approximately 0 minute(s)"

    I am attempting installation of 1.6 SDK on a Windows 10 Machine and on a private network.