共2条
1/1 1 跳转至页
iar 【求助】iar这个错误怎么改?
问
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是不是这个原因。
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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| OK1126B-S开发板下函数构建及步进电机驱动控制被打赏¥25元 | |
| 【S32K3XX】LPI2C 参数配置说明被打赏¥20元 | |
| OK1126B-S开发板的脚本编程及应用设计被打赏¥27元 | |
| 5v升压8.4v两节锂电池充电芯片,针对同步和异步的IC测试被打赏¥35元 | |
| 【S32K3XX】S32DS LPI2C 配置失败问题解决被打赏¥22元 | |
| 【S32K3XX】FLASH 的 DID 保护机制被打赏¥19元 | |
| OK1126B-S开发板串口通信及其使用被打赏¥18元 | |
| 【S32K3XX】多核 CORE ID 获取被打赏¥18元 | |
| OK1126B-S开发板的GPIO资源及其使用被打赏¥20元 | |
| 【分享开发笔记,赚取电动螺丝刀】三分钟快速上手驱动屏幕(Arduino IDE环境)被打赏¥23元 | |
我要赚赏金
