public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Vrabel <dvrabel@arcom.com>
To: linuxmtd <linux-mtd@lists.infradead.org>
Subject: Re: DQ7 vs DQ6 in flash erase/write
Date: Mon, 15 Mar 2004 10:32:38 +0000	[thread overview]
Message-ID: <40558646.2040907@arcom.com> (raw)
In-Reply-To: <20040312205250.8650.qmail@web20729.mail.yahoo.com>

Hi,

> 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.

> 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.

> 
>    /* 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.

> 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.

> 3. Will polling DQ7 be supported later?

If someone implements it in a clean way I don't see why not.

A quick look at the AM29PL320 datasheet indicates that the chip supports 
the DQ6 toggle algorithm.  I'm leaning towards a board specific issue 
unless you have information from AMD regarding non-functionality of the 
toggle-bit algorithm on this chip?

Are the chips interleaved?  I've never tested interleaving so that may 
be broken.

Other than that all I can suggest is that maybe something other than the 
MTD driver is accessing the flash.  This would certainly mess up the 
toggle bit algorithm.  Perhaps the chip selects are setup incorrectly?

David Vrabel
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/

  reply	other threads:[~2004-03-15 10:33 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 [this message]
2004-03-15 20:14   ` Shawn Jin
  -- 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=40558646.2040907@arcom.com \
    --to=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