netdiuno MF4.3编译错误情况解决
来源:互联网 发布:浙江中医院事件知乎 编辑:程序博客网 时间:2024/05/29 19:31
1、error MSB3073: 命令“ --cpp --diag_suppress 2874,111,161,550,C3011 该问题应该为编译器问题a、安装keil4.54版本b、调用call setenv_mdk.cmd 4.54 c:\keil\arm2、 EXEC : error : L6220E: Load region LR_FLASH size (424184 bytes) exceeds limit (262144 bytes). Region contains 569 bytes of padding and 0 bytes of veneers (total 569 bytes of linker generated content). [C:\MF\PK\Solutions\NetduinoPlus2\TinyCLR\TinyCLR.proj] EXEC : error : L6221E: Load region LR_FLASH with Load range [0x08000000,0x080678f8) overlaps with Load region LR_CONFIG with Load range [0x08040000,0x0804090c). [C:\MF\PK\Solutions\NetduinoPlus2\TinyCLR\TinyCLR.proj] EXEC : error : L6221E: Execution region ER_FLASH with Execution range [0x08000000,0x08066d48) overlaps with Execution region ER_CONFIG with Execution range [0x08040000,0x0804090c). [C:\MF\PK\Solutions\NetduinoPlus2\TinyCLR\TinyCLR.proj] EXEC : error : L6221E: Execution region ER_RAM_RW with Execution range [0x20000000,0x2000c6c0) overlaps with Execution region ER_HEAP_BEGIN with Execution range [0x20008000,0x20008004). [C:\MF\PK\Solutions\NetduinoPlus2\TinyCLR\TinyCLR.proj] EXEC : error : L6221E: Execution region ER_RAM_RW with Execution range [0x20000000,0x2000c6c0) overlaps with Execution region ER_CUSTOM_HEAP_BEGIN with Execution range [0x20005e00,0x20005f54). [C:\MF\PK\Solutions\NetduinoPlus2\TinyCLR\TinyCLR.proj] EXEC : error : L6221E: Execution region ER_RAM_RW with Execution range [0x20000000,0x2000c6c0) overlaps with Execution region ER_STACK_BOTTOM with Execution range [0x20006000,0x20006004). [C:\MF\PK\Solutions\NetduinoPlus2\TinyCLR\TinyCLR.proj] EXEC : error : L6221E: Execution region ER_RAM_RW with Execution range [0x20000000,0x2000c6c0) overlaps with Execution region ER_STACK_TOP with Execution range [0x20007ff8,0x20007ffc). [C:\MF\PK\Solutions\NetduinoPlus2\TinyCLR\TinyCLR.proj] 修改TinyCLR目录下的scatterfile_tinyclr_mdk.xml文件 a.EXEC : error : L6220E: Load region LR_FLASH size (424184 bytes) exceeds limit (262144 bytes)EXEC : error : L6221E: Load region LR_FLASH with Load range [0x08000000,0x080678f8) overlaps with Load region LR_CONFIG with Load range [0x08040000,0x0804090c). EXEC : error : L6221E: Execution region ER_FLASH with Execution range [0x08000000,0x08066d48) overlaps with Execution region ER_CONFIG with Execution range [0x08040000,0x0804090c)这三个问题修改<Set Name="Config_BaseAddress" Value="0x08040000"/> --> <Set Name="Config_BaseAddress" Value="0x0806F8F8"/> 把空间放大一点,否则程序运行时候会有异常 b.EXEC : error : L6221E: Execution region ER_RAM_RW with Execution range [0x20000000,0x2000c6c0) overlaps with Execution region ER_HEAP_BEGIN with Execution range [0x20008000,0x20008004). EXEC : error : L6221E: Execution region ER_RAM_RW with Execution range [0x20000000,0x2000c6c0) overlaps with Execution region ER_CUSTOM_HEAP_BEGIN with Execution range [0x20005e00,0x20005f54). EXEC : error : L6221E: Execution region ER_RAM_RW with Execution range [0x20000000,0x2000c6c0) overlaps with Execution region ER_STACK_BOTTOM with Execution range [0x20006000,0x20006004). EXEC : error : L6221E: Execution region ER_RAM_RW with Execution range [0x20000000,0x2000c6c0) overlaps with Execution region ER_STACK_TOP with Execution range [0x20007ff8,0x20007ffc). 这几个问题将调整RAM的分配区域来解决 <Set Name="RAM_Start" Value="0x20000000"/> <!-- Custom heap used for interrupt handler table only --> <Set Name="Custom_Heap_Begin" Value="0x20005E00"/> <Set Name="Custom_Heap_End" Value="0x20005FF8"/> <Set Name="Stack_Bottom" Value="0x20006000"/> <Set Name="Stack_Top" Value="0x20007FF8"/> <Set Name="Heap_Begin" Value="0x20008000"/> <Set Name="Heap_End" Value="0x2000FFF8"/> <IfDefined Name="PROFILE_BUILD"> <Set Name="Heap_End" Value="0x2000DFF8"/> <Set Name="ProfileBuffer_Begin" Value="0x2000E000"/> <Set Name="ProfileBuffer_End" Value="0x2000FFFC"/> </IfDefined>调整为预留足够的RAM空间,这里预留的大小为 <Set Name="RAM_Start" Value="0x20000000"/> <!-- Custom heap used for interrupt handler table only --> <Set Name="Custom_Heap_Begin" Value="0x2000D000"/> <Set Name="Custom_Heap_End" Value="0x2000D1F8"/> <Set Name="Stack_Bottom" Value="0x2000D200"/> <Set Name="Stack_Top" Value="0x2000F1F8"/> <Set Name="Heap_Begin" Value="0x2000F200"/> <Set Name="Heap_End" Value="0x200171F0"/> <IfDefined Name="PROFILE_BUILD"> <Set Name="Heap_End" Value="0x200191F0"/> <Set Name="ProfileBuffer_Begin" Value="0x20015200"/> <Set Name="ProfileBuffer_End" Value="0x200171FC"/> </IfDefined>3、error : Error trying to process scatterfile scatterfile_bootloader_MDK.xml into C:\MF\PK\BuildOutput\THUMB2\MDK4.54\le\FLASH\release\NetduinoPlus2\bin\Tinybooter_scatterfile.txt: 这个有人说不是错误,可以不修改,地址http://www.newlifex.com/showtopic-112.aspx
来自:http://blog.csdn.net/lan120576664
0 0
- netdiuno MF4.3编译错误情况解决
- VC6.0编译器不符合标准的一些情况(解决一些编译错误)
- VC++编译代码出现LNK2005错误的一种情况的解决
- 解决Pingexample编译错误
- MTK编译错误解决?
- 编译内核错误解决
- android 编译错误解决
- ecos编译错误解决
- 解决busybox编译错误
- VC6编译错误解决
- busybox编译错误解决
- 解决编译错误
- opengl编译错误解决
- gcc编译错误解决
- VS2010编译错误解决
- 编译Sqoop2错误解决
- C++编译错误解决
- 编译常见错误解决
- Less入门二 变量
- 图解U-Boot:第一阶段源码分析
- apache mina中写的过程分析
- Mybatis 3.1中 Mapper XML 文件 的学习详解
- KVC方法详解与实现原理
- netdiuno MF4.3编译错误情况解决
- 使用java.util.List.subList时最好小心点
- 用nexus搭建maven私服
- Js 动态加载JS CSS
- android sdk manager无法更新
- Android开发:ScrollView嵌套GridView的解决办法
- 草根旺城:人生格言
- 【cocos2dx-js 学习分享 七】游戏遮罩
- SqlBulkCopy 类