这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 基础知识 » iar 【求助】iar这个错误怎么改?

共2条 1/1 1 跳转至

iar 【求助】iar这个错误怎么改?

院士
2006-09-17 18:14:16     打赏
iar 【求助】iar这个错误怎么改?



关键词: 求助     这个     错误     怎么    

院士
2006-12-22 22:43:00     打赏
2楼
问 Building configuration: 1214 - Debug

Linking
xlink.exe D:\GGPS\Debug\Obj\meterage.r43 D:\GGPS\Debug\Obj\navigation.r43 -o D:\
GGPS\Debug\Exe\1214.d43 -IC:\Program Files\IAR Systems\Embedded Workbench
Evaluation 4.0\430\LIB\ -f C:\Program Files\IAR Systems\Embedded Workbench Evaluation
4.0\430\CONFIG\lnk430F149.xcl -f C:\Program Files\IAR Systems\Embedded Workbench
Evaluation 4.0\430\config\multiplier.xcl -D_STACK_SIZE=50 -rt C:\Program Files\IAR
Systems\Embedded Workbench Evaluation 4.0\430\LIB\CLIB\cl430f.r43 -D_HEAP_SIZE=50
-s __program_start

IAR Universal Linker V4.59F/386
Copyright 1987-2004 IAR Systems. All rights reserved.
Error[e16]: Segment DATA16_C (size: 0x44ea align: 0) is too long for segment definition. At
least 0x156 more bytes needed. The problem occurred while processing the segment
placement command
"-Z(CONST)DATA16_C,DATA16_ID,DIFUNCT,CHECKSUM=1100-FFDF", where at the
moment of placement the available memory ranges were "CODE:bc4c-ffdf"
Reserved ranges relevant to this placement:
1100-112f CSTART
1130-bc4b CODE
bc4c-ffdf DATA16_C

Total number of errors: 1
Total number of warnings: 0 1: 定义超过范围了,具体您可以查看*.XCL文档。有什么问题及时联系 , 2: 版主,我也遇到了类似问题,xcl文件我还看不大懂。但是连这个程序也不行也太怪了吧???
#include<stdio.h>
void main()
{
int c;
c=1;
printf("dd=%d",c);
}
错误:
Building configuration: 109mpytest - Debug

Linking
xlink.exe D:\Documents and Settings\xry\桌面\12月资料\iar1program\Debug\Obj\tt.r43 -o D:\Documents and Settings\xry\桌面\
12月资料\iar1program\Debug\Exe\109mpytest.d43 -ID:\Program Files\IAR Systems\Embedded Workbench 4.0\430\LIB\ -f D:\
Program Files\IAR Systems\Embedded Workbench 4.0\430\CONFIG\lnk430C111.xcl -f D:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\config\compactmath.xcl -D_STACK_SIZE=50 -rt D:\Program Files\IAR Systems\Embedded
Workbench 4.0\430\LIB\CLIB\cl430f.r43 -D_HEAP_SIZE=50 -s __program_start

IAR Universal Linker V4.58C/386
Copyright 1987-2004 IAR Systems. All rights reserved.
Error[e16]: Segment CODE (size: 0xbd4 align: 0x1) is too long for segment definition. At least 0x406 more bytes needed. The
problem occurred while processing the segment placement command "-Z(CODE)CODE,TAIVINT=F800-FFDF", where at the
moment of placement the available memory ranges were "CODE:F812-FFDF"
Reserved ranges relevant to this placement:
CODE:F800-F811 CSTART

Total number of errors: 1
Total number of warnings: 0 3: 版主说了,是xcl文件或是DDF文件选错了,找找吧! 4: 谢谢,我找到错误了。我是project/options/general options中的device选错了,不知道g-jl是不是这个原因。

共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]