Forum Discussion
nwee0
New Contributor
6 years agoHello Shafiq. Thanks for your reply. Actually I wanted to do page erase.
From the userguide metioned 4 pages per sector. Let say i want to erase 1st page of
sector ID 1. Each page have 64Kb of flash memory.
To erase the 1st page , i need to disable the write protected mode and erase sector for sector ID 1 .
Example:
0xFF100000
(bit offset 22-20 set to 3'b001..... bit offset 23 set to 1'b0).
( 19-0 page erase address (Corresponding address 00000-0FFFF) to select 1st page erase.
Is that correct ?
nwee0
New Contributor
6 years agoHello Shafiq. I draw simple memory map address of pages to sector for max10 onchip flash (attached files jpg). And If I want to erase 2nd page for sector ID 1 , we write to csr 0xFE210000 ?
Regards.