14.5.5 Erasing Flash Sectors

Prior to programming a Flash page, the 4K block containing this Flash page must be erased by using the EWP command.

Note: If a large amount of data must be programmed, for example, data spanning several 4K or 32K blocks or 128K sectors, it is advisable to use the HW Erase signal to erase the entire Flash prior to writing data into the Flash.

The above example shows a successful EWP command. However, if an error occurs during the erase operation the FPPI Monitor raises the RESP line as shown below: