cancel
Showing results for 
Search instead for 
Did you mean: 

Starting an STM32 Project in STM32CubeIDE

AmaniAlzahrani
Associate

Hello everyone, 

I am new to STM32CubeIDE, I'm following this tutorial

In the tutorial, he pressed okay to a message saying "generate new code?"

When he does, his project explorer showed this

AmaniAlzahrani_0-1728892597483.png

I followed same steps, and when I pressed okay to "generate new code?" message, nothing appeared, only the ioc file. (I'm working on G0_LED project)

AmaniAlzahrani_1-1728892667329.png

 

can you assist on what might went wrong and how I can fix this issue?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @AmaniAlzahrani ,

If your machine is connected to the internet via a proxy, you need to set the correct connection parameters

[Host ; Port] to establish the link to the server.

In this case, you should set the Active Provider to manual, otherwise you can work with the Direct option.

Thanks.

Mahmoud

 

View solution in original post

5 REPLIES 5
Mahmoud Ben Romdhane
ST Employee

Hello @AmaniAlzahrani  ,

First let me thank you for posting and welcome to the ST Community.

Before generation the code, you should set the Internet Connection, log to your ST Account and install the firmware package.

I suggest that you take a look at this Post.

Thanks.

Mahmoud.

Hi, Mahmoud Ben Romdhane,

Thank you for responding

I am following these steps in the provided post

There is a step that says: "Update the proxy entries for HTTP and HTTPS with specific HOST, Port, User, and Password using the [Edit...] button"

I do not understand what the HOST, Port, User, and Password should be.

AmaniAlzahrani_1-1728973936563.png

Also, at a later step, when I opened the provided website to download the software package, I didn't know which to download.

This is what is shown to me:

AmaniAlzahrani_0-1728973758475.png

I appreciate all your help and support

 

Hello @AmaniAlzahrani ,

I advise you to set the Active Provider: Direct under:

Window->Preferences->Network Connection

MahmoudBenRomdhane_0-1728982986655.png

Then check the Connection under:                                                           

Window->Preferences->Firmware Updater->Check Connection

MahmoudBenRomdhane_1-1728983274782.png

Then log to your ST Account

MahmoudBenRomdhane_2-1728983446224.png

After the IOC configuration, click on Generate Code [CTRL¨+S] and the firmware will be successfully downloaded.

Thanks.

Mahmoud

Thank you Mahmoud,

As for the second and third steps (checking connection and logging in), I did that

but, the first step, I don't know what the host and port should be

AmaniAlzahrani_0-1728989370860.pngAmaniAlzahrani_1-1728989387415.png

 

Thank you for the continuous support

 

 

Hello @AmaniAlzahrani ,

If your machine is connected to the internet via a proxy, you need to set the correct connection parameters

[Host ; Port] to establish the link to the server.

In this case, you should set the Active Provider to manual, otherwise you can work with the Direct option.

Thanks.

Mahmoud