public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot running on DDR fails to detect the CFI compliant flash
Date: Tue, 19 Jan 2010 17:39:42 +0100	[thread overview]
Message-ID: <201001191739.42817.sr@denx.de> (raw)
In-Reply-To: <b9c1f3ac1001190822w2869b579h2ad94603e213ffd0@mail.gmail.com>

On Tuesday 19 January 2010 17:22:33 prakash bedge wrote:
> What I find is *VERY* helpful when trying to understand flash control
>  issues is to *manually* do the QRY write sequence (see your flash data
>  sheet) by using memory write/read commands from the u-boot command prompt
> I tested the same using "mw" and "md" commands from uboot prompt for read
> CFI query command. But test failed.
> 
> Log details:
> mw 0xfc000000 0xf0
> mw 0xfc000055 0x98
> md 0xfc000010

Please make sure to use the byte commands instead:

=> mw.b 0xfc000000 0xf0
=> mw.b 0xfc000055 0x98
=> md.b 0xfc000010

Otherwise you will access the FLASH 32bit wise. Please re-check with this 
version.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

  reply	other threads:[~2010-01-19 16:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-15 13:23 [U-Boot] U-boot running on DDR fails to detect the CFI compliant flash prakash bedge
2010-01-18  8:45 ` Stefan Roese
2010-01-19  6:24   ` prakash bedge
2010-01-19 13:49     ` Stefan Roese
2010-01-19 13:58       ` Jerry Van Baren
2010-01-19 14:19         ` Wolfgang Denk
2010-01-19 16:22         ` prakash bedge
2010-01-19 16:39           ` Stefan Roese [this message]
2010-01-19 16:44           ` Albert ARIBAUD
2010-01-20  9:44             ` prakash bedge
2010-01-20 13:05               ` Jerry Van Baren
2010-01-21 14:23                 ` prakash bedge
2012-02-15  8:14   ` Francisco

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=201001191739.42817.sr@denx.de \
    --to=sr@denx.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