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
  • Hi Frikkie, 

    However, after installation, the "Open IDE" button is not present.

    I think we should focus her first, as any issues you see later may be related to the complete distribution not being properly installed.

    Which OS / Windows version do you use?

    Do you get the same behavior if you uninstall nRF Connect, delete %AppData%\nrfconnect\ and try again?

  • Hi Einar,

    I am using the latest update of Windows 10. 

    I will try uninstalling nRF connect and the AppData directory, and reinstall with the VPN deactivated, Antivirus deactived and firewall deactivated.

    Will keep you updated

  • 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

    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": [
                {
                    "version": "20201204",
                    "name": "ncs-toolchain-v1.4.99-dev1-20201204-7e01b60.zip",
                    "sha512": "18a975e0607bade592e728e6f3addfd88bcca861153ce6679f24b506ab3ed496a720dac7d8b536c8f1ddb18f2654b2e8b74500deed6c9a6a67d65d3ab72d2aea"
                }
            ]
        },
        {
            "version": "v1.4.1",
            "toolchains": [
                {
                    "version": "20201215",
                    "name": "ncs-toolchain-v1.4.1-20201215-7ecf886.zip",
                    "sha512": "94a32758310a7a930085e671a4dd37d2ead292ddbf4d40d7146940e2981d121d5c6d3706a436ef0ac22cce607a071750f1c6ffd788a52f47407153a73bdaefff"
                }
            ]
        },
        {
            "version": "v1.4.0",
            "toolchains": [
                {
                    "version": "20201030",
                    "name": "ncs-toolchain-v1.4.0-20201030-2750604.zip",
                    "sha512": "2eb53d3950af53947ba15434b32e31238d224f3906d78679c17f5b02d8492d9718f1121bbd721fbf39424ffb556d7e042cfac4565d75e9f3b0fbf8800bbc082c"
                }
            ]
        },
        {
            "version": "v1.3.2",
            "toolchains": [
                {
                    "version": "20201012",
                    "name": "ncs-toolchain-v1.3.2-20201012-09b2ade.zip",
                    "sha512": "1c9a0a4d916143c007b6aa2919f4c0a101e0563a1d00cf12b6fc3bea4fd065979bea030905c2538c5694eed4d44d4fbe5ae285d10298bc3b57b39166c1f2d6cc"
                }
            ]
        },
        {
            "version": "v1.3.1",
            "toolchains": [
                {
                    "version": "20200917",
                    "name": "ncs-toolchain-v1.3.1-20200917-806240b.zip",
                    "sha512": "5a9fc19c09a6573715fbe0b6dff5e7950f025f3b6665040bfa1a21b8a16fc8e82b60f1186f3d815eff158a12ad63904765072e25389016109292516d0fba277e"
                }
            ]
        },
        {
            "version": "v1.3.0",
            "toolchains": [
                {
                    "version": "20200618",
                    "name": "ncs-toolchain-v1.3.0-20200618-509f057.zip",
                    "sha512": "6ab7e4cfd94c7fa574a4e6e5395c04ba143ebc7fffe9cdc0dc1a4a2da912f5f39aa56dc54feb44f8a40d7c1117233710ddeb12a0a40fc5a95f733044f8a5b9fb"
                }
            ]
        },
        {
            "version": "v1.3.0-rc1",
            "toolchains": [
                {
                    "version": "20200602",
                    "name": "ncs-toolchain-v1.3.0-rc1-20200602-dbcfd6c.zip",
                    "sha512": "7b17afff0961e1a7d25d7b332e5be3e7ebdcf189dc8f0e3b581ec0fbb39fd564e05c7c99ba45a5796822175e1d21fe8fac28be07fe94d415bc11f6a85a5fa367"
                },
                {
                    "version": "20200609",
                    "name": "ncs-toolchain-v1.3.0-rc1-20200609-590da70.zip",
                    "sha512": "7ced1d4db15bf125a7612ea9ff0e076843366c778d06f7a4e81cf5009b9e883dd3da61c15452ab973a1a581737228996509b805b3a2f0471c7497b5615622673"
                }
            ]
        },
        {
            "version": "v1.2.1",
            "toolchains": [
                {
                    "version": "20200625",
                    "name": "ncs-toolchain-v1.2.1-20200625-153a59e.zip",
                    "sha512": "8b41e562cd392db503d1601e74b50f083e7c71f9dcec5befa13d5dbddce8d4d3a57ebe1701ed8754df54a8cba8886741d4bc52e2de2b628682cfcb4244dd9b73"
                }
            ]
        },
        {
            "version": "v1.2.0",
            "toolchains": [
                {
                    "version": "20200217",
                    "name": "ncs-toolchain-v1.2.0-20200217-a56f2eb.zip",
                    "sha512": "931369c90d8d53e966c8f3efc99be87fd0a9175dac1b4b54b7647e05809e0124fb34cf740a7d2575245633840c0547a741b581ebad637b1cdb35cb181048e3c6"
                },
                {
                    "version": "20200218",
                    "name": "ncs-toolchain-v1.2.0-20200218-0ef73a3.zip",
                    "sha512": "48ae4b973c706cf94c1ee2866d29a73d156d6b5575fd7b3e40edf64323e4577f6f6259879b7b79faaea176900fde02d5d45fa44a81c9ee60655d80926a3d1154"
                },
                {
                    "version": "20200225",
                    "name": "ncs-toolchain-v1.2.0-20200225-52e8a34.zip",
                    "sha512": "2ac84f7c664763ff7803061714ed97c06bda778fb6b55327642129bb086fe98da79a83d4cd40964a1eb6cde61f7a47bddf0aa6a8c53e13bf1b7bcafdb5cb40b6"
                },
                {
                    "version": "20200303",
                    "name": "ncs-toolchain-v1.2.0-20200303-457af40.zip",
                    "sha512": "18f059e238766f0a837b98dfeba87772937bf24d8e627d77dc1adf52d394a92da3788d0a62458fa5448b06d6191acf95287b7e6830812092bb55396051798e23"
                },
                {
                    "version": "20200401",
                    "name": "ncs-toolchain-v1.2.0-20200401-cf4ebd3.zip",
                    "sha512": "f7d404775dab0e752cf10e6ea0785544ad17578c3155828aa77409e5fc211df42758ca1944d5c5271c04dd5697bf3189564f3e16385ed09d21346dbd812b1834"
                }
            ]
        },
        {
            "version": "v1.4.2",
            "toolchains": [
                {
                    "version": "20210113",
                    "name": "ncs-toolchain-v1.4.2-20210113-7ecf886.zip",
                    "sha512": "4498414542dd2bc7fcb5b7d74083ad5cc7c8ac81b12ec0fe50fcbf3fb6c80ae7f7fbfe8c87eebeec32467d25cbbbee1aacb6cf37b773c2a0299c482c905c786a"
                }
            ]
        },
        {
            "version": "v1.5.0-rc1",
            "toolchains": [
                {
                    "version": "20210215",
                    "name": "ncs-toolchain-v1.5.0-rc1-20210215-2c30941.zip",
                    "sha512": "b214a17a01ba72ec9e2c39a072692e85374dd0de6d6d4db43452f28fba2896ac23e7883db008707305292b8e107cf8dc593ac8535a26001b6b7ab0f923269a43"
                }
            ]
        },
        {
            "version": "v1.5.0",
            "toolchains": [
                {
                    "version": "20210225",
                    "name": "ncs-toolchain-v1.5.0-20210225-607a0e0.zip",
                    "sha512": "5781e7500271805e1595ebf3eb04e75b5bd1e0f204dcb29a7c172d2b388f1a9a62b0fd40483b6d529c4e0a6a2f138e040fabb5ca2e360a40256ccb87c573bdce"
                }
            ]
        },
        {
            "version": "v1.5.1-rc1",
            "toolchains": [
                {
                    "version": "20210409",
                    "name": "ncs-toolchain-v1.5.1-rc1-20210409-96ab6aa.zip",
                    "sha512": "8b4b971a8c02e2dfa3ddc37a1e5af23e74bd9663f262af5a95a47c22303db84b9ec4d3b0e39937466559c6357bb4e2bbb0739582bab300635b3748eae8109203"
                }
            ]
        },
        {
            "version": "v1.5.1",
            "toolchains": [
                {
                    "version": "20210416",
                    "name": "ncs-toolchain-v1.5.1-20210416-96ab6aa.zip",
                    "sha512": "c211f8e5442b3f58a53f712e4fd6500153308e3c4063a0858ec682a27c1b5a42e4c15d63a52efe441b88e45490e93595620a442e4091abfc2d4ed1e46df4162a"
                }
            ]
        },
        {
            "version": "v1.6.0",
            "toolchains": [
                {
                    "version": "20210701",
                    "name": "ncs-toolchain-v1.6.0-20210701-de414c8.zip",
                    "sha512": "06562bc82e3b7e757131520410d89a791c996ed0c495b0d428b0e14c808e91bf8616979946e87804b774f08011716e27afa73e3d82d5051785b11857bce66c52"
                }
            ]
        }
    ]
    2021-07-20T07:11:56.241Z INFO Toolchain v1.4.99-dev1 has been added to the list
    2021-07-20T07:11:56.250Z INFO Toolchain v1.4.1 has been added to the list
    2021-07-20T07:11:56.261Z INFO Toolchain v1.4.0 has been added to the list
    2021-07-20T07:11:56.268Z INFO Toolchain v1.3.2 has been added to the list
    2021-07-20T07:11:56.277Z INFO Toolchain v1.3.1 has been added to the list
    2021-07-20T07:11:56.287Z INFO Toolchain v1.3.0 has been added to the list
    2021-07-20T07:11:56.292Z INFO Toolchain v1.3.0-rc1 has been added to the list
    2021-07-20T07:11:56.304Z INFO Toolchain v1.2.1 has been added to the list
    2021-07-20T07:11:56.311Z INFO Toolchain v1.2.0 has been added to the list
    2021-07-20T07:11:56.323Z INFO Toolchain v1.4.2 has been added to the list
    2021-07-20T07:11:56.337Z INFO Toolchain v1.5.0-rc1 has been added to the list
    2021-07-20T07:11:56.355Z INFO Toolchain v1.5.0 has been added to the list
    2021-07-20T07:11:56.369Z INFO Toolchain v1.5.1-rc1 has been added to the list
    2021-07-20T07:11:56.377Z INFO Toolchain v1.5.1 has been added to the list
    2021-07-20T07:11:56.388Z INFO Toolchain v1.6.0 has been added to the list
    2021-07-20T07:12:35.686Z INFO Initializing environments...
    2021-07-20T07:12:36.242Z DEBUG Downloading index json with buffer length: 7047
    2021-07-20T07:12:36.243Z DEBUG Index json has been downloaded with result: [
        {
            "version": "v1.4.99-dev1",
            "toolchains": [
                {
                    "version": "20201204",
                    "name": "ncs-toolchain-v1.4.99-dev1-20201204-7e01b60.zip",
                    "sha512": "18a975e0607bade592e728e6f3addfd88bcca861153ce6679f24b506ab3ed496a720dac7d8b536c8f1ddb18f2654b2e8b74500deed6c9a6a67d65d3ab72d2aea"
                }
            ]
        },
        {
            "version": "v1.4.1",
            "toolchains": [
                {
                    "version": "20201215",
                    "name": "ncs-toolchain-v1.4.1-20201215-7ecf886.zip",
                    "sha512": "94a32758310a7a930085e671a4dd37d2ead292ddbf4d40d7146940e2981d121d5c6d3706a436ef0ac22cce607a071750f1c6ffd788a52f47407153a73bdaefff"
                }
            ]
        },
        {
            "version": "v1.4.0",
            "toolchains": [
                {
                    "version": "20201030",
                    "name": "ncs-toolchain-v1.4.0-20201030-2750604.zip",
                    "sha512": "2eb53d3950af53947ba15434b32e31238d224f3906d78679c17f5b02d8492d9718f1121bbd721fbf39424ffb556d7e042cfac4565d75e9f3b0fbf8800bbc082c"
                }
            ]
        },
        {
            "version": "v1.3.2",
            "toolchains": [
                {
                    "version": "20201012",
                    "name": "ncs-toolchain-v1.3.2-20201012-09b2ade.zip",
                    "sha512": "1c9a0a4d916143c007b6aa2919f4c0a101e0563a1d00cf12b6fc3bea4fd065979bea030905c2538c5694eed4d44d4fbe5ae285d10298bc3b57b39166c1f2d6cc"
                }
            ]
        },
        {
            "version": "v1.3.1",
            "toolchains": [
                {
                    "version": "20200917",
                    "name": "ncs-toolchain-v1.3.1-20200917-806240b.zip",
                    "sha512": "5a9fc19c09a6573715fbe0b6dff5e7950f025f3b6665040bfa1a21b8a16fc8e82b60f1186f3d815eff158a12ad63904765072e25389016109292516d0fba277e"
                }
            ]
        },
        {
            "version": "v1.3.0",
            "toolchains": [
                {
                    "version": "20200618",
                    "name": "ncs-toolchain-v1.3.0-20200618-509f057.zip",
                    "sha512": "6ab7e4cfd94c7fa574a4e6e5395c04ba143ebc7fffe9cdc0dc1a4a2da912f5f39aa56dc54feb44f8a40d7c1117233710ddeb12a0a40fc5a95f733044f8a5b9fb"
                }
            ]
        },
        {
            "version": "v1.3.0-rc1",
            "toolchains": [
                {
                    "version": "20200602",
                    "name": "ncs-toolchain-v1.3.0-rc1-20200602-dbcfd6c.zip",
                    "sha512": "7b17afff0961e1a7d25d7b332e5be3e7ebdcf189dc8f0e3b581ec0fbb39fd564e05c7c99ba45a5796822175e1d21fe8fac28be07fe94d415bc11f6a85a5fa367"
                },
                {
                    "version": "20200609",
                    "name": "ncs-toolchain-v1.3.0-rc1-20200609-590da70.zip",
                    "sha512": "7ced1d4db15bf125a7612ea9ff0e076843366c778d06f7a4e81cf5009b9e883dd3da61c15452ab973a1a581737228996509b805b3a2f0471c7497b5615622673"
                }
            ]
        },
        {
            "version": "v1.2.1",
            "toolchains": [
                {
                    "version": "20200625",
                    "name": "ncs-toolchain-v1.2.1-20200625-153a59e.zip",
                    "sha512": "8b41e562cd392db503d1601e74b50f083e7c71f9dcec5befa13d5dbddce8d4d3a57ebe1701ed8754df54a8cba8886741d4bc52e2de2b628682cfcb4244dd9b73"
                }
            ]
        },
        {
            "version": "v1.2.0",
            "toolchains": [
                {
                    "version": "20200217",
                    "name": "ncs-toolchain-v1.2.0-20200217-a56f2eb.zip",
                    "sha512": "931369c90d8d53e966c8f3efc99be87fd0a9175dac1b4b54b7647e05809e0124fb34cf740a7d2575245633840c0547a741b581ebad637b1cdb35cb181048e3c6"
                },
                {
                    "version": "20200218",
                    "name": "ncs-toolchain-v1.2.0-20200218-0ef73a3.zip",
                    "sha512": "48ae4b973c706cf94c1ee2866d29a73d156d6b5575fd7b3e40edf64323e4577f6f6259879b7b79faaea176900fde02d5d45fa44a81c9ee60655d80926a3d1154"
                },
                {
                    "version": "20200225",
                    "name": "ncs-toolchain-v1.2.0-20200225-52e8a34.zip",
                    "sha512": "2ac84f7c664763ff7803061714ed97c06bda778fb6b55327642129bb086fe98da79a83d4cd40964a1eb6cde61f7a47bddf0aa6a8c53e13bf1b7bcafdb5cb40b6"
                },
                {
                    "version": "20200303",
                    "name": "ncs-toolchain-v1.2.0-20200303-457af40.zip",
                    "sha512": "18f059e238766f0a837b98dfeba87772937bf24d8e627d77dc1adf52d394a92da3788d0a62458fa5448b06d6191acf95287b7e6830812092bb55396051798e23"
                },
                {
                    "version": "20200401",
                    "name": "ncs-toolchain-v1.2.0-20200401-cf4ebd3.zip",
                    "sha512": "f7d404775dab0e752cf10e6ea0785544ad17578c3155828aa77409e5fc211df42758ca1944d5c5271c04dd5697bf3189564f3e16385ed09d21346dbd812b1834"
                }
            ]
        },
        {
            "version": "v1.4.2",
            "toolchains": [
                {
                    "version": "20210113",
                    "name": "ncs-toolchain-v1.4.2-20210113-7ecf886.zip",
                    "sha512": "4498414542dd2bc7fcb5b7d74083ad5cc7c8ac81b12ec0fe50fcbf3fb6c80ae7f7fbfe8c87eebeec32467d25cbbbee1aacb6cf37b773c2a0299c482c905c786a"
                }
            ]
        },
        {
            "version": "v1.5.0-rc1",
            "toolchains": [
                {
                    "version": "20210215",
                    "name": "ncs-toolchain-v1.5.0-rc1-20210215-2c30941.zip",
                    "sha512": "b214a17a01ba72ec9e2c39a072692e85374dd0de6d6d4db43452f28fba2896ac23e7883db008707305292b8e107cf8dc593ac8535a26001b6b7ab0f923269a43"
                }
            ]
        },
        {
            "version": "v1.5.0",
            "toolchains": [
                {
                    "version": "20210225",
                    "name": "ncs-toolchain-v1.5.0-20210225-607a0e0.zip",
                    "sha512": "5781e7500271805e1595ebf3eb04e75b5bd1e0f204dcb29a7c172d2b388f1a9a62b0fd40483b6d529c4e0a6a2f138e040fabb5ca2e360a40256ccb87c573bdce"
                }
            ]
        },
        {
            "version": "v1.5.1-rc1",
            "toolchains": [
                {
                    "version": "20210409",
                    "name": "ncs-toolchain-v1.5.1-rc1-20210409-96ab6aa.zip",
                    "sha512": "8b4b971a8c02e2dfa3ddc37a1e5af23e74bd9663f262af5a95a47c22303db84b9ec4d3b0e39937466559c6357bb4e2bbb0739582bab300635b3748eae8109203"
                }
            ]
        },
        {
            "version": "v1.5.1",
            "toolchains": [
                {
                    "version": "20210416",
                    "name": "ncs-toolchain-v1.5.1-20210416-96ab6aa.zip",
                    "sha512": "c211f8e5442b3f58a53f712e4fd6500153308e3c4063a0858ec682a27c1b5a42e4c15d63a52efe441b88e45490e93595620a442e4091abfc2d4ed1e46df4162a"
                }
            ]
        },
        {
            "version": "v1.6.0",
            "toolchains": [
                {
                    "version": "20210701",
                    "name": "ncs-toolchain-v1.6.0-20210701-de414c8.zip",
                    "sha512": "06562bc82e3b7e757131520410d89a791c996ed0c495b0d428b0e14c808e91bf8616979946e87804b774f08011716e27afa73e3d82d5051785b11857bce66c52"
                }
            ]
        }
    ]
    2021-07-20T07:12:36.244Z INFO Toolchain v1.4.99-dev1 has been added to the list
    2021-07-20T07:12:36.245Z INFO Toolchain v1.4.1 has been added to the list
    2021-07-20T07:12:36.246Z INFO Toolchain v1.4.0 has been added to the list
    2021-07-20T07:12:36.249Z INFO Toolchain v1.3.2 has been added to the list
    2021-07-20T07:12:36.251Z INFO Toolchain v1.3.1 has been added to the list
    2021-07-20T07:12:36.255Z INFO Toolchain v1.3.0 has been added to the list
    2021-07-20T07:12:36.257Z INFO Toolchain v1.3.0-rc1 has been added to the list
    2021-07-20T07:12:36.260Z INFO Toolchain v1.2.1 has been added to the list
    2021-07-20T07:12:36.263Z INFO Toolchain v1.2.0 has been added to the list
    2021-07-20T07:12:36.269Z INFO Toolchain v1.4.2 has been added to the list
    2021-07-20T07:12:36.274Z INFO Toolchain v1.5.0-rc1 has been added to the list
    2021-07-20T07:12:36.280Z INFO Toolchain v1.5.0 has been added to the list
    2021-07-20T07:12:36.283Z INFO Toolchain v1.5.1-rc1 has been added to the list
    2021-07-20T07:12:36.287Z INFO Toolchain v1.5.1 has been added to the list
    2021-07-20T07:12:36.291Z INFO Toolchain v1.6.0 has been added to the list
    2021-07-20T07:12:44.558Z INFO Start to install toolchain v1.6.0
    2021-07-20T07:12:44.558Z INFO Installing ncs-toolchain-v1.6.0-20210701-de414c8.zip at C:\nordic\v1.6.0\toolchain
    2021-07-20T07:12:44.558Z DEBUG Install with toolchain version 20210701
    2021-07-20T07:12:44.559Z DEBUG Install with sha512 06562bc82e3b7e757131520410d89a791c996ed0c495b0d428b0e14c808e91bf8616979946e87804b774f08011716e27afa73e3d82d5051785b11857bce66c52
    2021-07-20T07:12:44.564Z DEBUG Sending usage data...
    2021-07-20T07:12:44.564Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:12:44.564Z DEBUG Action: Install toolchain from index
    2021-07-20T07:12:44.564Z DEBUG Label: v1.6.0; ncs-toolchain-v1.6.0-20210701-de414c8.zip
    2021-07-20T07:12:44.564Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:12:44.565Z INFO Show first install dialog for toolchain v1.6.0
    2021-07-20T07:12:44.588Z INFO Downloading toolchain v1.6.0
    2021-07-20T07:12:44.593Z DEBUG Sending usage data...
    2021-07-20T07:12:44.593Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:12:44.593Z DEBUG Action: Download toolchain
    2021-07-20T07:12:44.593Z DEBUG Label: https://developer.nordicsemi.com/.pc-tools/toolchain/ncs-toolchain-v1.6.0-20210701-de414c8.zip
    2021-07-20T07:12:44.593Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:21:00.924Z DEBUG Sending usage data...
    2021-07-20T07:21:00.926Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:21:00.926Z DEBUG Action: Download toolchain successfully
    2021-07-20T07:21:00.926Z DEBUG Label: https://developer.nordicsemi.com/.pc-tools/toolchain/ncs-toolchain-v1.6.0-20210701-de414c8.zip
    2021-07-20T07:21:00.926Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:21:00.926Z DEBUG Sending usage data...
    2021-07-20T07:21:00.926Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:21:00.926Z DEBUG Action: Download toolchain time consumed
    2021-07-20T07:21:00.926Z DEBUG Label: 8 min; https://developer.nordicsemi.com/.pc-tools/toolchain/ncs-toolchain-v1.6.0-20210701-de414c8.zip
    2021-07-20T07:21:00.927Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:21:00.927Z INFO Finished downloading version v1.6.0 of the toolchain after approximately 8 minute(s)
    2021-07-20T07:21:00.928Z INFO Unpacking toolchain v1.6.0
    2021-07-20T07:21:00.928Z DEBUG Sending usage data...
    2021-07-20T07:21:00.928Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:21:00.928Z DEBUG Action: Unpack toolchain
    2021-07-20T07:21:00.928Z DEBUG Label: v1.6.0; win32; ia32
    2021-07-20T07:21:00.928Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:22:13.957Z DEBUG Sending usage data...
    2021-07-20T07:22:13.959Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:22:13.959Z DEBUG Action: Unpack toolchain successfully
    2021-07-20T07:22:13.959Z DEBUG Label: v1.6.0; win32; ia32
    2021-07-20T07:22:13.959Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:22:13.959Z DEBUG Sending usage data...
    2021-07-20T07:22:13.959Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:22:13.960Z DEBUG Action: Unpack toolchain time consumed
    2021-07-20T07:22:13.960Z DEBUG Label: 1 min; v1.6.0; win32; ia32
    2021-07-20T07:22:13.960Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:22:13.960Z INFO Finished unpacking version v1.6.0; win32; ia32 of the toolchain after approximately 1 minute(s)
    2021-07-20T07:22:13.960Z INFO Update config file
    2021-07-20T07:22:13.980Z INFO Cloning nRF Connect SDK v1.6.0
    2021-07-20T07:22:13.980Z DEBUG Sending usage data...
    2021-07-20T07:22:13.980Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:22:13.980Z DEBUG Action: Clone nRF Connect SDK
    2021-07-20T07:22:13.980Z DEBUG Label: v1.6.0; win32; ia32
    2021-07-20T07:22:13.980Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:22:14.003Z INFO Initializing environment for v1.6.0
    2021-07-20T07:22:16.289Z DEBUG Sending usage data...
    2021-07-20T07:22:16.289Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:22:16.289Z DEBUG Action: Clone nRF Connect SDK successfully
    2021-07-20T07:22:16.289Z DEBUG Label: v1.6.0; win32; ia32
    2021-07-20T07:22:16.289Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:22:16.290Z DEBUG Sending usage data...
    2021-07-20T07:22:16.290Z DEBUG Category: pc-nrfconnect-toolchain-manager
    2021-07-20T07:22:16.290Z DEBUG Action: Clone nRF Connect SDK time consumed
    2021-07-20T07:22:16.290Z DEBUG Label: 0 min; v1.6.0
    2021-07-20T07:22:16.290Z DEBUG Usage data has not been sent. isSendingUsageData is set to false.
    2021-07-20T07:22:16.290Z INFO Finished cloning version v1.6.0 of the nRF Connect SDK after approximately 0 minute(s)
    

    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.

Reply Children
  • With the help of Carl we have managed to fix this issue yesterday. Below is the summary of the solution for if someone else also encounters the problem:

    The git connection to the github repository/hosted files failed due to an issue on the SSL layer / certificate setup on the host.

    1) Open nRF Connect Toolchain Manager
    Right Click on the arrow of the SDK version to install -> Open Bash

    2) Execute the following command to change git’s SSL config:
    git config --global http.sslbackend schannel

    3) Run "ncsmgr init-ncs". When running this command, you should see all the repositories download and installation proceeding. (Note for command to run successfully there should be no west folder present inside the SDK root directory (e.g. C:\Nordic\SDK\v1.6.0), delete west folder if it is present).

    When closing and restarting nRF Connect, the Open IDE button should be present and you can build some applications :) 

  • Hi, Vin!

    Try the method Frikkie just added. If that doesn't work, please open a new ticket for the issue.

    Best regards,
    Carl Richard

  • Hi Carl,

    I've executed everything as mentioned above, but the "Open IDE" is still missing. Here are the loggings from the bash terminal (I have replaced my user name with $user$ here). Can you please advice?

    $ ncsmgr init-ncs
    Checking out NCS v1.6.1 ...=== Initializing in C:\Users\$user$\ncs\v1.6.1
    --- Cloning manifest repository from github.com/.../sdk-nrf, rev. v1.6.1
    Initialized empty Git repository in C:/Users/$user$/ncs/v1.6.1/.west/manifest-tmp/.git/
    remote: Enumerating objects: 80236, done.
    remote: Counting objects: 100% (31/31), done.
    remote: Compressing objects: 100% (22/22), done.
    remote: Total 80236 (delta 13), reused 17 (delta 8), pack-reused 80205
    Receiving objects: 100% (80236/80236), 44.61 MiB | 6.83 MiB/s, done.
    Resolving deltas: 100% (58674/58674), done.
    From github.com/.../sdk-nrf
    * tag v1.6.1 -> FETCH_HEAD
    * [new branch] backport-4558-to-v1.5-branch -> origin/backport-4558-to-v1.5-branch
    * [new branch] backport-5019-to-v1.6-branch -> origin/backport-5019-to-v1.6-branch
    * [new branch] doc/working-thingy53 -> origin/doc/working-thingy53
    * [new branch] master -> origin/master
    * [new branch] sdc_supports_nrf21540_gpio -> origin/sdc_supports_nrf21540_gpio
    * [new branch] v1.0-branch -> origin/v1.0-branch
    * [new branch] v1.1-branch -> origin/v1.1-branch
    * [new branch] v1.2-branch -> origin/v1.2-branch
    * [new branch] v1.3-branch -> origin/v1.3-branch
    * [new branch] v1.4-branch -> origin/v1.4-branch
    * [new branch] v1.5-branch -> origin/v1.5-branch
    * [new branch] v1.6-branch -> origin/v1.6-branch
    * [new tag] v0.1.0 -> v0.1.0
    * [new tag] v0.1.0-rc1 -> v0.1.0-rc1
    * [new tag] v0.3.0 -> v0.3.0
    * [new tag] v0.3.0-rc1 -> v0.3.0-rc1
    * [new tag] v0.3.0-rc2 -> v0.3.0-rc2
    * [new tag] v0.4.0 -> v0.4.0
    * [new tag] v0.4.0-rc1 -> v0.4.0-rc1
    * [new tag] v0.4.0-rc2 -> v0.4.0-rc2
    * [new tag] v1.0.0 -> v1.0.0
    * [new tag] v1.0.0-rc1 -> v1.0.0-rc1
    * [new tag] v1.0.0-rc2 -> v1.0.0-rc2
    * [new tag] v1.0.0-rc3 -> v1.0.0-rc3
    * [new tag] v1.0.0-rc4 -> v1.0.0-rc4
    * [new tag] v1.1.0 -> v1.1.0
    * [new tag] v1.1.0-rc1 -> v1.1.0-rc1
    * [new tag] v1.1.0-rc2 -> v1.1.0-rc2
    * [new tag] v1.1.0-rc3 -> v1.1.0-rc3
    * [new tag] v1.2.0 -> v1.2.0
    * [new tag] v1.2.0-rc1 -> v1.2.0-rc1
    * [new tag] v1.2.0-rc2 -> v1.2.0-rc2
    * [new tag] v1.2.1 -> v1.2.1
    * [new tag] v1.2.99-dev1 -> v1.2.99-dev1
    * [new tag] v1.3.0 -> v1.3.0
    * [new tag] v1.3.0-rc1 -> v1.3.0-rc1
    * [new tag] v1.3.0-rc2 -> v1.3.0-rc2
    * [new tag] v1.3.0-rc3 -> v1.3.0-rc3
    * [new tag] v1.3.1 -> v1.3.1
    * [new tag] v1.3.2 -> v1.3.2
    * [new tag] v1.3.2-rc1 -> v1.3.2-rc1
    * [new tag] v1.4.0 -> v1.4.0
    * [new tag] v1.4.0-rc1 -> v1.4.0-rc1
    * [new tag] v1.4.0-rc2 -> v1.4.0-rc2
    * [new tag] v1.4.1 -> v1.4.1
    * [new tag] v1.4.1-rc1 -> v1.4.1-rc1
    * [new tag] v1.4.2 -> v1.4.2
    * [new tag] v1.4.99-dev1 -> v1.4.99-dev1
    * [new tag] v1.5.0 -> v1.5.0
    * [new tag] v1.5.0-rc1 -> v1.5.0-rc1
    * [new tag] v1.5.1 -> v1.5.1
    * [new tag] v1.5.1-rc1 -> v1.5.1-rc1
    * [new tag] v1.6.0 -> v1.6.0
    * [new tag] v1.6.0-rc1 -> v1.6.0-rc1
    * [new tag] v1.6.0-rc2 -> v1.6.0-rc2
    * [new tag] v1.6.0-rc3 -> v1.6.0-rc3
    * [new tag] v1.6.1 -> v1.6.1
    * [new tag] v1.7.0-rc1 -> v1.7.0-rc1
    af7a24bd89fc0cd134232975aceaa1c176b23b6f refs/tags/v1.6.1
    Updating files: 100% (4280/4280), done.
    Note: switching to 'v1.6.1'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by switching back to a branch.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -c with the switch command. Example:

    git switch -c <new-branch-name>

    Or undo this operation with:

    git switch -

    Turn off this advice by setting config variable advice.detachedHead to false

    HEAD is now at 651d785a0 version: Update VERSION to 1.6.1
    FATAL ERROR: Destination path 'C:\Users\$user$\ncs\v1.6.1\nrf\manifest-tmp' already exists
    HEAD is now at 651d785a0 version: Update VERSION to 1.6.1
    /C/Users/$user$/ncs/v1.6.1
    done
    Updating repos ...
    Traceback (most recent call last):
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 172, in _mpath
    path = cp.get('manifest', 'path')
    File "configparser.py", line 781, in get
    File "configparser.py", line 1149, in _unify_values
    configparser.NoSectionError: No section: 'manifest'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
    File "runpy.py", line 193, in _run_module_as_main
    File "runpy.py", line 86, in _run_code
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Scripts\west.exe\__main__.py", line 7, in <module>
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 779, in main
    app.run(argv or sys.argv[1:])
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 106, in run
    self.run_command(argv)
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 336, in run_command
    cmd.run(args, unknown, self.topdir, manifest=self.manifest)
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\commands.py", line 132, in run
    self.do_run(args, unknown)
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 806, in do_run
    self.update_all()
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 860, in update_all
    self.manifest = Manifest.from_file(
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 1103, in from_file
    (mpath, mname) = _mpath(topdir=topdir)
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 177, in _mpath
    raise MalformedConfig('no "manifest.path" config option is set') from e
    west.manifest.MalformedConfig: no "manifest.path" config option is set
    done
    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
    west: error: argument <command>: invalid choice: 'zephyr-export' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')

    Best regards,

    Tomislav

Related