none
Problem while Increasing the Ram size in Windows CE 6.0, x86 Platform RRS feed

  • Question

  • Hi

    I am working on Windows CE 6.0. x86 platform with 1GB SDRAM.

    Problem is when I tried to open Windows Explorer or Internet Explorer, I m getting a msg prompt as "cant open, some critical component is missing or  memory is low". So I increased the RAM size in the config.bib from 64 MB to 256 MB  and the problem is resolved. But when I again increase the RAM size to 512MB, the board resets. What might be the problem and also what the maximum RAM size I can use in CE 6.0 with x86 Platform.

     

    Regards

    Gokul 

    Monday, September 27, 2010 12:26 PM

All replies

  • In OEMAddressTable, Maximum physical address Mapping to the static virtual address in Windows CE 6.0 is 512 MB. This includes other hardware controller registers and RAM. Allocating total 512 MB to RAM won't work in Windows CE 6.0. This is the limitation. Eventhough you have 1GB of RAM, you can't use it fully.

    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Monday, September 27, 2010 12:36 PM
  • Hi Mr.Vinoth

    Thanks for your reply.

     

     

    Regards

    Gokul

    Monday, September 27, 2010 12:52 PM
  • Here is a possible workaround to use more tahn 512 MB of RAM in CE 6.
    Although 512MB is limit for OS itself, but it doesn't stop driver or even application to access those memory beyond to OS kernel can manage.
    By using VirtualCopy(Ex) API (http://msdn.microsoft.com/en-us/library/ee483154.aspx) with PAGE_PHYSICAL flag, it enable a kernel mode DLL to map any physical address within 4GB.
    With a proper kernel mode DLL as a wrapper, it is also possible to map these memory for user mode code.
    But due to these memory is not managed by OS kernel, users will need to take care the memory management by themselves.
    Also one should never map any kernel managed RAM (within 512 MB) by this approach, it may destabilize the system.

     

    Tuesday, September 28, 2010 12:13 AM