这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 基础知识 » IAR,Embedded,Workbench IAR Embedded Work

共2条 1/1 1 跳转至

IAR,Embedded,Workbench IAR Embedded Workbench使用的问题

院士
2006-09-17 18:14:16     打赏
IAR,Embedded,Workbench IAR Embedded Workbench使用的问题



关键词: Embedded     Workbench     用的     问题    

院士
2006-12-22 22:43:00     打赏
2楼
问 我今天将IAR Embedded Workbench升级到了3.0B。安装文件名是:FET_R424.EXE

有了Workspace这个东东。编译了我原来的一个汇编的程序,编译成功,是7220个字节。但进Debug仿真时出错,后发现使用Make时也出错,错误信息相同:

IAR Universal Linker V4.56E/386
Copyright 1987-2003 IAR Systems. All rights reserved.
Error[e16]: Segment INTVEC (size: 0x20 align: 0x1) is too long for segment definition. At least 0x12 more bytes needed. The problem occurred while processing the
segment placement command "-Z(CONST)INTVEC=FFE0-FFFF", where at the moment of placement the available memory ranges were
"CODE:FFE0-FFE3,CODE:FFE8-FFED,CODE:FFF0-FFFD"
Reserved ranges relevant to this placement:
CODE:FFE4-FFE7 Absolute code from 测试
CODE:FFEE-FFEF Absolute code from 测试
CODE:FFFE-FFFF Absolute code from 测试

Total number of errors: 1
Total number of warnings: 0

这是什么原因啊? 1: 再说明一下,这个程序在原来的软件版本(即没有Workspace)中是完全正常的。 2: 把项目所在文件路径和文件名全改为非中文的试试看!新版的不支持中文名 3: 还是一样啊。

Building configuration: 8BiaoProj - Debug

Linking
xlink.exe E:\Program_MCU&PLC\Biao\Debug\Obj\Biao.r43 -o E:\Program_MCU&PLC\Biao\Debug\Exe\BiaoProj.d43 -rt -ID:\DesignTools\IAR Systems\Embedded
Workbench 3.2\430\LIB\ -f D:\DesignTools\IAR Systems\Embedded Workbench 3.2\430\config\lnk430C111.xcl D:\DesignTools\IAR Systems\Embedded Workbench 3.2\
430\lib\cl430f.r43 -e_small_write=_formatted_write -e_medium_read=_formatted_read -f D:\DesignTools\IAR Systems\Embedded Workbench 3.2\430\config\
compactmath.xcl

IAR Universal Linker V4.56E/386
Copyright 1987-2003 IAR Systems. All rights reserved.
Error[e16]: Segment INTVEC (size: 0x20 align: 0x1) is too long for segment definition. At least 0x12 more bytes needed. The problem occurred while processing the
segment placement command "-Z(CONST)INTVEC=FFE0-FFFF", where at the moment of placement the available memory ranges were
"CODE:FFE0-FFE3,CODE:FFE8-FFED,CODE:FFF0-FFFD"
Reserved ranges relevant to this placement:
CODE:FFE4-FFE7 Absolute code from Biao
CODE:FFEE-FFEF Absolute code from Biao
CODE:FFFE-FFFF Absolute code from Biao

Total number of errors: 1
Total number of warnings: 0 4: 好象是OPTION没有选好?CPU用的是? 5: At least 0x12 more bytes needed.
是不是相应的地方编译结果字节数大引起的?
我在使用AVR单片机时,精简源程序,就编译通过了

共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]