- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I previously asked here about Advanced Sector Protection. I have a new question.
I want to use Password Sector Protection to prevent rewriting of the first 1 sector (256 KB).
Should the start address of the sector be specified for the Address of PPB Program (PPBP:E3h) and PPB Read (PPBRD:E2h)?
I think ”the start address of the sector" is below, is it correct? :
NOR flash in address space start address of sector 0 (for example, 0x2000 0000) + sector size (256KB) x offset for the number of sectors
Do you have more detailed materials?
I already check S25FL512S datasheet and AN200452, but I cannot understand setting value.
Thanks,
Tetsuo
Solved! Go to Solution.
- Labels:
-
Serial NOR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tetsuo,
Your understanding of 'the start address of the sector' is correct. It is the zeroth location address for that particular sector.
However, the starting address of the memory space should not be added to it.
For example, for zeroth sector, the starting address will be 0x00, and similarly for other sectors the address will be
(0x00 + (256KB*offset for the number of sectors))
Regards,
Apurva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tetsuo,
Your understanding of 'the start address of the sector' is correct. It is the zeroth location address for that particular sector.
However, the starting address of the memory space should not be added to it.
For example, for zeroth sector, the starting address will be 0x00, and similarly for other sectors the address will be
(0x00 + (256KB*offset for the number of sectors))
Regards,
Apurva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apurva-san,
Thank you for your answer.
I understand.