共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网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 | |
【FRDM-MCXN947评测】核间通信MUTEX被打赏50分 |