Re: Nor flash menroy
- From: chang <chinmoy.chittaranjan@xxxxxxxxx>
- Date: Tue, 15 Jul 2008 22:46:10 -0700 (PDT)
Hi ,
Enough thanks to all of you
Hi saga/ALL,
As per you the bank and block are same? and i am using a old nor which
is alredy in market "S29NS128N" and it is showing the layout like this
way :
S29NS128N:
->Bank 0-14 Sectors
120 Mb total:
.Quantity =120 Size =64 Kwords
->Bank 15 Sectors
8 Mb total:
A)Quantity=4 Size =16 Kwords
B)Quantity=7 Size =64 Kwords
I am using it for flash media but i am just confused that if this is
layout then what will be the block size and are there different
types(density) of blocks are present ?
Please help me to show the right way to read this nor .
On Jul 15, 4:23 pm, "JamesCool via PocketPCJunkies.com" <u42351@uwe>
wrote:
Hi Chinmoy,
As you mentioned, the FAL will write the metadata into sector infor area, if
this location is not being erased first, it still can write somethings on it?
Best regards,
James
Saga wrote:
Hi chang
i hope this very short description will help you:
A nor flash memory consists of multiple erase blocks (your bank) and one
block is divided into multiple sectors plus block metadata. Every Sector is
divided in sector data to save the data and sector metadata to save the state
of a sector.
You can read or write from/ to any memory position inside the block, but to
erase something, you must erase the complete block. This is NOR design.
Filesystems operate always on sectors, which is the single unit of a block.
But the filesystem does not operate on the NOR directly, it uses a CE
component called FAL, which is the interface to the flash. and manages all
flash sectors. If the filesystem erase something, the appropriate sector
will be marked (in the metadata area). There is a FAL machanism called
background reclaiming, which checks all the sectors on flash and, if it is
neccesary move sectors of one block to another one to erase the old block and
free ressources. The Filesystem does not notice the changes, because it uses
the FAL to acces to the flash. The FAL translate the Filesystem flash sector
address to the real sector address.
So, on NOR you can only erase blocks, the Filesystems access Sectors, which
is a unit of a block. The OS manages the sectors and delete blocks if
necessary.
regards
Hi ,[quoted text clipped - 8 lines]
I am a very new in nor desigining . While reading the spec/dat*** i
Thanks
Chinmoy
--
Message posted viahttp://www.pocketpcjunkies.com- Hide quoted text -
- Show quoted text -
.
- Follow-Ups:
- Re: Nor flash menroy
- From: Saga
- Re: Nor flash menroy
- From: Daniel Chi
- Re: Nor flash menroy
- References:
- Nor flash menroy
- From: chang
- RE: Nor flash menroy
- From: JamesCool via PocketPCJunkies.com
- Nor flash menroy
- Prev by Date: RE: Can't open Serial port
- Next by Date: Re: Can't open Serial port
- Previous by thread: RE: Nor flash menroy
- Next by thread: Re: Nor flash menroy
- Index(es):