* Question about protection registers in intel strataflash
@ 2002-12-04 13:52 Stefan Thomasson
0 siblings, 0 replies; only message in thread
From: Stefan Thomasson @ 2002-12-04 13:52 UTC (permalink / raw)
To: Linux MTD
Hi,
The calculation of ofs_factor does not seem to be
correct, at least not for the setup I'm using,
One 28F128j3a in word mode.
ofs_factor = cfi->interleave * cfi->device_type;
interleave is 1 (1 chip) and device_type is 2 (16 bit)
Which will lead to reads from 2*(ProtRegAddr+1) in
my case 0x202 but I know its located at 0x102.
Is the ProtRegAddr supposed to be a byte address
which need to be multiplied or is it a word address?
In 28f128j3a manual tables 20 and 21 it looks like
the same address should be used.
So I think only the cfi->interleave should be used.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-04 13:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-04 13:52 Question about protection registers in intel strataflash Stefan Thomasson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox