* ST Micro M29W641D clone of AM29LV641D needs extra reset command
@ 2004-07-10 7:13 Bruce Penrod
0 siblings, 0 replies; only message in thread
From: Bruce Penrod @ 2004-07-10 7:13 UTC (permalink / raw)
To: linux-mtd
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-10 7:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-10 7:13 ST Micro M29W641D clone of AM29LV641D needs extra reset command Bruce Penrod
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox