共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电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【我踩过的那些坑】结构堵孔导致的喇叭无声问题被打赏50分 | |
【我踩过的那些坑】分享一下调试一款AD芯片的遇到的“坑”被打赏50分 | |
电流检测模块MAX4080S被打赏10分 | |
【我踩过的那些坑】calloc和malloc错误使用导致跑飞问题排查被打赏50分 | |
多组DCTODC电源方案被打赏50分 | |
【我踩过的那些坑】STM32cubeMX软件的使用过程中的“坑”被打赏50分 | |
新手必看!C语言精华知识:表驱动法被打赏50分 | |
【我踩过的那些坑】杜绑线问题被打赏50分 | |
【我踩过的那些坑】STM32的硬件通讯调试过程的“坑”被打赏50分 | |
【我踩过的那些坑】晶振使用的问题被打赏100分 |