From: llandre <r&d2@dave-tech.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MC9328MXL/1 SDRAM initialization
Date: Fri, 13 Jan 2006 10:47:24 +0100 [thread overview]
Message-ID: <43C7772C.70809@dave-tech.it> (raw)
I have a question about how MC9328MXL/1 initializes SDRAM memories.
These is the instructions used to set up the Mode Command Register (file
board/mx1ads/lowlevel_init.S) for MX1ADS evalutaion board:
/* Issue Mode Register Command */
ldr r3, =0x08111800 /* Mode Register Value */
ldr r2, [r3]
In my understanding address lines are connected as follows:
SDRAM -> MC9328MXL
-------------------
A12 -> A13
A11 -> A12
A10 -> MA11
A9 -> MA10
A8 -> A10
A7 -> A9
A6 -> A8
A5 -> A7
A4 -> A6
A2 -> A5
A1 -> A3
A0 -> A2
Thus, when writing to address 0x08111800, microprocessor address lines
from A8 to A6 are set to 0. It implies that SDRAM address lines from A6
to A4 are set to 0. These lines are decoded by the SDRAM chips as CAS
latency. Allowed values are 010 (CAS latency = 2) and 011 (CAS latency =
3). The value 000 is reserved. So I think I'm misunderstanding how the
SDRAM controller works. Anybody can help me?
Thanks in advance,
llandre
DAVE Electronics System House - R&D Department
web: http://www.dave-tech.it
email: r&d2 at dave-tech.it
next reply other threads:[~2006-01-13 9:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 9:47 llandre [this message]
2006-01-13 10:29 ` [U-Boot-Users] MC9328MXL/1 SDRAM initialization Paolo Broggini
2006-01-13 11:51 ` llandre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43C7772C.70809@dave-tech.it \
--to=r&d2@dave-tech.it \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox