SPRUJ79 November 2024 F29H850TU , F29H859TU-Q1
An erase operation causes all bits in the target Flash memory region to read as 1. A previously programmed Flash word (128 bits) must first be erased before new data can be programmed into the Flash word. The minimum memory size that can be erased in one operation is a Flash sector; single bits or words cannot be erased individually.
Erase operations are performed by the Flash State Machine (FSM) inside the Flash controller. All bits in each target sector are erased together, including data and ECC bits. Erase operations must be initiated using the F29x Flash API, or a GUI front-end such as the Code Composer Studio Flash plug-in or UniFlash. The Flash API always erases sectors from both banks of an interleaved pair when an erase command is issued. When using the Flash API, erase is a non-blocking operation, so the application can perform other tasks while waiting for an erase command to complete.
Bank erase operations are also supported on this device. When performing bank erase, special sectors such as SECCFG and BANKMGMT are not included in the erase operation and must be erased separately.