共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网站征稿正在进行时,欢迎踊跃投稿啦 |
打赏帖 | |
---|---|
Buck电路工作在CCM模式下电感电流的计算公式是什么?被打赏5分 | |
buck电路工作原理被打赏5分 | |
基于MSPM0L1306的MODBUS-RTU协议通讯实验被打赏100分 | |
我想要一部加热台+多合一调试工具被打赏18分 | |
每周了解几个硬件知识+485硬件知识分享被打赏10分 | |
【换取手持数字示波器】树莓派PICO调试器官方固件本地化部署实践被打赏24分 | |
【换取手持数字示波器】分享一个KEIL无法识别CMSIS-DAP调试器的解决办法被打赏20分 | |
【换取手持数字示波器】分享一个自制的ArduinoNano扩展板底板被打赏23分 | |
【换取手持示波器】树莓派PICOW网页烟花被打赏18分 | |
【换取手持示波器】树莓派PICO逻辑分析仪被打赏16分 |