Skip to contentSkip to conversation

PCMCIA linear Flash (5V read/write)

DISCUSSION Alexander Kubicki 2 participants 2 messages Nov 6, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi all,

I´m using a compatible AMD Flash D-Series 4MB PCMCIA Card from Kingmax
(http://www.tecsys.de/memory_frame.htm)
I want to erase it blockwise or whole card and write to it adresswise as a raw device.
The tool "wrflash" (http://www.telos.de/download/default_e.htm#alios (in alios_source)) is designed for this purpose but crashes because of a segmentation fault. The same with ftl_format (only for testing)

The card is recognized by linux (cardctl info, cardctl ident, ftl_check /dev/mem0c0c).
Other PCMCIA-Cards (CompactFlash with Adapter, Adaptec-SCSI) work fine.

I use SuSE Linux 7.2 (standard SUSE Kernel 2.4.4 / cardmgr 3.1.25)

Can you provide some information?
Thanks in advance

Alexander

#1 lore raw

PCMCIA cards aren't yet supported by the Linux MTD code, they're still driven by the original PCMCIA flash code. It shouldn't be too difficult for you to make a proper MTD driver, and then you ought to be able to use PCMCIA flash just like any other flash devices.

--
dwmw2