Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: AT91SAM9263 Increasing the MEMORY
PostPosted: Tue Sep 01, 2009 2:20 pm 
Offline

Joined: Fri Jan 16, 2009 10:46 pm
Posts: 44
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


Top
 Profile  
 
 Post subject: Re: AT91SAM9263 Increasing the MEMORY
PostPosted: Tue Sep 01, 2009 2:22 pm 
Offline

Joined: Fri Jan 16, 2009 10:46 pm
Posts: 44
sorry I'm working with WINCE 6.0


Top
 Profile  
 
 Post subject: Re: AT91SAM9263 Increasing the MEMORY
PostPosted: Thu Sep 10, 2009 8:58 am 
Offline

Joined: Fri May 14, 2004 9:58 am
Posts: 183
Location: France - USA
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


Top
 Profile  
 
 Post subject: Re: AT91SAM9263 Increasing the MEMORY
PostPosted: Sun Sep 13, 2009 11:21 am 
Offline

Joined: Fri Jan 16, 2009 10:46 pm
Posts: 44
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


Top
 Profile  
 
 Post subject: Re: AT91SAM9263 Increasing the MEMORY
PostPosted: Tue Sep 22, 2009 10:04 am 
Offline

Joined: Fri May 14, 2004 9:58 am
Posts: 183
Location: France - USA
Hi,

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

BR

Adeneo


Top
 Profile  
 
 Post subject: Re: AT91SAM9263 Increasing the MEMORY
PostPosted: Tue May 25, 2010 10:03 am 
Offline

Joined: Thu Apr 09, 2009 12:07 pm
Posts: 6
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?


Top
 Profile  
 
 Post subject: Re: AT91SAM9263 Increasing the MEMORY
PostPosted: Mon Jun 21, 2010 1:41 pm 
Offline

Joined: Fri May 14, 2004 9:58 am
Posts: 183
Location: France - USA
Hi tecnors,

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

HTH


Top
 Profile  
 
 Post subject: Re: AT91SAM9263 Increasing the MEMORY
PostPosted: Mon Sep 13, 2010 5:26 pm 
Offline

Joined: Mon Sep 13, 2010 4:10 pm
Posts: 1
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"


Top
 Profile  
 
 Post subject: Re: AT91SAM9263 Increasing the MEMORY
PostPosted: Fri Sep 24, 2010 11:37 am 
Offline

Joined: Fri May 14, 2004 9:58 am
Posts: 183
Location: France - USA
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.

_________________
Adeneo Embedded
http://www.adeneo-embedded.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: