OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 3554|回复: 1

编译出现 bad address 错误提示

[复制链接]

15

主题

46

帖子

0

精华

初级会员

Rank: 2

积分
151
金钱
151
注册时间
2014-9-29
在线时间
10 小时
发表于 2015-8-15 16:47:58 | 显示全部楼层 |阅读模式
5金钱
#error clnk Debug\edp3.lkf:1 bad address (0x10b) for zero page symbol _LVDS_RX_PORT
#error clnk Debug\edp3.lkf:1 bad address (0x10c) for zero page symbol _AUX_State
#error clnk Debug\edp3.lkf:1 bad address (0x10a) for zero page symbol _is_HPD
 The command: "clnk -m Debug\edp3.map -l"C:\Program Files\COSMIC\CXSTM8\Lib"  -o Debug\edp3.sm8 Debug\edp3.lkf " has failed, the returned value is: 1
exit code=1.

# LINK COMMAND FILE AUTOMATICALLY GENERATED BY STVD:
#  * TOTALLY IF AUTO MODE IS ENABLED
#  * ONLY INSIDE MARKERS IN SEMI-AUTO MODE
#
# CHOOSE THE CUSTOM MODE IN STVD IN ORDER TO HAVE FULL CONTROL OVER THIS FILE.
#
# Sections delimited by <BEGIN ...> and <END ...> markers are reserved for
# STVD: DO NOT MODIFY INSIDE.
#
# Manual modifications are allowed OUTSIDE these sections, WHEN STVD AUTO MODE
# IS DISABLED.
#
# CAUTION:
#  * Changing from Custom to Semi-Auto mode removes modifications in
#    STVD-reserved sections
#  * Changing to Auto mode removes all modifications.
#
# In Semi-Auto mode, you are allowed to remove <BEGIN ...> and <END ...> markers
# in order to gain control over the concerned sections. As a consequence any
# modification from the STVD graphical interface concerning this section will be
# ignored.
#
# Please refer to Cosmic User Manuals before any modification.
# Note that errors in editing this file may have unpredictable results when
# running STVD.

# Segment configuration - section reserved for STVD
#<BEGIN SEGMENT_CONF>
# Segment Code,Constants:
+seg .const -b 0x8080 -m 0x3f80  -n .const -it 
+seg .text -a .const  -n .text 
# Segment Eeprom:
+seg .eeprom -b 0x4000 -m 0x400  -n .eeprom 
# Segment Zero Page:
+seg .bsct -b 0x0 -m 0x100  -n .bsct 
+seg .ubsct -a .bsct  -n .ubsct 
+seg .bit -a .ubsct  -n .bit -id 
+seg .share -a .bit  -n .share -is 
# Segment Ram:
+seg .data -b 0x100 -m 0x500  -n .data 
+seg .bss -a .data  -n .bss 
#<END SEGMENT_CONF>


芯片是STM8S105K4  开发环境是STVP,有没人遇到类似问题,分享一下解决方法 谢谢

最佳答案

查看完整内容[请看2#楼]

解决了,原来是定义了一个比较大的数组,感谢各位的关注,谢谢 结贴
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

15

主题

46

帖子

0

精华

初级会员

Rank: 2

积分
151
金钱
151
注册时间
2014-9-29
在线时间
10 小时
 楼主| 发表于 2015-8-15 16:47:59 | 显示全部楼层
解决了,原来是定义了一个比较大的数组,感谢各位的关注,谢谢 结贴
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-9-30 08:39

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表