cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE: Impossible to generate code

xjmxjc
Associate II

Edit By ST Moderator: Title of this post has been translated from Chinese to comply with the ST Community guidelines.

07ef322d57420ab02dd470908284b83.png

 

76a43d00e4487bb3dd974129b9c1c56.png

 

265bdbca541106f595119c20d13e89e.jpg

 

11 REPLIES 11
Peter BENSCH
ST Employee

Welcome @xjmxjc, to the community!

The problem is most likely due to the non-ASCII characters you are using in the path.

To test and confirm this, you do not need to reinstall the firmware, but can:

  1. move the folder STM32Cube (containing Repository) to the root directory of C:
  2. and adjust the path in CubeIDE

Hope that helps?

Good luck!
/Peter

In order 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.

Dear Peter:

Thank you for your assistance. I followed your advice, but unfortunately, it didn't help me. I would appreciate it if you could provide alternative solutions.

Sincere thanks.

 

xjmxjc

Peter BENSCH
ST Employee

In which path did you install the IDE?

In order 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 first downloaded the IDE from the official website(st.com) on January 16th, and was able to use it normally for study and writing purposes within the following week.

E:ST/STM32CubeIDE_1.17.0

Peter BENSCH
ST Employee

So you were able to work with it after the installation?

With which MCU was that and with which firmware library?

You can also download the firmware library a second time, unpack it manually into a different directory (slightly different directory name) and make a binary directory comparison with a suitable tool. Alternatively, change the path to that new directory as a test and try again with the CubeIDE.

In order 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 apologize for taking such a long time to respond to you. Since the issue arose, I have tried numerous methods, such as clearing the CubeMX cache and restarting, checking that the MCU model and firmware version of the project match, manually specifying the firmware package path, verifying filesystem permissions, manually downloading and importing the firmware package, and reinstalling the software. I am using an STM32F103C8T6 with the firmware library STM32Cube_FW_F1_V1.8.6. Thank you for your continuous assistance and suggestions; I will keep waiting for your reply.

Peter BENSCH
ST Employee

From all the information you've shared so far, everything looks normal. Under which operating system are you working with the STM32CubeIDE?

BTW: when I read STM32F103C8T6, I immediately think of the Blue Pill, which is one of the boards that uses the most pirated STM32 in years. I'm pretty sure you won't enjoy it if your STM32F103C8T6 is not an genuine part, but one of these fakes.

Regards
/Peter

In order 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.

窗户

Windows