Keil 链接错误 Error: L6406E: No space in execution regions with .ANY selector matching
来源:互联网 发布:网络流行文化 编辑:程序博客网 时间:2024/06/07 23:41
转自:http://www.cnblogs.com/ironx/p/5474935.html
在开发过程当中遇到Keil build错误,检查发现时是链接时出错了。
错误内容为:
Error: L6406E: No space in execution regions with .ANY selector matching
Error: L6407E: Sections of aggregate size 0x44 bytes could not fit into .ANY selector
怀疑有可能某些段的size溢出了。
因为使用的ARM芯片内置flash为64KB,RAM = 8KB,因此不太可能是flash溢出了,很可能是RAM溢出了。
所以尝试了两种解决方法:
第一种是将keil option里面的编译优化选项,从level 0 调高到level 2,看看经过优化还会不会有溢出的问题。
实验的结果是没有溢出了,所以怀疑某些段溢出这个定论是对的,下一步就是要区分是RAM还是Flash溢出了。
第二种,是将一个比较大的函数挂载数组定义成const,也就是放在flash里面,再次build,发现错误也消失了。
看来果然是RAM溢出了。
普及下Keil编译结果的参数含义:
请参考以下资料,说明RO/RW/ZI-DATA的含义:
http://www.keil.com/forum/10624/
阅读全文
0 0
- Keil 链接错误 Error: L6406E: No space in execution regions with .ANY selector matching
- KEIL在Build的时候提示Error:L6406E:No space in execution regions with .ANY selector matching 错误
- .\Opt\TMES.axf: Error: L6406E: No space in execution regions with .ANY selector matching indicate_se
- Error: L6406E: No space in execution regions with .ANY selector matching
- .\Obj\main.axf: Error: L6406E: No space in execution regions with .ANY selector matching sin_i.o(.co
- no space in execution regions with .any selector matching
- No space in execution regions with .ANY selector matching
- Keil编译出现“Error: L6406W: No space in execution regions with .ANY selector match Section"的解决办法
- Keil编译出现“Error: L6406W: No space in execution regions with .ANY selector match Section"的解决办法
- Keil RealView MDK在链接时提示空间不够的解决方案总结 keil: Error: L6406E: No space in execution regions with
- MDK在链接时提示空间不够(No space in execution regions with .ANY selector... )解决方案
- MDK在链接时提示空间不够(No space in execution regions with .ANY selector... )的解决方案总结
- MDK在链接时提示空间不够(No space in execution regions with .ANY selector... )的解决方案总结
- MDK在链接时提示空间不够(No space in execution regions with .ANY selector... )的解决方案总结
- No space in execution regions with .ANY selec错误的解决
- 移植FreeRTOS,出现No space in execution regions溢出错误。
- mysql错误Error(1133): Can’t find any matching row in the use
- keil arm 汇编 error: L6236E: No section matches selector - no section to be FIRST/LAST.
- UVa 712 S-Trees——进制转化
- 产品经理业务流程图的绘制流程
- Android
- 每逢高考必有雨?来看看历年来高考期间天气大数据/智库2861
- 快速矩阵幂
- Keil 链接错误 Error: L6406E: No space in execution regions with .ANY selector matching
- 一次被Nginx、openVPN、CentOS来回折腾的记录
- C#中判断SQL Server数据库是否连接成功
- C#_e.Handled用法
- 『ORACLE』数据文件中有‘dbs/MISSING00007’文件(11g)
- 安装nginx
- Linux Sudo 史上最大bug
- 平衡二叉树
- Windows环境安装tesseract-ocr 4.00并配置环境变量