首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法使用最新的keil MDK版本进行构建(V5.37)

无法使用最新的keil MDK版本进行构建(V5.37)
EN

Stack Overflow用户
提问于 2022-06-02 13:07:06
回答 2查看 3.7K关注 0票数 0

所有:我更新了我的keil版本到最新版本V5.37,然后我发现这个项目不能再构建了。由于V5.37不支持编译器5,并将默认编译器设置为编译器6,所以我用独立的update7安装了编译器5(Arm编译器版本5,V5.06 patch.and ),然后将编译器5添加到keil,将编译器5设置为默认编译器,但是keil无法构建项目,生成输出如下:

代码语言:javascript
运行
复制
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin'
Build target 'LED'
assembling startup_stm32f40_41xxx.s...
startup_stm32f40_41xxx.s: Error: A9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
startup_stm32f40_41xxx.s: Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
startup_stm32f40_41xxx.s:  - ARMLMD_LICENSE_FILE: unset
startup_stm32f40_41xxx.s:  - LM_LICENSE_FILE: unset
startup_stm32f40_41xxx.s:  - ARM_TOOL_VARIANT: unset
startup_stm32f40_41xxx.s:  - ARM_PRODUCT_PATH: unset
startup_stm32f40_41xxx.s:  - Product location: product not found
startup_stm32f40_41xxx.s:  - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
startup_stm32f40_41xxx.s:  - Selected tool variant: mdk_lite
startup_stm32f40_41xxx.s: Product: unknown
startup_stm32f40_41xxx.s: Component: ARM Compiler 5.06 update 7 (build 960)
startup_stm32f40_41xxx.s: Tool: ArmAsm [4d35fa]
compiling delay.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling main.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling stm32f4xx_syscfg.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling usart.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling sys.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling stm32f4xx_rcc.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling stm32f4xx_usart.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling led.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling misc.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling system_stm32f4xx.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 If you need further help, provide this complete error report to your supplier
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling stm32f4xx_gpio.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 If you need further help, provide this complete error report to your supplier
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
compiling stm32f4xx_it.c...
Error: C9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly.
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
 If you need further help, provide this complete error report to your supplier
 - ARMLMD_LICENSE_FILE: unset
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: unset
 - ARM_PRODUCT_PATH: unset
 - Product location: product not found
 - Toolchain location: C:\_AnZhuang\keil\Keil\ARMCCv506u7\Bin
 - Selected tool variant: mdk_lite
Product: unknown
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
"..\OBJ\LED.axf" - 13 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01

从构建输出来看,它意味着keil许可证是incorrent.But,我尝试过由keygen生成的每种类型的许可证代码,所有这些许可都失败了。

有人和我有同样的问题吗?有什么解决办法或建议吗?非常感谢。

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72476817

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档