public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Shawn Jin <xiaogeng_jin@agilent.com>
To: David Vrabel <dvrabel@arcom.com>
Cc: linuxmtd <linux-mtd@lists.infradead.org>
Subject: Re: DQ7 vs DQ6 in flash erase/write
Date: Mon, 15 Mar 2004 12:14:26 -0800	[thread overview]
Message-ID: <40560EA2.3000205@agilent.com> (raw)
In-Reply-To: <40558646.2040907@arcom.com>

David Vrabel wrote:
>>On Am29LV256M with the same board, the chip is writable but not erasable.
> I have this part and it works.  I suspect a board specific issue.
Two Am29LV256M chips are interleaved to form a 32-bit data bus.

>>After long time investigation on the problem I found the following comment
>>on ver 1.3 of cfi_cmdset_0002.c.
> 
> 1.3?  That's fossilized.
Right, :(. But it works for me. It comes from Denx's linux-ppc distribution.

>>   /* The dq6 toggling method of determining whether the erase is finished
>>    * doesn't seem to work for the Fujistu flash chips populated on the
>>    * TQM8260 board. We poll dq7 instead.
>>    */
> 
> This sounds like a problem with a particular Fujitsu chip.  It would 
> have been helpful for the person writing that comment to have mentioned 
> which chip had the problem.

I guess it's Wolfgang Denk. I'll ask him about this.

>>2. Why was the data polling algorithm (DQ7) removed?
> Earlier versions were a mess with code for reading the chip status all 
> over the place.  I refactored it for easier maintainance.

The code is much easier to understand than before. It'll be much better 
if the same functionalities are supported. ;)

> Are the chips interleaved?  I've never tested interleaving so that may 
> be broken.
Yes. The chips are interleaved. That may be the problem.

> MTD driver is accessing the flash.  This would certainly mess up the 
> toggle bit algorithm.  Perhaps the chip selects are setup incorrectly?
I don't think so far the chip selects would be messed up.

-Shawn.

  reply	other threads:[~2004-03-15 20:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-12 20:52 DQ7 vs DQ6 in flash erase/write Shawn Jin
2004-03-15 10:32 ` David Vrabel
2004-03-15 20:14   ` Shawn Jin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-10-20 14:19 York Sun

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=40560EA2.3000205@agilent.com \
    --to=xiaogeng_jin@agilent.com \
    --cc=dvrabel@arcom.com \
    --cc=linux-mtd@lists.infradead.org \
    /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