共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 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图四被打赏50分 | |
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 |