Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Blocks in the EPCS flash memory

Hi all,

In my project iam writing to the EPCS through Nios2..

In the EPCS data sheet it is specified that the organisation of the flash

is in sectors and pages and each page is of 256 bytes ,thats clear

but in the software development handbook of nios 2 it is mentioned that the API write to the Flash in block level..now i am in a utter state of confusion

what does the block,sector and page signify to.

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Block is equivalent to sector.

    Don't worry about page size. It's not likely relevant to what you are doing. Just make note that you have to erase an entire block (sector) at a time.

    Jake
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    @jakobjones

    Thank you jake..

    now its clear, could i get ur contact number so that i can discuss with u any serious problems which are occurring in my project..
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    @jakobjones

    I put a service request to Altera my support ,there he has mentioned like, the EPCS memory can be written in page wise...

    does that mean every time the entire page will be erased before written in to that rather than the sector(block) being erased..
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    These devices have data sheets. I wonder how there can be any doubt on write and erase behaviour. It's also useful to understand the memory organisation - in used terms. Actually a page is a sub-entity of a sector in EPCS. The available erase modes are bulk erase and sector erase, any programming has to reflect this fact.