There is an issue on ASMI Parallel II IP User Guide on performing "Sector Erase", "Subsector Erase" and "Sector Protect"
Below is the updated table 3 of the Altera ASMI Parallel II IP User Guide
Offset | Register Name | R/W | Field Name | Bit | Width | Description |
4 | SECTOR_ERASE | W | Flashaddress | 31:0 | 32 | Erased the sector location based on that specific flash address |
5 | SUBSECTOR_ERASE | W | Flash address | 31:0 | 32 | Erased the subsector location based on that specific flash address |
21 | SECTOR_PROTECT | W | Sector protect value | 6:2 | 5 | Value to write to status register to protect a sector. |