Improper Command Sequence

Nicolas Pitre nico at cam.org
Sat May 5 11:13:57 EDT 2001


On Sat, 5 May 2001, David Woodhouse wrote:

>
> ahennessy at mvista.com said:
> > > Chip reports improper command sequence: status 0xa800a8
>
> > 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.
>
> Bah. And I need to fix the blinkin' error reporting so it prints the
> correct message.
>
> -		if (chipstatus & 0x30) {
> +		if ((chipstatus & 0x30) == 0x30) {
>  			printk(KERN_NOTICE "Chip reports improper command sequence: status 0x%x\n", status);

... and don't forget possible chip interleaves.


Nicolas





More information about the linux-mtd mailing list