public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Protection registers and "top parameter" memory
@ 2005-03-31 18:39 Pavel Kiryukhin
  0 siblings, 0 replies; only message in thread
From: Pavel Kiryukhin @ 2005-03-31 18:39 UTC (permalink / raw)
  To: linux-mtd; +Cc: Pavel Kiryukhin

Hi all,
I can not write protection registers (OTP) on Intel StrataFlash Wireless 
L18 memory: otp_write reports "all ok", but I get 0xff back.
After some investigation I think I found a reason:
to initiate writing we need issue the Program Protection Register 
command at the parameter's partition base address + some offset.
My flash is so caled "Top Parameter" memory that has parameter partition 
at the top of memory map.
It seems that current driver assumes that Parameter partition starts at 
bottom of memory map.
So I simply changed the direction of "chip walk" in 
cfi_intelext_otp_walk [cfi_cmdset_0001.c] to top->bottom in case of 
Intel StrataFlash (based on cfi->id and cfi->mfr).
The first tested chip now should always correspond to parameter partition.
As I'm new to flash programming please tell me if this is a known issue 
and if not - is my approach correct?
--
I'm not in list so please answer (or cc) to savl@dev.rtsoft.ru
--
Thank you,
Pavel Kiryukhin,
RTSoft, Moscow, Russia.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-31 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-31 18:39 Protection registers and "top parameter" memory Pavel Kiryukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox