Skip to contentSkip to conversation

JFFS2 problem on ST M29W640DB (90 ns)

DISCUSSION christoph glaeser 1 participant 1 message Oct 21, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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