Re: Nor flash menroy
- From: "Michel Verhagen (eMVP)" <michel@xxxxxxxxxx>
- Date: Thu, 17 Jul 2008 00:02:53 +1200
Dear Mr. Daniel Chi,
You are responding to a lot of questions with nonsense answers. Please stop doing this. If you want to answer questions that's a good thing, but please *read* the question before you blurt out some random things.
Thanks,
Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog
GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.
Daniel Chi wrote:
Please look up for some codes like the FMD_Init, FMD_Read, and so on..
These interfaces will help you to operate the hardware directly. MS
has provided some sample codes.
On Jul 16, 1:46 pm, chang <chinmoy.chittaran...@xxxxxxxxx> wrote: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,- Show quoted text -
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.
regardsHi ,[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 -- Hide quoted text -
- References:
- Nor flash menroy
- From: chang
- RE: Nor flash menroy
- From: JamesCool via PocketPCJunkies.com
- Re: Nor flash menroy
- From: chang
- Re: Nor flash menroy
- From: Daniel Chi
- Nor flash menroy
- Prev by Date: Re: MS-DOS commands in Win CE 5.0
- Next by Date: Re: BSP Development with BSPTempalte Issues
- Previous by thread: Re: Nor flash menroy
- Next by thread: Re: Nor flash menroy
- Index(es):
Loading