JFFS2 problem on ST M29W640DB (90 ns)
christoph glaeser
christoph.glaeser at truetzschler.de
Thu Oct 21 03:32:20 EDT 2004
Hello,
the problem is the Flash ST-M29W640DB itself:
"The Read/Reset command must be issued to return the device to the
previous mode (the Read Array mode or Autoselected mode). A second
Read/Reset command would be needed if the device is to be put in the
Read Array mode from Autoselected mode."
To solve this problem, change the funktion "cfi_cmdset_0002()" in File
"cfi_cmdset_0002.c":
...
cfi_send_gen_cmd(0xf0, 0x55, base, map, cfi, cfi->device_type, NULL);
/***********************************************************************************************/
/* Fixed 20.10.2004 (C.Gl.)
*/
/*
*/
/* Probleem: Flash ST
M29W640DB */
/* If the Chip is in "Read CFI Query Command"-Mode, the first
"Read/Reset"-Command will turn */
/* the Flash back to previous mode (=Autoselet-Mode); a second
"Read/Reset"-command would be */
/* needed if the device is to be put in the "Read Array"-mode from
Autoselected mode! */
/*
*/
cfi_send_gen_cmd(0xf0, 0x55, base, map, cfi, cfi->device_type, NULL);
/***********************************************************************************************/
return cfi_amdstd_setup(map);
}
Good Luck,
Christoph Glaeser
More information about the linux-mtd
mailing list