I downloaded uVision V5.24.2.0 as developing tool for STM32F303RE. With a old version (in another pc) have no problem. The last version but as opens says that; " The Following Device Family Pack(s) are required by the project: Keil:STM32F3xx_DFP:2.1.0 " and gives two options, once I select "install" option, this message pops up "One or more Devices Family Pack Devices are not present, would you like to choose another device?"
The point is in Pack Installer, Keil:STM32F3xx_DFP version 2.1.0 (2018-1-16) is shown as installed.
Any help would be highly appreciated.
Even though I resolved the problem by removing Software Pack Keil:STM32F3xx_DFP:2.1.0 and installed Keil:STM32F3xx_DFP:1.4.0 from the previous branch, but still I think it is not the best solution.
However now everything works normally.
Hello Hamidreza,
Sorry about the confusion on this. On
http://www.keil.com/dd2/pack/
If you search for "STMicroelectronics STM32F3 Series Device Support and Examples", then expand that section, you will see a history of all the packs.
The 2.0.0 pack was a big change - STmicroelectronics moved on from their legacy Standard Peripheral Libraries to their HAL libraries from CubeMX.
When they did this, they also changed the names of the devices in the DFP to be a closer match to their parts catalog.
So Projects made with a pre 2.0.0 pack won't directly work with later packs.
Removing the newer pack allowed Keil to recognize the old style device part number.
Keil wrote an application note about this change in packs:
http://www.keil.com/appnotes/docs/apnt_266.asp
Some other useful links:
http://www.keil.com/forum/58892/ http://www.keil.com/forum/60438/stm32f1-v2-0-0-sw-pack/
Thank you very much Kevin! So from your explanation I deduce that for the incompatible devices (chips) the last update of software must be removed and a release before pack 2.0.0 sould be used instead.
Just take advantage of your availability, one more question in this thread: is there any instruction on how to use Keil uVision in Linux? I saw some discussion but were out-dated so I wondered if you could help me on that?!
Thanks again!
Have you seen this article? It might be what you need:
http://www.keil.com/support/docs/1456.htm
Hi,
I have the same problem but for a ST Cortex-M0. I tried to follow the instructions you gave and it does not work. Is it because the application note 266 is an old note (it dates from 2014) or because I'm missing something?
Before, everything was fine until I was forced to renew Keil's license (which I did). I took the opportunity at the same time to update STM32CubeMX. Nothing has worked since.
I am using version 4.25.0 of STM32CubeMX and version 5.24.2.0 of uVision. When I open my project in uVision (project compiled and that worked before the updates), a window indicating "The following Device Family Pack(s) are required by the project: Keil:STM32F0xx_DFP:2.0.0". Who is behind this message? Is it CubeMX that included this info in the files it generated (and uVision who tries to find this pack but who does not find it) or is it something else?
So anyway, when the window pops up then I press “Cancel” instead on “Install” to make sure I do not change something in the setup(?). Then I open the “Select Software Packs for Target ‘myProject’ and what I do is what App. Note 266 says; I set ARM:CMSIS to “fixed” to 3.20.4 and Keil:MDK-Middleware to “fixed” to 5.1.6. Right after setting these, I get another window saying this: “MDK: Selected Software Component Requires Code Generation by ‘STM32CubeMX’”. If I select “Start STM32CubeMX”, a DOS type window open showing “CaubeMXLauncher terminates with error code 3”. If I redo the whole operation and I select “Cancel” instead of “Start STM32CubeMX”, uVision opens. Trying to compile my code will indicate, in the Build Output window this: “Error #545: Required gpdsc file 'C:\_B2Tech\Clients\NBI - Nova Biomatique\Projets\Projets2018\PNG_DevBoard_RCT6\MDK-ARM\RTE\Device\STM32F030RC\FrameworkCubeMX.gpdsc' is missing” and then “Error #543: Device STM32F030RC(STMicroelectronics) not found, pack 'Keil.STM32F0xx_DFP' is not installed”.
I also tried to open STM32CubeMx by double-clicking on my STM32CubeMX project file. I have re-generated the files without error messages and then re-open the project in uVision with the same problem about "The following Device Family Pack(s) are required by the project: Keil:STM32F0xx_DFP:2.0.0".
For your information in STM32CubeMX, on the Embedded Software Packages Manager,STM32CubeMx MCU Package for STM32F0 Series version 1.8.0 and 1.5.0 are installed.
Thanks in advance for all help you can provide.