共2条
1/1 1 跳转至页
IAR,Embedded,Workbench IAR Embedded Workbench使用的问题

问
我今天将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单片机时,精简源程序,就编译通过了
有了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 跳转至页
回复
有奖活动 | |
---|---|
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏10分 | |
【我踩过的那些坑】DRC使用位置错误导致的问题被打赏100分 | |
我踩过的那些坑之混合OTL功放与落地音箱被打赏50分 | |
汽车电子中巡航控制系统的使用被打赏10分 | |
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏100分 | |
分享汽车电子中巡航控制系统知识被打赏10分 | |
分享安全气囊系统的检修注意事项被打赏10分 | |
分享电子控制安全气囊计算机知识点被打赏10分 | |
【分享开发笔记,赚取电动螺丝刀】【OZONE】使用方法总结被打赏20分 | |
【分享开发笔记,赚取电动螺丝刀】【S32K314】芯片启动流程分析被打赏40分 |