From: David Hawkins <dwh@ovro.caltech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] best way to debug memory address problems?
Date: Thu, 06 Sep 2007 16:10:08 -0700 [thread overview]
Message-ID: <46E088D0.9000208@ovro.caltech.edu> (raw)
In-Reply-To: <bfa0697f0709061557x628fd5eeo9f10d32cc1b31d21@mail.gmail.com>
Hi Alan,
> Help; I'm trying to figure out if these errors are hardware or
> software. And of course, this is our first ppc/uboot system, so I'm
> still stepping through a lot of learning as I go.
>
> I'm supposed to have a memory region from 0 to 7fff_ffff assigned to
> our 128MB memory. However, I run into several issues when trying to
> run mtest. I end up with an large sections mis-behaving. I don't
> see any conflicts in the BRx registers, and I believe my OR1 is set up
> properly, so I'm not sure how to proceed.
First thing would be to start with an oscilloscope.
I'm going to have to do this in a week or two.
Is your memory in a module, or is it directly soldered?
Is the memory SDRAM, DDR, DDR2, etc.?
Regardless of the memory type, use a scope to look
at the waveforms, relative timing of clock and data,
and compare the measurements to the data sheet.
The memory controllers have lots of options with
regards to drive strength, and timing, so those need
to be customized to a specific board. Chips such
as DDR also have internal registers for configuring
drive strength.
For example, on the MPC8349EA-MDS board, they use a
DDR DIMM module, and require a termination regulator.
On my design, the DDR memory will be on the board,
and space was a problem, so we simulated 2.5V DDR without
a 1.25V termination regulator. The system works in theory :)
But I know I will be scoping things out and messing with
the drive strength registers using the BDI2000 to talk
to the board before I even attempt to run a memory
test, let alone attempt to boot from Flash.
Cheers,
Dave
next prev parent reply other threads:[~2007-09-06 23:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-06 22:57 [U-Boot-Users] best way to debug memory address problems? Alan Bennett
2007-09-06 23:10 ` David Hawkins [this message]
2007-09-07 1:37 ` Jerry Van Baren
2007-09-07 10:26 ` Jerry Van Baren
2007-09-10 21:51 ` Alan Bennett
2007-09-11 12:51 ` Jerry Van Baren
2007-09-11 15:18 ` Alan Bennett
2007-09-11 15:27 ` Jerry Van Baren
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=46E088D0.9000208@ovro.caltech.edu \
--to=dwh@ovro.caltech.edu \
--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