keil C 调试程序不能生成.hex文件,怎么办

如题所述

【1】到Windows->控制面板里面去查看串口和串口号码。如果有com1,那么在Keil
IDE里面选择Option->Debug->Settings->RS232
Serial
Adapter->下拉选择com1就可!
【2】Keil
IDE->Option->Output选项卡,把Create
Hex
File
勾上,即可!
温馨提示:内容为网友见解,仅供参考
第1个回答  2019-12-14
没有产生hex文件说明还是有错误
提示写的很清楚
fatal
error
l256:
致命错误
l256:
模块包含重复的断名
a
module
contains
duplicate
segment
names.
this
occurs
when
the
c
source
contains
two
identical
function
names,
that
differ
only
in
lower/uppercase
letters.
这是keil里面帮助文件对这个错误的描述
可能只有两个相同的函数名被定义了,它们两个的区别可能就是大小写不同。
相似回答
大家正在搜