cancel
Showing results for 
Search instead for 
Did you mean: 

unable to find STM32H7 in Vs code project setup

Jagan1
Visitor

Hi I am trying to configure a project in Vs code.

1) Created/Generated a project using STM32CubeMX.

2) in vs code extensions added

3) by using open folder latest created project loaded

4) on pop-up Debug option selected

5) Then when it comes to device selection unable to find STM32H7 Series, eval board numbers in the list.

Note : STMCUFinder path, cubemx paths configured . please check below images

Jagan1_0-1761308203183.png

Jagan1_1-1761308338903.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Julien D
ST Employee

@Jagan1, do you confirm working behind a proxy?

If so, you have to set NODE_EXTRA_CA_CERTS environment variable (system wide) to reference your corporate CA bundle file.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

17 REPLIES 17
vincent_grenet
ST Employee

@Jagan1
Please let's skip this quick pick and focus on the red text field. Has any device completion appeared when you start typing STM32...?
If not, could you please try running the following command in the VSCode integrated terminal:

cube pack sync

Does the process complete successfully? If not, please share the trace.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Jagan1
Visitor

Hi @vincent_grenet , Other boards/devices showing only STM32H series missing.

Jagan1_0-1761310284518.png

unable to sync also .

Jagan1_1-1761310378164.png

 

Julien D
ST Employee

@Jagan1, do you confirm working behind a proxy?

If so, you have to set NODE_EXTRA_CA_CERTS environment variable (system wide) to reference your corporate CA bundle file.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

i am not sure if i am using proxy.

is there any other solution.

 

 

Julien D
ST Employee

Better to confirm this before going one way or the other.

Could you paste the following line into your PowerShell terminal integrated in VSCode ?

It should print the certificate information you see from developer.st.com domain.

$cert = [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
$tcp = New-Object Net.Sockets.TcpClient('developer.st.com', 443)
$ssl = New-Object Net.Security.SslStream($tcp.GetStream(), $false, ({$true}))
$ssl.AuthenticateAsClient('developer.st.com')
$ssl.RemoteCertificate | Format-List *

Then past the output here.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Jagan1
Visitor

Hi,

Highlighted ones masked.

if need i can share personally 

Handle : Number
Issuer : CN="zscaler.xxxxxx.com (t) ", OU=Security Operations, O=xxxxxx Technologies, S=Location, L=Location, C=US
Subject : OU=Zscaler Inc., O=Zscaler Inc., CN=www.st.com

Julien D
ST Employee

No this is already good enough to highlight the fact that your behind a proxy doing SSL inspection.

Then NODE_EXTRA_CA_CERTS is required to point to your Zscaler root CA certificates.

If you can navigate to https://developer.st.com/ without troubles it likely means that such certificates are already trusted into your Windows certificate manager.

JulienD_1-1761314026173.png capture picked from the internet

You could try export them (Zscaler*) in base-64 encoded X.509 format, and gather all exported files into a .crt file respecting this kind of format:

-----BEGIN CERTIFICATE-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----END CERTIFICATE-----

Then reference this file with NODE_EXTRA_CA_CERTS

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Jagan1_0-1761314706590.png

 

Julien D
ST Employee

Ok, it is denied but at least you have the lock meaning connection is secured, so you can proceed with the rest of my previous message.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.