Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

stm32 - stm32cubeide reports firmware package is missing

I have a STM32 Nucleo F4 and I am trying to create a new C project in STMCubeIDE.

I have STMCubeIDE version 1.5.0 Build: 8698_20201117_1050 (UTC)

In the Embedded Software Packages Manager I have installed "STM32Cube MCU Package for STM32F4 Series" version 1.25.2

However, when I go to create a new STM32 project (using the board selector to select my board - NUCLEO-F410RB) I get the following error message:

Code generation could not be done most probably because the necessary firmware package is missing. Not able to complete STM32Cube project creation. See Firmware Updater for settings related to firmware package installation Tips: Please use the Device Configuration Tool, and then use 'Project > Generate Code' to complete the project generation.

If I call 'Project > Generate Code' it seems to complete, but most of the project files are missing, which means 'generate code' has failed silently at some stage.

Does anyone have any ideas?

question from:https://stackoverflow.com/questions/65905606/stm32cubeide-reports-firmware-package-is-missing

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

After more searching I finally found this: https://community.st.com/s/question/0D50X0000BeZi12/code-generation-could-not-be-done-firmware-package-v1241-can-not-be-unzipped

The solution from there worked for me:

  1. From this page https://www.st.com/en/embedded-software/stm32cubef4.html download two zips (STM32CubeF4 and Patch-CubeF4)
  2. Unpack first en.STM32Cube_FW_F4_V1.24.0.zip to Repository folder
  3. Then unpack en.patch_cubefw_f4.zip to the same folder with file replacement
  4. Done!

I downloaded V1.25.0 and the patch. The repository folder was under C:/Users//STM32CUBE/Repository


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...