This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Nucleo STM32F401RE missing Keil.STM32NUCLEO_BSP.1.0.1

I am having trouble compiling the example STM32F401 Blinky program for my Nucleo STM32F401RE board using uVision V5.12.0.0. I am getting an error from Buttons:1.0.0 and LED:1.0.0 that the pack 'Keil.STM32NUCLEO_BSP.1.0.1' is missing but I can't find that package anywhere.

The steps I am following: 1. Using the pack installer copy the Blinky (NUCLEO-F401RE) example project to the workspace 2. Open the project. I am given a notification that a new version of system_stm32f4xx.c is available. It says I have 1.3.0 and the new version is 2.1.0. I select update. 3. I click "Rebuild all target files" and it compiles without error 4. Click "Download to Flash". Debugger error quickly comes up saying "Cannot Load Flash Device Description !" Click OK. "Error: Flash Download failed - "Cortex-M4" 5. I right click on the project and select "Options for Target 'STM32F401 Flash'" 6. Click the "Device" tab. 7. A message box pops up: "The device 'STM32F401RE' is now available in device variants, please select the device variant that you are using". Click OK. 8. Choose STM32F401RETx and click OK 9. Manage Run-Time Environment window pops up and "Board Support" is red. Buttons (API) and LED (API) are red. They both say "Component is missing, pack 'Keil.STM32NUCLEO_BSP.1.0.1' is not installed" and links to the http://www.keil.com/dd2/pack/ website. I have BSP.1.1.0 and BSP.1.0.0 both installed but I don't see any BSP.1.0.1 available to download.
10. I am no longer able to compile the project because it says Error #541: 'Keil.NUCLEO-F401RE::Board Support:Buttons:1.0.0' component is missing, pack 'Keil.STM32NUCLEO_BSP.1.0.1' is not installed

I also have a Nucleo STM32L152 board and I am able to compile and download the equivalent Blinky example for it without any errors.

Parents
  • The root cause of the problems you are seeing is the change of device names introduced with the Keil.STM32F4xx_DFP PACK version 2.2.0. Now the STM32F401RE is named STM32F401RETx but the component condition for the Board Support components LED and Buttons is set for the Device Name STM32F401RE, hence this component is not considered available for your updated device selection.
    Keil.STM32NUCLEO_BSP.1.2.0.pack will fix this and is currently in the process of being published.

    The message: "'Keil.STM32NUCLEO_BSP.1.0.1' is not installed" is somewhat misleading. From the project file, uVision reads the version of the PACK that was installed when this project was stored. Neither the PACK name nor the version of the PACK actually matters, when it comes to locating a component and it is only provided as a reference where a matching component was previously located.

Reply
  • The root cause of the problems you are seeing is the change of device names introduced with the Keil.STM32F4xx_DFP PACK version 2.2.0. Now the STM32F401RE is named STM32F401RETx but the component condition for the Board Support components LED and Buttons is set for the Device Name STM32F401RE, hence this component is not considered available for your updated device selection.
    Keil.STM32NUCLEO_BSP.1.2.0.pack will fix this and is currently in the process of being published.

    The message: "'Keil.STM32NUCLEO_BSP.1.0.1' is not installed" is somewhat misleading. From the project file, uVision reads the version of the PACK that was installed when this project was stored. Neither the PACK name nor the version of the PACK actually matters, when it comes to locating a component and it is only provided as a reference where a matching component was previously located.

Children