AT91SAM9M10-G45 Windows Memory size

This forum is for users of Atmel's SAM Series and who are interested in using WinCE OS.

Moderator: nferre

HLee
Posts: 5
Joined: Thu Apr 29, 2010 4:34 pm

AT91SAM9M10-G45 Windows Memory size

Mon Jun 28, 2010 2:09 pm

Hi,

If I understand it correctly the AT91SAM9M10-G45 eval. board has two 128MB RAM's Modules onboard.

After the build of an WinCe image (~21MB) with the BSP 1.4.0 I see in control panel->system properties only ~60MB as system memory.

I suspect the reason in this entry of the config.bib file:
RAM2 88000000 02000000 RESERVED

What is the right way too increase the RAM memory for the Windows system?
Is it only this entry or is it more?

thanks
dvescovi
Posts: 7
Joined: Mon Aug 20, 2007 2:44 pm

Re: AT91SAM9M10-G45 Windows Memory size

Sat Jul 10, 2010 1:11 pm

You should just have to change the RESERVED to RAM. The g_oalAddressTable also needs to reflect the added virtual address space. This is in cfg.inc but it is allready configured.
HLee
Posts: 5
Joined: Thu Apr 29, 2010 4:34 pm

Re: AT91SAM9M10-G45 Windows Memory size

Mon Jul 12, 2010 4:43 pm

dvescovi wrote:You should just have to change the RESERVED to RAM. The g_oalAddressTable also needs to reflect the added virtual address space. This is in cfg.inc but it is allready configured.
I changed the line in config.bib to:

RAM2 88000000 08000000 RAM

But it doesn't help anything.

Is it an problem that the RAM memory ranges are not contiguous?
HLee
Posts: 5
Joined: Thu Apr 29, 2010 4:34 pm

Re: AT91SAM9M10-G45 Windows Memory size

Tue Jul 13, 2010 11:40 am

I have come a little further.

Now I have reversed the changes in config.bib. Therefore I changed in init.c the routine OEMEnumExtensionDRAM().

If I report the system a memory range with start address 0x88000000 and a size < 0x04000000 it works correct. But with a size >= 0x04000000 the system doesn't boot anymore. In the debug output you can see many protection faults.
What can be the reason for this memory size border?
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Re: AT91SAM9M10-G45 Windows Memory size

Tue Aug 10, 2010 2:04 pm

Hi HLee,

You're right, the BSP does not manage the 2 banks of DDRAM of the G45EK/M10EK. The reason is because on the first prototype boards we received, only the first bank of DDR was functional.

Before setting the ram size, you must modify the DDR initialization in the AT91F_InitDDRam() function located in the Firstboot code (\PLATFORM\AT91SAM9G45M10EK\SRC\BOOTLOADER\FirstBoot\ddram.c). You can activate and adapt the TestDDRam to test the chip. After you can adapt the image ram size.

HTH

If this answer solves your problem, please edit the subject of this post by adding [Solved] at the beginning of the subject.
HLee
Posts: 5
Joined: Thu Apr 29, 2010 4:34 pm

Re: AT91SAM9M10-G45 Windows Memory size

Tue Aug 24, 2010 11:05 am

Hi HTH,

and other problem is to choose the right display driver.
Because the DEBI driver use video memory at adresse 0x20000000.
Which is the start of the 2. RAM.

HLee

Adeneo wrote:Hi HLee,

You're right, the BSP does not manage the 2 banks of DDRAM of the G45EK/M10EK. The reason is because on the first prototype boards we received, only the first bank of DDR was functional.

Before setting the ram size, you must modify the DDR initialization in the AT91F_InitDDRam() function located in the Firstboot code (\PLATFORM\AT91SAM9G45M10EK\SRC\BOOTLOADER\FirstBoot\ddram.c). You can activate and adapt the TestDDRam to test the chip. After you can adapt the image ram size.

HTH

If this answer solves your problem, please edit the subject of this post by adding [Solved] at the beginning of the subject.
david80
Posts: 31
Joined: Tue Feb 06, 2007 5:18 pm

Re: AT91SAM9M10-G45 Windows Memory size

Thu Feb 17, 2011 11:42 am

Hi all,
I'd kindly ask you a clarification: the EV board comes with 2x128Mb RAM banks:
EBI0 ==> connected to a 128Mb RAM bank
EBI1 ==> connected to a 128Mb RAM bank and to a nandflash

The BSP v1.4 is able to handle alla the RAM?
In a application (with M10 processor) that is mostly for video playback, which is the "best performance" configuration?
Use EBI0 for framebuffer ("DISPLAY_DEBI") ? Is it enough to enable this define instead of "DISPLAY_SEBI"?

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 1 guest