你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

keil v5.15 编译错误,总是提示有两个错误,内容如下

[复制链接]
馕边子 提问时间:2015-12-23 00:59 /
那个高手给看看,keil无法编译,谢谢了。
错误提示如下:

*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'STM32L476RG_NUCLEO'
compiling system_stm32l4xx.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_nucleo.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling main.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_it.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_gpio.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_cortex.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_pwr_ex.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_rcc_ex.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_pwr.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_rcc.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
- C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
assembling startup_stm32l476xx.s...
startup_stm32l476xx.s: Error: A9511E: Product definition file was not found. The following paths were searched:
startup_stm32l476xx.s:  - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
startup_stm32l476xx.s:  - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
startup_stm32l476xx.s:  - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
startup_stm32l476xx.s:  - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
startup_stm32l476xx.s:
startup_stm32l476xx.s: Error: A9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
startup_stm32l476xx.s: Product: unknown
startup_stm32l476xx.s: Component: ARM Compiler 5.05 update 2 (build 169)
startup_stm32l476xx.s: Tool: ArmAsm [4d0f2f]
"STM32L476RG_NUCLEO\STM32L476RG_NUCLEO.axf" - 2 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01
收藏 评论9 发布时间:2015-12-23 00:59

举报

9个回答
我的颈 回答时间:2015-12-23 14:08:34
馕边子 发表于 2015-12-23 13:13
非常谢谢,是破解问题。用破解软件选项MD standard cortex-M only 然后再生成破解licenlse。欢迎其它方式 ...

共同学习了
馕边子 回答时间:2015-12-23 01:04:01
自己顶顶,不是版本问题把,keil v5.15应该支持stm32L4的呀
我的颈 回答时间:2015-12-23 08:50:54
破解问题?
重装试试
馕边子 回答时间:2015-12-23 13:13:48
本帖最后由 馕边子 于 2015-12-23 13:21 编辑
我的颈 发表于 2015-12-23 08:50
破解问题?
重装试试


非常谢谢,是破解问题。用破解软件选项MD standard cortex-M only 然后再生成破解licenlse。欢迎其它方式解决此问题。
wyxy163@126.com 回答时间:2015-12-23 20:23:34
提示: 作者被禁止或删除 内容自动屏蔽
馕边子 回答时间:2015-12-23 22:37:27
数码小叶 发表于 2015-12-23 20:23
看最后一句产品破解不成功

是那句,Target not created.
还是:Build Time Elapsed:  00:00:01
这两句表达的意思确实不知所云
馕边子 回答时间:2015-12-23 22:41:11
馕边子 发表于 2015-12-23 22:37
是那句,Target not created.
还是:Build Time Elapsed:  00:00:01
这两句表达的意思确实不知所云 ...

高手:还有就是您那个功耗帖子,咋样建cube工程,可以指个路吗,那个帖子或文档有说明?先谢谢了。。。https://www.stmcu.org.cn/module/ ... B%E5%8A%9F%E8%80%97
wyxy163@126.com 回答时间:2015-12-24 09:14:08
提示: 作者被禁止或删除 内容自动屏蔽
wolfgang 回答时间:2015-12-24 09:24:58
检查一下#include关系,不要错误引用了.

所属标签

相似问题

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32Cube扩展软件包
意法半导体边缘AI套件
ST - 理想汽车豪华SUV案例
ST意法半导体智能家居案例
STM32 ARM Cortex 32位微控制器
关注我们
st-img 微信公众号
st-img 手机版