I'm trying to use Keil for the first time and I can't seem to use any devices other than M0 devices. When I install their packs, they do not appear under the devices. What am I doing wrong?
In the attached screenshots I show the packs that I have installed, which showsSTM32F0, F1, F3, G0, H7, L0, and L1 selected. The device tab of the target options shows only F0, G0, and L0 available.
Looks to me like you are using the F0 L0 G0 MDK version and I'm guessing these all use the M0 or M0+ core (sorry, not familiar yet). You would need to install the "regular" MDK version to support chips that are not F0 L0 G0.
Edit: BTW, you can have multiple installs. Just put them in different root folders during the install process.
Thanks, I uninstalled everything and reinstalled it. The problem now is that I need to be running on arm compiler V5.06, but after installing that compiler and adding it, I get a 'Failed to check out a license.' error and can't seem to fix this problem.
There's a registration procedure required after install, whether it be a paid or free/limited one. Did you do that step? Then you'll probably need to install the older compiler as well. It's not too painful.
Is there an article that describes that procedure? Previously I had added a license that I think was only for M0 and M0+ and couldn't find out how to register a license for the other ones
Related Links
- Free License key, MDK for STM32F0/G0/L0
MDK for STM32F0/G0/L0 and BlueNRG-1/2/LP/LPS - Installation & Activation (keil.com)
- MDK registration:
http://www.keil.com/support/man/docs/license/license_sul_install.htm
- Returning to MDK Eval:
LICENSE: Returning to an Evaluation Version of MDK (MDK-Lite) (arm.com)
- Arm Compiler 5 installation with MDK 5.37 and newer:
Arm Compiler 5 not available in Keil MDK
Thank you for your reply, I needed a license that would work with M4 devices, the first link you provided is only for M0. I was able to get a license for 'MDK-ARM Community' which should work with M4, but I still get an 'ARMLMD_LICENSE_FILE is not set. You must set this to the path to your license.' error. I am trying to use ARM compiler V5.06, I have installed it and added it to the 'Manage Project Items' window as shown in the attached screenshot.
What does it say under File -> License Management ?
1. "I was able to get a license for 'MDK-ARM Community" -> How did you get that license?
2. Did you install Arm Compiler 5 as explained at:
Arm Compiler 5 not available in Keil MDK ?
That's what I needed, thank you!