Improper Command Sequence

Alice Hennessy ahennessy at mvista.com
Fri May 4 19:54:55 EDT 2001


"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/





More information about the linux-mtd mailing list