public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Bruce Penrod <bmpenrod@endruntechnologies.com>
To: linux-mtd@lists.infradead.org
Subject: ST Micro M29W641D clone of AM29LV641D needs extra reset command
Date: Sat, 10 Jul 2004 00:13:07 -0700	[thread overview]
Message-ID: <40EF9703.1010907@endruntechnologies.com> (raw)

Ths ST Micro M29W641D nor flash chip is a clone of the AMD AM29LV641D. 
As usual, it's not quite a perfect clone and I've solved a problem in 
using it with the cfi_cmdset_0002() probe that is included in the 2.4.26 
kernel mtd driver.

The difference in the two chips is that after a cfi query command is 
performed while in the auto-select state, the ST Micro chip needs two 
reset commands to return to the read state.  The first reset command 
only causes the ST Micro chip to go back to the auto-select state.  The 
AMD part jumps all the way back to the read state with only one reset 
comand.

So the very simple fix which seems to work for me is to add a second 
reset command after the existing one at the bottom of cfi_cmdset_0002(). 
  This is the only place in the mtd code where I found cfi query being 
performed while in the auto-select state.

I haven't tried to determine if this is a common problem across the 
entire ST Micro AMD clone flash product line, but the second reset 
command can do no harm and might solve problems for many.

Bruce

                 reply	other threads:[~2004-07-10  7:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=40EF9703.1010907@endruntechnologies.com \
    --to=bmpenrod@endruntechnologies.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