[uClinux-dev] Micron SDRAM and 5307/5407

Daniele Colonna d.colonna at dmtonline.com
Mon Mar 24 03:59:56 EST 2003


Hi Kendrick
I'm using a Micron MT48LC2M32B2 SDRAM with a 5307.
My initialization code is:

 asm(" MOVE.W #0x802A,D0");   //DCR0
   asm(" MOVE.W D0,(0x10000100)");

   asm(" MOVE.L #0x00000300,D0");  //DACR0
   asm(" MOVE.L D0,(0x10000108)");

   asm(" MOVE.L #0x007C0001,D0");  //DMR0
   asm(" MOVE.L D0,(0x1000010C)");

   asm(" MOVE.L #0x00000308,D0");  //precarica DACR0
   asm(" MOVE.L D0,(0x10000108)");

   asm(" MOVE.L #0xaaaabbbb,D0");  //
   asm(" MOVE.L D0,0xFF880800");

   asm(" MOVE.L #0x00008300,D0");  //refresh DACR0
   asm(" MOVE.L D0,(0x10000108)");
   for (i = 0; i < 200; i++);

   asm(" MOVE.L #0x00008340,D0");  //setta per mode register write
   asm(" MOVE.L D0,(0x10000108)");

   asm(" MOVE.L #0xaaaabbbb,D0");  //
   asm(" MOVE.L D0,0x00000800");


Regards
Daniele

----- Original Message -----
From: "Kendrick Hamilton" <hamilton at sedsystems.ca>
To: "uclinux" <uclinux-dev at uclinux.org>
Sent: Friday, March 21, 2003 8:11 PM
Subject: [uClinux-dev] Micron SDRAM and 5307/5407


> If anybody is using a Micron MT48LC4M32B2 SDRAM with a 5307 or 5407, could
> you please email me your initialization code. It is very tricky to get
> correct and it would save me a lot of trouble.
> TIA,
> Kendrick
>
> --
> Kendrick Hamilton E.I.T.
> SED Systems, a division of Calian Ltd.
> 18 Innovation Blvd.
> PO Box 1464
> Saskatoon, Saskatchewan
> Canada
> S7N 3R1
>
> Hamilton at sedsystems.ca
> Tel: (306) 933-1453
> Fax: (306) 933-1486
>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org




More information about the uClinux-dev mailing list