Skip to contentSkip to conversation

SDRAM Burst Read/Write Test

U-Boot-Users Jeff Stevens 2 participants 2 messages Jan 13, 2004

lore
Share & tools
lore
#0 lore raw

I think I am having problems with the UPM settings for my burst read/write. I have verified that my single read/write and refresh work by writing memory tests that write all ones, all zeros, rolling ones, and rolling zeros, and then read the patterns back to verify they were saved. How can I do the same thing to check my burst read/write? Is there a C function I can call, or do I just need to inline "lmw"? I seem to be having a similar problem to Sam, where U-Boot crashes when relocating U-Boot to SDRAM. It crashes in relocate_code, which is probably a burst read/write problem (from reading Sam's posts).

Thanks,
- Jeff Stevens

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

#1 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

I think I am having problems with the UPM settings for my burst read/write. I have verified that my single

As pointed out several hundret times before, this usually has nothing to do with the UPM setup, but is a consequence of missing or bad initialization sequence of your SDRAM chips.

Quoted 2 lines

verify they were saved. How can I do the same thing to check my burst read/write? Is there a C function I

Boot Linux. If it's running with a lot of network traffic (like with root filesystem mounted over NFS) you are pretty safe. For a very less reliable test, use TFTP to download a large file under U-Boot.

Quoted 5 lines

can call, or do I just need to inline "lmw"? I seem to be having a similar problem to Sam, where U-Boot crashes when relocating U-Boot to SDRAM. It crashes in relocate_code, which is probably a burst read/write problem (from reading Sam's posts).

Right. It crashes when the CPU starts instruction fetches from SDRAM, using burst mode to fill the cache lines.

Best regards,

Wolfgang Denk

Signature · 5 lines
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The use of Microsoft crippleware systems is a sin that  carries  with
it its own punishment.
         -- Tom Christiansen in <[email protected]>