Re: COLDFIRE RAM RECONFIGURATION

"Stern, Allon" <[email protected]> Sun, 18 Apr 2010 08:21:10 -0400
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <[email protected]>
=0D=0AOn Apr 16, 2010, at 8:09 AM, Alessandro Guerra wrote:=0D=0A> I have h=
ave a COBRA5329 board mounting Coldfire MCF5329, with dBug=0D=0A> and uClin=
ux=2E=0D=0A> On the board there were 16 MB of ram, but I ordered=0D=0A> to =
mount 32 MB to write a better application=2E=0D=0A> dBug is configured to s=
ee 16MB of ram and I cannot recompile it=2E=0D=0A> The only way I have to s=
ee the total 32MB ram is to reconfigure=0D=0A> the sdram controller on uCli=
nux, beacuse at the moment uClinux=0D=0A> sees only 16MB (the dBug configur=
ation)=2E=0D=0A> I tried to simply rewrite the various registers, but it do=
esn't=0D=0A> work=2E=0D=0A> Does anyone know how to reconfigure the sdram c=
ontroller at run=0D=0A> time?=0D=0A=0D=0A=0D=0ANot sure if this is possible=
=2E The reason SDRAM configuration is done while running in the boot loader=
 is that the code is not running out of SDRAM at the time=2E If you're reco=
nfiguring SDRAM at runtime, then you're likely pulling the rug out from und=
er the CPU=2E If you really must reconfigure at runtime, you'd probably hav=
e to have the code copy to SRAM, run out of SRAM, then jump back to SDRAM, =
but even that requires intimate knowledge of the memory layout in the kerne=
l, etc=2E And if you throw an MMU into the mix, it's even more complicated=
=2E=0D=0A=0D=0AI'd recommend recompiling dBug, or changing to another boot =
loader, such as u-boot=2E I like u-boot=2E=0D=0A=0D=0A-=0D=0Aallon=0D=0A=0D=
=0A=0D=0A------------------------------------------------------------------=
------------------------=0D=0ADisclaimer=0D=0AThe information contained in =
this email is intended solely for the=0Ause of the individual(s) to whom it=
 is addressed=2E It may contain=0Aproprietary, privileged or other sensitiv=
e data=2E If you believe you=0Ahave received this email in error, please do=
 not share this email=0Awith anyone but instead notify the sender immediate=
ly=2E In addition,=0Aplease delete this email and any attachments from your=
 computer=2E=0D=0A
---
[email protected]              Send a post to the list.
[email protected]        Join the list.
[email protected]    Join the list in digest mode.
[email protected]     Leave the list.