Hello everybody, I met an issue with µision5 I can't compile a project hereinafter the probleme:
Error: *** Project 'Project', Target 'Lab-Step2_CyptoTest', Device 'STMicroelectronics::STM32L476VGTx' is not supported by Toolchain ! ***.
I don't know why this target is not available while I download all pack from pack installer. I checked all pack are downloaded and placed in the right place.
Only targets L0/F0 from ST family are available...
It's due to my Single-User-licence (MDK-ARM cortex M0/M0+ 256K for ST)?
Anyone can help me about my problem?
Thanks.
And STM32L476VGTx is not one of those families - is it?
Install in a different directory, or edit TOOLS.INI
Hello,
not at all STM32L476VGTx belong to L4 family (Cortex-M4)
Of course it does: and that is neither the L0 family, nor the F0 family - is it?!
As the name of the product clearly states:
MDK-ARM cortex M0/M0+ 256K for ST
That toolchain does not support Cortex-M4.
The error message is entirely clear:
Only targets L0/F0 from ST family are available
See: www2.keil.com/.../mdk
RESOLUTION You can do the following things:
If you have purchased an MDK license, you just need to register it. The new LIC will overwrite the previous license. If you want to go back the MDK-Lite edition with 32KB code size limit, modify the file C:\Keil_v5\TOOLS.ini with a text editor (e.g. µVision): [UV2] : : [ARM] : LIC0=TRNxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx [Your Uninstall-LIC] :
Delete the line starting with LIC0=TRN... or comment it with a ';' character at the beginning of the line. After a restart of µVision, the Uninstalled license will disappear in the File - License Management dialog and a MDK-Lite will be shown instead.
It works with this operation, I only comment LIC0=......... with ";" and restarted µvision then I could compile my code with STM32L4 family :)
Thanks, it works.