U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Laman <tlaman@rochester.rr.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Software emulation exception on entry into RAM
Date: Sat, 31 Jul 2004 08:04:34 -0400	[thread overview]
Message-ID: <410B8AD2.9050306@rochester.rr.com> (raw)
In-Reply-To: <20040730100242.63291C109F@atlas.denx.de>

Wolfgang Denk wrote:

>In message <410A157E.5060307@rochester.rr.com> you wrote:
>  
>
>>In my board specific code, after initialization of the SDRAM, I have 
>>    
>>
>code that writes the address as data to that address - write 0x0 to 0x0, 
>  
>
>>0x4 to 0x4, etc. After the Software Emulation Exception, I go into the 
>>SDRAM and the code is copied correctly in the used areas, and my pattern 
>>is in the other areas.
>>    
>>
>
>And which data are you RADING from SDRAM? 
>  
>
The data that was copied prior to the branch to SDRAM.

>  
>
>>Because of this, I don't think my SDRAM settings are being changed.
>>    
>>
>
>You wrote you are using a BDI2000 - you can use  it  to  single  step
>into  the  code  in  SDRAM.  What  does  this give? And if you get an
>exception - where does it happen? What was the incorrect data?
>
>  
>
I get an exception on the first access of SDRAM (the address branched to 
from flash). The data is correct. I will have access to a logic analyzer 
this weekend and will check out the SDRAM burst read access.

>You got the tools - use it to analyze your problem [or just save  the
>time   and  re-check  your  SDRAM  initialization  against  the  chip
>manufacturer's manual; at least this is what I would do if I  was  in
>your position.]
>
>  
>
I have checked the SDRAM initialization and it appears to be correct. 
With the logic analyzer, I will check out the burst read cycle.

>Best regards,
>
>Wolfgang Denk
>
>  
>

  reply	other threads:[~2004-07-31 12:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-30  7:41 [U-Boot-Users] Software emulation exception on entry into RAM Michael Bendzick
2004-07-30  9:31 ` Thomas Laman
2004-07-30 10:02   ` Wolfgang Denk
2004-07-31 12:04     ` Thomas Laman [this message]
2004-07-31 12:34       ` Wolfgang Denk
2004-07-30  9:59 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-07-30  1:06 Thomas Laman
2004-07-30  9:56 ` Wolfgang Denk

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=410B8AD2.9050306@rochester.rr.com \
    --to=tlaman@rochester.rr.com \
    --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