共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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 【FreeRtos】FreeRtos + MPU模块的配置使用被打赏¥32元 | |
| 【分享开发笔记,赚取电动螺丝刀】墨水屏文本显示器被打赏¥25元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX读取磁力计iis2mdc被打赏¥19元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX读取LPS22HH气压、温度被打赏¥19元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX读取STTS751温度被打赏¥17元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX软件读取HTS221温湿度被打赏¥22元 | |
| M5PAPERESP32EINKDEVKIT评测|使用MicroPython开发M5Paper被打赏¥15元 | |
| OK1126B-S开发板下以导航按键控制云台/机械臂姿态调整被打赏¥29元 | |
| 【树莓派5】便携热成像仪被打赏¥36元 | |
| 【树莓派5】环境监测仪被打赏¥35元 | |
我要赚赏金
