共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网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
vscode+cmake搭建雅特力AT32L021开发环境被打赏30分 | |
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 |