[开发工具] 请教用IAR建立工程的问题Error[e16]:

[复制链接]
5354|8
 楼主| ford126 发表于 2008-8-12 10:04 | 显示全部楼层 |阅读模式
IAR, ce, AC, AN, se
自己建立工程时出现如下问题
Linking 
Error[e16]: Segment INTVEC (size: 0xec align: 0x2) is too long for segment definition. At least 0xac more bytes needed.  The problem occurred while processing the segment placement command "-Z(CODE)INTVEC=00-3F", where at the  
moment of placement the available memory ranges were "CODE:0-3f"    Reserved ranges relevant to this placement: 
   0-3f                 INTVEC 
Total number of errors: 1 
Total number of warnings: 0 

请问该如何修改???


grant_jx 发表于 2008-8-12 11:03 | 显示全部楼层

没有配置xcl,需要手动添加

在IAR的Project-options-linker-config标签下“Linker command file”加入分散加载文件。可以使用ST官方工程下的xcl文件。
 楼主| ford126 发表于 2008-8-12 14:03 | 显示全部楼层

我按你说的做了

有两个xcl文件我选择用lnkarm_flash.xcl
编译没有错误了,可是显示烧录完成后,片子原来的程序根本不变新的程序没烧进去,这是怎么回事啊?
samuelyu 发表于 2008-8-13 16:09 | 显示全部楼层

检查烧录是否用的刚刚编译产生程序;

bmrzhang 发表于 2008-8-15 16:23 | 显示全部楼层

烧写flash

在debugger->download下选择use flashloader试一下
zjxcml 发表于 2013-9-17 11:26 | 显示全部楼层
呵呵,谢谢
3C农民工 发表于 2013-11-11 10:35 | 显示全部楼层
给力!
3C农民工 发表于 2013-11-11 10:40 | 显示全部楼层
grant_jx 发表于 2008-8-12 11:03
在IAR的Project-options-linker-config标签下“Linker command file”加入分散加载文件。可以 ...

为什么按照楼主所说,我的没有用呢?有其它原因吗?谢谢!
grant_jx 发表于 2013-11-11 14:09 | 显示全部楼层
错误提示一样?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

50

主题

86

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部