From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Flash Erase/Write error in uboot
Date: Sat, 5 May 2007 07:18:12 +0200 [thread overview]
Message-ID: <200705050718.13230.sr@denx.de> (raw)
In-Reply-To: <f3cea0230705041946n11142005hb06819d136775e6e@mail.gmail.com>
On Saturday 05 May 2007 04:46, Shiju Mathew wrote:
> > > Looks likes some other issue. On our Freescale imx31 ADS board we have
> > > connected an extension board(RAM like device) to CS1 through the
> > > logical analyser interface. The problem happens when I connect the
> > > extension board(even without powering up the extension board). If I
> > > remove the extension board the flash erase/writes are successfull.
> > >
> > > Thanks,
> > > Shiju
> >
> > Looks like an hardware/interfacing issue...
> >
> I was debugging the problem further. We have two other bootloaders
> running
> on this board - redboot and Eboot.
Wow, 3 bootloaders for one board! What luxury. :)
> Both does not have this problem. Only on
> Uboot I am experiencing this problem. On debugging what I could find is
> that when I erase a sector, the function flash_is_busy() returns immidiatly
> with success(not busy). Usually it should loop for a while in this function
> before returning that the flash is not busy. Before writing to the erased
> sector, the "md" command displayed 0xffffffff for the erased sector. But
> when I tried to write data to the erased location using cp.b, the function
> flash_write_cfiword() returns with error "flash is not erased" since it
> failed to find 0xffffffff in the erased locations(Check if Flash is
> (sufficiently) erased). So why does "md" displays 0xffffffff for erased
> locations and flash routine says it is not 0xffffffff ? Could someone
> explain why this difference.
Does this problem also occur when you disconnect the "extension board"?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
=====================================================================
next prev parent reply other threads:[~2007-05-05 5:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-02 0:22 [U-Boot-Users] Flash Erase/Write error in uboot Shiju Mathew
2007-05-02 0:29 ` Wolfgang Denk
2007-05-02 16:24 ` Shiju Mathew
2007-05-02 23:10 ` Tolunay Orkun
2007-05-03 18:40 ` Shiju Mathew
2007-05-03 21:31 ` Tolunay Orkun
2007-05-05 2:46 ` Shiju Mathew
2007-05-05 5:18 ` Stefan Roese [this message]
2007-05-05 5:26 ` Tolunay Orkun
[not found] ` <c166aa9f0705050648p16b150c2sfb123108f7b0bce6@mail.gmail.com>
2007-05-08 18:36 ` Shiju Mathew
2007-05-08 18:59 ` Wolfgang Denk
2007-05-02 5:01 ` Stefan Roese
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=200705050718.13230.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