Smartmedia block mapping
David Woodhouse
dwmw2 at infradead.org
Tue Jul 22 16:17:58 EDT 2003
On Tue, 2003-07-22 at 16:05, Holly Gates wrote:
> Maybe I could see using the mapping table if it was on the card
> somewhere,
It is. It's in the 'out of band' area of the data blocks I believe --
see the SmartMedia specs for details.
> but ideally I could just write the binary file to the sectors
> in true, physical, incrementing order. Anyone know of a utility I could
> use to do this?
You need special hardware which gives you access to the raw flash
without doing the translation _for_ you. Most 'card readers' will do it
for you and hence you don't get this option.
> I suppose I could build a parallel port adapter and write some software
> or something, but that is annoying since I know the computer is capable
> of doing what I want if I could get at the right layer of the driver
> stack...
No, it's not. Your USB card reader doesn't let you have access to the
raw flash; it has the translation built-in.
Either implement the full SMTL in your FPGA, or make sure you use
hardware which accesses the flash directly, when writing to the device.
--
dwmw2
More information about the linux-mtd
mailing list