6182|8

61

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

这错误是什么意思 [复制链接]

编译时没有错,但是向芯片下载时有一个错误,哪位明白这是什么意思?
指点一下。
下面是下载时给出的信息。

Building configuration: water - Debug

water.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 3.2\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 3.2\430\INC\CLIB\ -o E:\msp430\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --debug -e E:\msp430\water.c

IAR MSP430 C/EC++ Compiler V2.10A/W32
Copyright 1996-2003 IAR Systems. All rights reserved.
Warning[Pe127]: expected a statement
Warning[Pe127]: expected a statement
Warning[Pe177]: varia××e "i" was declared but never referenced
Warning[Pe177]: varia××e "data" was declared but never referenced
Warning[Pe001]: last line of file ends without a newline

2 964 bytes of CODE memory
528 bytes of CONST memory
742 bytes of DATA memory (+ 27 bytes shared)

Errors: none
Warnings: 5

Linking
xlink.exe E:\msp430\Debug\Obj\water.r43 -o E:\msp430\Debug\Exe\water.d43 -rt -IC:\Program Files\IAR Systems\
Embedded Workbench 3.2\430\LIB\ -f C:\Program Files\IAR Systems\Embedded Workbench 3.2\430\config\
lnk430F135.xcl C:\Program Files\IAR Systems\Embedded Workbench 3.2\430\lib\cl430f.r43
-e_small_write=_formatted_write -e_medium_read=_formatted_read -f C:\Program Files\IAR Systems\Embedded
Workbench 3.2\430\config\compactmath.xcl

IAR Universal Linker V4.55D/386
Copyright 1987-2003 IAR Systems. All rights reserved.
Error[e16]: Segment DATA16_I (size: 0x210 align: 0) is too long for segment definition. At least 0xf more
bytes needed. The pro××em occurred while processing the segment placement command
"-Z(DATA)DATA16_I,DATA16_Z,DATA16_N,HEAP+_HEAP_SIZE=0200-0400", where at the moment of placement the
××aila××e memory ranges were "CODE:200-400"

Total number of errors: 1
Total number of warnings: 5

最新回复

用CONST  详情 回复 发表于 2005-10-22 09:26
 
点赞 关注

回复
举报

63

帖子

0

TA的资源

一粒金砂(初级)

沙发
 
Error[e16]: Segment DATA16_I (size: 0x210 align: 0) is too long for segment definition. At least 0xf more
bytes needed. The pro××em occurred while processing the segment placement command
"-Z(DATA)DATA16_I,DATA16_Z,DATA16_N,HEAP+_HEAP_SIZE=0200-0400", where at the moment of placement the
××aila××e memory ranges were "CODE:200-400"
段 DATA16_I 的容量为 0x210,超出内存段范围(0x200 - 0x400)
 
 

回复

92

帖子

0

TA的资源

一粒金砂(初级)

板凳
 
该如何解决,有详细介绍430芯片程序,数据存储位置和技巧的文章资料么
 
 
 

回复

78

帖子

0

TA的资源

一粒金砂(初级)

4
 
芯片型号的两个文件.XCL和.DDF是否设置对?
 
 
 

回复

80

帖子

0

TA的资源

一粒金砂(初级)

5
 
2 964 bytes of CODE memory
528 bytes of CONST memory
742 bytes of DATA memory (+ 27 bytes shared)
这里的const memory 和 data memory 分别指什么数据占的空间
 
 
 

回复

59

帖子

0

TA的资源

一粒金砂(初级)

6
 
语法上面没有错误,是你定义的(数组或是其他的)东西超过了430的RAM,
 
 
 

回复

78

帖子

0

TA的资源

一粒金砂(初级)

7
 
我的芯片用的是f135,512的ram,选用的是lnkMSP430F135.xcl

$TOOLKIT_DIR$\config\msp430F135.ddf
 
 
 

回复

56

帖子

0

TA的资源

一粒金砂(初级)

8
 
我定义的数据有些是固定不变的,我想把它定义到flash区,请问如何定义
 
 
 

回复

74

帖子

0

TA的资源

一粒金砂(初级)

9
 
用CONST
 
 
 

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

查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/9 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表