public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Asemann <peter.asemann@web.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Some (minor?) SDRAM problems
Date: Thu, 19 May 2005 16:43:22 +0200	[thread overview]
Message-ID: <428CA60A.2040006@web.de> (raw)

I'm having problems with the SDRAM of my custom board.
I'm not yet running u-boot but testing the SDRAM setup with a debugger.

Basically it works. The problem also seems not to be a refresh problem:

1) If something is in the memory, the memory contents don't fade or change
2) Writing to memory seems to flip some bits, the faster the clock is, 
the more, it seems
3) Reading from memory also faciliates bit errors from time to time, but 
much less than writing to memory

I've tested this by writing a few KByte of text into the SDRAM and then 
reading it back, comparing the two files and counting the number of 
changed bytes with cmp -b -l <file1> <file2> | wc
The result is that about 15% of the bytes are corrupted after
writing the file two memory and reading it back.

If I read out the data from memory multiple times and compare the 
results of the reads, there is only a minor difference of about 1%.
That's why I think the writing is the main problem.

I don't use burst reads/writes, only single reads/writes.

Any suggestions what is the probable reason for this behaviour?

I'm using an MPC875, programmed with microcode from a Micron SDRAM 
interfacing example + self-made SDRAM setup code.

Best regards,

Peter Asemann

                 reply	other threads:[~2005-05-19 14:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=428CA60A.2040006@web.de \
    --to=peter.asemann@web.de \
    --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