From: Philippe Bentz <philippe.bentz@dialine.fr>
To: linux-mtd@lists.infradead.org
Subject: M29W640DB bad address for writing (0x554)
Date: Mon, 6 Mar 2006 15:26:27 +0100 [thread overview]
Message-ID: <200603061526.28697.philippe.bentz@dialine.fr> (raw)
Hi all,
I'm working with a M29W640DB, a 16 bits flash, in a 8 bits mode.
With CFI detection the MTD driver fails to program memory.
After a lot of debugging we discover that the cfi_send_gem_cmd generates a
command with a 0x554 adress that could'not be recognized by the flash whereas
it's waiting for 0x555.
The formula cmd_ofs * interleave * type (our type is 2 and cmd_ofs 0x2AA)
seems to be incorrect. So we add a conditional statement after the formula
that changes 0x554 to 0x555, and it works perfectly.
So what's the issue ?
It seems that this formula will never work for 16bits flash that are used in 8
bits mode ?
Thanks for your help.
--
Philippe Bentz
next reply other threads:[~2006-03-06 14:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 14:26 Philippe Bentz [this message]
2006-10-18 15:20 ` M29W640DB bad address for writing (0x554) Ronny L Nilsson
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=200603061526.28697.philippe.bentz@dialine.fr \
--to=philippe.bentz@dialine.fr \
--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