打印
[开发工具]

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

[复制链接]
3993|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 | 只看该作者

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

使用特权

评论回复
5
bmrzhang| | 2008-8-15 16:23 | 只看该作者

烧写flash

在debugger->download下选择use flashloader试一下

使用特权

评论回复
6
zjxcml| | 2013-9-17 11:26 | 只看该作者
呵呵,谢谢

使用特权

评论回复
7
3C农民工| | 2013-11-11 10:35 | 只看该作者
给力!

使用特权

评论回复
8
3C农民工| | 2013-11-11 10:40 | 只看该作者
grant_jx 发表于 2008-8-12 11:03
在IAR的Project-options-linker-config标签下“Linker command file”加入分散加载文件。可以 ...

为什么按照楼主所说,我的没有用呢?有其它原因吗?谢谢!

使用特权

评论回复
9
grant_jx| | 2013-11-11 14:09 | 只看该作者
错误提示一样?

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

50

主题

86

帖子

0

粉丝