Skip to contentSkip to conversation

Question about protection registers in intel strataflash

DISCUSSION Stefan Thomasson 1 participant 1 message Dec 4, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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.