Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 14 Nov 2006 09:22 AM by  mikea@logicpd.com
WinCE System Properties Memory Information
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mikea@logicpd.com
New Member
New Member
Posts:


--
14 Nov 2006 09:22 AM
    Customer Question:
    Quote:
    We are planning on using the CENGPXA270-520-10-504HC card engine in our handheld. Your documentation says it equates to 64 SDRAM and 32MB Nor Flash. How does this map to the 22340KB total storage memory and 22340KB total program memory I see in the memory tab of the System Properties page in windowce on my SDK-PXA270-520-10-6432 Zoom Dev Kit?


    These two values 'Total Storage Memory' and 'Total Program Memory' are related to the amount of RAM dedicated for storage of files/programs and the RAM availavle for the system. Again, note that this is RAM only and has nothing to do with non-volitile memory like Flash (NOR/NAND/CF, .etc)

    The total RAM for the system is 64MB. When the image is built using Platform Builder, the config.bib file specifies the amount of memory available for the actual Image (NK). By default, Logic's BSP has a value of 0x01000000 or 16 MB and this starts at the address of 0xA0200000 in RAM. (This can be found in the pxa270_10_config_bib.h file if you are using Logic's BSP for PXA270) This means that I have dedicated 16 MB for the image, pluse the 2MB that is before it (used for LoLo and frame buffer) which means I am at the 18MB offset in RAM. THis allows 64MB - 18MB = 46MB left for WinCE RAM, which you will find also in the pxa270_10_config_bib.h file, set to 0x02E00000 (46MB). (This is the RAM value in the config.bib file) This value is by default split 50/50 for the 'Total Storage Memory' and 'Total Program Memory'.

    Quote:
    RAM in config.bib = "Specifies the range of virtual addresses available to the kernel for allocation to running processes and the RAM-based Windows CE-based file system. The region must be contiguous." - taken from Microsoft Windows CE 5.0 Help.


    I believe if you take the values above (22340KB) and convert this to MB, you will get 21.8MB. Take that times two for 'Storage' and 'Program' and you get 43.6MB. Now, you ask why this is not 46MB, well, I believe the sample images on the website had the image size increased since the actual image created was larger than 16 MB and so the available RAM for WinCE was decreased by ~2MB.
    You are not authorized to post a reply.