Can't install Toolchain, SDK in VS code

Hi Everyone,

I'm trying to switch from Segger studio where we develop in Bare metal to Visual Studio with Zephyr.
I try to follow this tutorial, I succeed to install latest version of VS nRF connect extension.

Now arrived in part 3 I can't go further, when I click on install toolchain I got:

Fullscreen
1
2
3
4
5
6
7
nrfutil-toolchain-manager: Error: Failed to retrieve toolchain-index
Caused by:
0: Failed to download index
1: Get request failed
2: https://developer.nordicsemi.com/.pc-tools/toolchain-v3/index-windows-x86_64.json: Connection Failed: tls connection init failed: invalid peer certificate: UnknownIssuer
3: invalid peer certificate: UnknownIssuer
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

If I click on the URL with the json file, I'm able to download the JSON file BTW.

In existing toolchaine I have :

Already tried solution : Delete proxy settings, Use Other wifi, use Command line : same results

If I try to continue using V1.9.1 and follow step 4, I try to install 2.5.0 SDK and get :

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Command failed: west init -m https://github.com/nrfconnect/sdk-nrf --mr v2.5.0
Cloning into 'c:\users\MYNAME\ncs\v2.5.0\.west\manifest-tmp'...
Note: switching to '1fae141fc6713dd331b797fc96c90dc84552242d'.
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
Updating files: 3% (244/8085)
Updating files: 4% (324/8085)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Then if I try to reinstall it it say : 

Do I make something wrong ?

Thanks for your help.

Florent

Parents
  • Ok, I rollback to toolchain manager V1.2.6 and I was able to see nRF Connect SDK v2.5.1.
    I install it using nrf connect and open VS and successfully compiled.

    It seems something is wrong with toolchain manager V1.3.0...

    If no need additional information from me you can close this ticket.


    Thanks

    Florent

  • thanks Florent243, I came across the same issue and using v1.2.6 toolchain manager solved the problem.

Reply Children
No Data