cfi_cmdset_0002 -- erase suspends broken.

David Vrabel dvrabel at
Mon Dec 15 10:54:33 EST 2003

> +			if (((oldstatus ^ status) & dq6) != dq6)

This should be
     if (((oldstatus ^ status) & dq6) == 0)
to account for interleaved chips (not that mine are). (Thanks Steve Wohl).

The problem with the occasional bit errors appears to only occur when 
the erase is suspended for a write so I've temporarily disabled that.

It also appears to not be toggle/status bits as the flash reads the same 
after a hard reset.

David Vrabel
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web:

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit

More information about the linux-mtd mailing list