AT91SAM9263 Increasing the MEMORY

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

Moderator: nferre

bob
Posts: 44
Joined: Fri Jan 16, 2009 10:46 pm

AT91SAM9263 Increasing the MEMORY

Tue Sep 01, 2009 2:20 pm

Dear all,

I'm trying to increase my RAM memory from 64MB to 128MB.

1)
In the config.bib file I have tried to change the size of the RAM section:
RAM 8026c000 03B94000 RAM
VIDEOMEM 83e00000 00200000 RESERVED

to the new values
RAM 8026c000 07B94000 RAM
VIDEOMEM 87e00000 00200000 RESERVED

(changing the address of the video buffer in the lcdc.reg file)

2) in the cfg.inc file I have changed the RAM size
old:
DCD AT91SAM9263EK_VA_BASE_SDRAM, AT91SAM9263EK_BASE_SDRAM, 64 ; AT91SAM9263EK SDRAM (64MB).
new:
DCD AT91SAM9263EK_VA_BASE_SDRAM, AT91SAM9263EK_BASE_SDRAM, 128 ; AT91SAM9263EK SDRAM (128MB).

I have compiled correctly the new BSP, but when trying to downlaod it with the PB into the board I get a fault error

are the above steps correct?

Is something else to change?

thanks
bob
Posts: 44
Joined: Fri Jan 16, 2009 10:46 pm

Re: AT91SAM9263 Increasing the MEMORY

Tue Sep 01, 2009 2:22 pm

sorry I'm working with WINCE 6.0
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Re: AT91SAM9263 Increasing the MEMORY

Thu Sep 10, 2009 8:58 am

Hi,

Your settings seems good for WinCE, but have you changed the settings of the SDRAM controller (%_TARGETPLATROOT%\SRC\BOOTLOADER\FirstBoot\sdram.c in the AT91F_InitSdram() function) ? After, you must program firstboot and eboot.
If you encounter always errors while booting, you can implement a SDRAM test just after having initialized the controller in firstboot by writing/reading pattern in all the SDRAM and displaying result in the debug port. Perhaps you should also refresh sometime the watchdog in your SDRAM test loops (~ pWDT->WDTC_WDCR = AT91C_WDTC_WDRSTT | (0xA5 << 24);)

HTH
bob
Posts: 44
Joined: Fri Jan 16, 2009 10:46 pm

Re: AT91SAM9263 Increasing the MEMORY

Sun Sep 13, 2009 11:21 am

hello Adeneo,

You are right! I have setted correctly the SDRAM controller and now is working.

Is there a way to know exactly the amount of memory recognised by wince. in the control panel->system properties I see in the memory box about 95732 KB RAM, is it OK?

many thanks
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Re: AT91SAM9263 Increasing the MEMORY

Tue Sep 22, 2009 10:04 am

Hi,

You are right, control panel->system properties are good solution to know the amount of RAM.

BR

Adeneo
tecnors
Posts: 6
Joined: Thu Apr 09, 2009 12:07 pm

Re: AT91SAM9263 Increasing the MEMORY

Tue May 25, 2010 10:03 am

I tried to make changes to increase the memory to 128MB but when I build the first boot, this has a size greater than 4Kbyte.

In particular the size on disk of "firstboot.bin" are 4096 but when I convert it into .nb0 file (I used cvrtbin) the size is 8304 byte

Any suggestions?
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Re: AT91SAM9263 Increasing the MEMORY

Mon Jun 21, 2010 1:41 pm

Hi tecnors,

Are you generating Firstboot in release mode, because you mustn't compile it in debug mode?

HTH
warrell
Posts: 1
Joined: Mon Sep 13, 2010 4:10 pm

Re: AT91SAM9263 Increasing the MEMORY

Mon Sep 13, 2010 5:26 pm

Hi, We are having problems making 128Mb available to Android/Linux. Do we have to change the Controller settings for this. Can you let me have an example of what they are and possibly how to do it for Linux.

Thanks very much!

Warrell

Got this from Ronetix :-

edit include/configs/pm9263.h and change on line 98 from
"AT91_SDRAMC_NC_9" to "AT91_SDRAMC_NC_10", and also the line 224 from
"#define PHYS_SDRAM_SIZE 0x04000000" to "#define
PHYS_SDRAM_SIZE 0x08000000"
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Re: AT91SAM9263 Increasing the MEMORY

Fri Sep 24, 2010 11:37 am

Hi warrell,

I think your are not on the right forum. This is a WinCE forum...

HTH

If this answer solves your problem, please edit the subject of this post by adding [Solved] at the beginning of the subject.

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 6 guests