STM32CubeIDE: Impossible to generate code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-01-29 8:55 PM - last edited on 2025-01-30 12:56 AM by Andrew Neil
Edit By ST Moderator: Title of this post has been translated from Chinese to comply with the ST Community guidelines.
- Labels:
-
Bug-report
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-01-29 11:30 PM - edited 2025-01-29 11:31 PM
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:
- move the folder STM32Cube (containing Repository) to the root directory of C:
- and adjust the path in CubeIDE
Hope that helps?
Good luck!
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-01-30 12:01 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-01-30 1:57 AM
In which path did you install the IDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-01-30 2:06 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-01-30 2:52 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-01-31 8:41 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-04 6:01 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-04 7:39 AM
窗户
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-04 7:41 AM
Windows
