public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Alice Hennessy <ahennessy@mvista.com>
To: "Fry, Dan" <dfry@bb.directv.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Improper Command Sequence
Date: Fri, 04 May 2001 16:54:55 -0700	[thread overview]
Message-ID: <3AF3414F.967F95DF@mvista.com> (raw)
In-Reply-To: 617933180D08D311AB500090273F1F96016767DE@storm.corp.directvbroadband.net

"Fry, Dan" wrote:

> Hi List,
>
> I'm still trying to get JFFS2 up and running on an atlas demo board.
>
> I have four 64Mbit Intel Strata Flash chips which are seemly being detected.
>
> physmap flash device: 2000000 at 1c000000
> Physically mapped flash: Found 2 x16 devices at 0x0 in 32-bit mode
>
> Physically mapped flash: Found 2 x16 devices at 0x1000000 in 32-bit mode
>
> JEDEC ID: 89 15
>
> 0: offset=0x0,size=0x40000,blocks=64
>
> 1: offset=0x1000000,size=0x40000,blocks=64
>
> However when I attempt to mount /dev/mtdblock0/ as JFFS2 I get the
> following:
>
> JFFS2: Erase block at 0x00000000 is not formatted. It will be erased
>
> JFFS2: Erase block at 0x00040000 is not formatted. It will be erased
>
> JFFS2: Erase block at 0x00080000 is not formatted. It will be erased
>
> JFFS2: Erase block at 0x000c0000 is not formatted. It will be erased
>
> JFFS2: Erase block at 0x00100000 is not formatted. It will be erased
>
> JFFS2: Erase block at 0x00140000 is not formatted. It will be erased
>
> JFFS2: Erase block at 0x00180000 is not formatted. It will be erased
>
> JFFS2: Erase block at 0x001c0000 is not formatted. It will be erased
>
> JFFS2: Erase block at 0x00200000 is not formatted. It will be erased
>
> Chip reports improper command sequence: status 0xa800a8

>
>
> Erase at 0x01fc0000 failed immediately: -5
>
> Chip reports improper command sequence: status 0xa800a8
>
> Erase at 0x01f80000 failed immediately: -5
>
> Chip reports improper command sequence: status 0xa800a8
>
> Erase at 0x01f40000 failed immediately: -5
>
> Chip reports improper command sequence: status 0xa800a8
>
> Erase at 0x01f00000 failed immediately: -5
>
> Chip reports improper command sequence: status 0xa800a8
>
> Erase at 0x01ec0000 failed immediately: -5
>
> Chip reports improper command sequence: status 0xa800a8
>
> Erase at 0x01e80000 failed immediately: -5
>
> Questions :
> 1) Does MTD support Intel Strata Flash??

Yes, it does.
a800a8 looks like the error status for low programming voltage detected -
you need to add some code to handle set_vpp (and unset_vpp) for your board.
The Intel Strata
allows the board designer to add an extra layer of data protection by making
the Vpen signal switchable or hardwired to Vpenh.   When Vpen < Vpenh, memory
cannot be written or erased.  Looks like your board is switchable, ie. you need
to set
and unset Vpen via software.

Alice

>
> 2) Could there be a locking problem?
> -- I looked through the code and it seems that locking is handled.
>
> Cheers,
>
>         - Dan
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2001-05-04 23:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-04 23:09 Improper Command Sequence Fry, Dan
2001-05-04 23:54 ` Alice Hennessy [this message]
2001-05-05 11:11   ` David Woodhouse
2001-05-05 15:13     ` Nicolas Pitre
2001-05-05 15:45       ` David Woodhouse

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=3AF3414F.967F95DF@mvista.com \
    --to=ahennessy@mvista.com \
    --cc=dfry@bb.directv.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