Hi All,
I would like to ask a question NOR flash.
Does there exist the concept of “page” in NOR flash?
In function norflash_test( ) of EVM6437, there is the following code snippet:
flash_test.c said:
/* Determine the total # number of pages of Flash */
npages = FLASH_PAGES;
nbytes = npages * FLASH_PAGESIZE;
printf( " %d Pages\n", npages );
printf( " %d Mbytes\n", nbytes >> 20 );
Whereas within the command definition of Spansion’s NOR flash which is used on EVM6437, there is no such thing of “page” at all. There are only two types of erase:
1) Chip erase
2) Sector erase
And none of the other operations seem to deal with “page” at all.
So how come the “page” and “page size” in the function? Are they necessary in using NOR flash?
Thanks,
Zheng