Error: Ram start overlaps rom binary 解决方法

Error: Ram start overlaps rom binary

出错内容如下:

view plaincopy to clipboardprint?
Processing NK  
  
Writing D:\WINCE600\OSDesigns\Mini2440-with-QQ\Mini2440-with-  
  
QQ\RelDir\Mini2440_ARMV4I_Release\NK.bin  
Error: Ram start overlaps rom binary  
Rom end  : 0x82356260  
Ram start: 0x8200e000  
NK  
physfirst 80200000  
physlast  82356260  
ulRAMFree 8200e000  
Fatal error hit, exiting...  
Table of contents  82353768  00002af8  (     11000)  
Writing ROM signature and TOC pointer at 80200040  
Kernel data copy section  807bee7c  00000020  (        32)  
ROM Header                82353714  00000054  (        84)  
First DLL Address:       4001c001  
Last DLL Address:        416dc0b1  
Physical Start Address:  80200000  
Physical End Address:    82356260  
Start RAM:               82000000  
Start of free RAM:       8200e000  
End of RAM:              83e00000  
Number of Modules:       230  
Number of Copy Sections: 2  
Copy Section Offset:     807bee7c  
Kernel Flags:            00000002  
FileSys 4K Chunks/Mbyte: 48 <2Mbyte  48 2-4Mbyte  0 4-6Mbyte  0   
  
>6Mbyte  
CPU Type:                    01c2h  
Miscellaneous Flags:         0002h  
Extensions Pointer:      80201570  
Total ROM size:          02156260 (  34955872)  
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).  
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).  
Mini2440-with-QQ - 4 error(s), 10 warning(s)  
========== 生成: 0 成功或最新,1 失败,0 被跳过 ==========  
仔细看了一下错误,找到了

Error: Ram start overlaps rom binary

Ram的空间与ROM的空间重叠了。

在5.0的时候Ram与ROM的大小设置在config.bib文件里面的。

但是,我在vs2005的工程里面却没找到,害到我直接去BSP目录底下找才找到。

(如果网友知道在vs2005中如何找到config.bib麻烦告知一下,PB5.0可以直接在项目里面找到的)

打开config.bib文件,发现内容如下

view plaincopy to clipboardprint?
MEMORY  
    NK      80200000  01e00000  RAMIMAGE   ;01e00000  30M  
    RAM     82000000  01e00000  RAM     
;    FLASH   92000000  00100000  RESERVED  
  
; Common RAM areas  
    AUD_DMA             80002000  00000800  RESERVED   
    SDIO_DMA            80010000  00010000  RESERVED  
    ARGS                80020800  00000800  RESERVED  
    DBGSER_DMA          80022000  00002000  RESERVED  
    SER_DMA             80024000  00002000  RESERVED  
    IR_DMA              80026000  00002000  RESERVED  
    SLEEP               80028000  00002000   RESERVED  
    EDBG                80030000  00020000  RESERVED  
    DISPLAY             80080000  00180000  RESERVED      
  
CONFIG  
    COMPRESSION=ON  
    KERNELFIXUPS=ON  
  
IF IMGPROFILER     
    PROFILE=ON  
ELSE  

猜你喜欢

转载自blog.csdn.net/bxf0817/article/details/8612390