Skip to contentSkip to conversation

Does MTD include support for STM M58LW064?

DISCUSSION George G. Davis 2 participants 3 messages May 11, 2001 – May 14, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Greetings,

I've reviewed the latest code and believe the answer is no.

But I'll ask the question anyway in case I missed it: does MTD include support for the ST Microelectronics M58LW064 flash device? This device supports CFI commands. But I don't see any support for it in the current MTD CVS sources.

TIA and appologies if this has been asked already! : )

Signature · 2 lines
Regards,
George

begin:vcard
n:Davis;George
tel;work:603/880-1414
x-mozilla-html:FALSE url:http://www.mvista.com
org:MontaVista Software, Inc.
adr:;;46 Pine Street Extension;Nashua;NH;03060;USA version:2.1 email;internet:[email protected] title:Software Engineer x-mozilla-cpt:;-5376
fn:George G. Davis
end:vcard

#1 lore raw
Quoted 4 lines · [email protected] said:

But I'll ask the question anyway in case I missed it: does MTD
include support for the ST Microelectronics M58LW064 flash device? This device supports CFI commands. But I don't see any support for it in the current MTD CVS sources.

There's no such thing as 'CFI commands'. The only thing that's _common_ about the Common Flash Interface is the way you probe the chip to find out what commands it supports.

Looking at the datasheet for that chip, it seem to support command set number 0x20, which we don't currently have code to recognise. But at first glance, the command set described seems identical to the Intel chips.

Compare the commands listed in the datasheet with the ones in the Intel datasheets, and if the latter really is a subset of the (parts we actually use of the) former, then try hacking the CFI probe to treat cmdset 0x20 as if it was cmdset 1, and see what happens. It'll probably work.

--
dwmw2

#2 lore raw
Quoted 10 lines · David Woodhouse
Quoted 4 lines · [email protected] said:

But I'll ask the question anyway in case I missed it: does MTD
include support for the ST Microelectronics M58LW064 flash device? This device supports CFI commands. But I don't see any support for it in the current MTD CVS sources.

There's no such thing as 'CFI commands'. The only thing that's _common_ about the Common Flash Interface is the way you probe the chip to find out what commands it supports.

Thanks for the education. The part data sheet states "The device supports the CFI command set definition". My apologies for the syntactical error - I'm not an expert on the subject matter! : )

Quoted 8 lines

Looking at the datasheet for that chip, it seem to support command set number 0x20, which we don't currently have code to recognise. But at first glance, the command set described seems identical to the Intel chips.

Compare the commands listed in the datasheet with the ones in the Intel datasheets, and if the latter really is a subset of the (parts we actually use of the) former, then try hacking the CFI probe to treat cmdset 0x20 as if it was cmdset 1, and see what happens. It'll probably work.

Thanks. That's the impression I had - this device implements only a subset of the Intel/Sharp command set. At the moment I'm only investigating support for alternate sourcing of components. If we proceed with evaulating this device, I'll follow your recommendation and let you know how it goes.

Quoted 2 lines

--
dwmw2

Signature · 2 lines
Regards,
George

begin:vcard
n:Davis;George
tel;work:603/880-1414
x-mozilla-html:FALSE url:http://www.mvista.com
org:MontaVista Software, Inc.
adr:;;46 Pine Street Extension;Nashua;NH;03060;USA version:2.1 email;internet:[email protected] title:Software Engineer x-mozilla-cpt:;-5376
fn:George G. Davis
end:vcard