Windows CE编译问题的解决(1)

原创 2007年09月19日 09:46:00

1.Ram start overlaps rom binary编译问题的解决

编译WinCE时,经常会出现这样的问题,选择Release的版本,编译没有问题,编译Debug的时候报错:Ram start overlaps rom binary。
原因:因为编译Debug版本时文件太大,超过29M时就会报错,原因是ROM和RAM空间的冲突。

国外网站找到的解决方法:

When I build my Windows CE image in Platform Builder I get the following error:

Error: Ram start overlaps rom binary
Rom end : 0x81217d4c
Ram start: 0x8105c000
NK
physfirst 800e0000
physlast 81217d4c

How can I fix this?

 

Problem:

This error is given because you're image size is bigger than the allowed size contained in the XXXXX_XX_config_bib.h file. The specific file for your card engine can be found at the following path:

WINCE500PLATFORMLoCEsrcinccard_engine

Resolution:

There are two options to resolving this:

1) Decrease your image size by removing components that are taking up a lot of space. If you have unecessary features you can take them out and Re-Sysgen your platform.

2) If you require a larger image than the default size of 15MB you can edit the config_bib.h file. Please refer to the RAM build memory map for an explanation on how memory is broken down while Windows CE is running.

Specifically these lines are what you will need to edit.

#define RAM_BUILD_RAM_START 0x81000000
#define RAM_BUILD_RAM_SIZE 0x00C00000

#define RAM_BUILD_IMAGE_START 0x800E0000
#define RAM_BUILD_IMAGE_SIZE 0x00F00000

For example, the edited configuration below will allow for a 16MB image to be built.

#define RAM_BUILD_RAM_START 0x82000000
#define RAM_BUILD_RAM_SIZE 0x00B00000

#define RAM_BUILD_IMAGE_START 0x800E0000
#define RAM_BUILD_IMAGE_SIZE 0x01000000

我的解决方法:
使用环境WinCE4.2,打开开发环境,打开config.bib文件,改一下下面这句话:
;;; Tarzan Debug mode
 NK   8C200000  02600000  RAMIMAGE
; NK   80040000  01E00000  RAMIMAGE
; CHAIN   81E40000  00001000  RESERVED
; DRIVERS   81E41000  001BF000  RAMIMAGE

; RESERVE       8df00000  00080000
; RAM           8c200000  01D00000  RAM
 RAM           8F800000  01700000  RAM//就是这一句,原来是8E800000,现在改为8F800000

重新编译之后问题解决。 

版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

Windows CE 5.0 编译错误及解决

1: --------------------Configuration: Emulator: x86_Release-------------------- Starting Build: se...

RETAILMSG 的定义与实现&Windows CE 6.0下dpCurSettings编译出错及解决办法

在PUBLIC下面,很多地方是用不了RETAILMSG来打印信息,因为它取而代之的是DEBUGMSG,但是,如果我们不编译debug版本的话,这个打印函数又是不起作用的。如果想用使用RETAILMSG...

Windows CE 触摸屏(TouchPanel)驱动简析(1)-原理及驱动架构

触摸屏驱动从硬件读取用户输入,然后转换成一个触摸事件发送给GWES.同时将为计算的坐标转换为校准坐标.校准坐标对硬件异常,如触摸倾斜,非线性顺序做了补偿运算. 触摸屏驱动正常工作时,当用户用触摸行为...

如何调查Windows Embedded CE上的Exception“凶手”(1)

原文地址::http://www.cnblogs.com/wangkewei/archive/2010/06/04/1751780.html     傻了吧,又犯事了 不管是在Wi...

Windows CE SDHC驱动简析(1)-驱动架构(基于WinCE5.0 SMDK2410 BSP的SDHC驱动)

Windows CE的SD卡驱动包括总线驱动(bus driver),主控制器驱动(host controller driver)和客户端驱动(client driver). 总线驱动是客户端驱动和...

Windows Mobile和Wince(Windows Embedded CE)的字符集问题

背景 开发过Windows Mobile和Wince(Windows Embedded CE)的开发者,特别是Native C++开发者,或多或少都遇到过ANSI字符集和Unicode字符集的转...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)