6.4 Erase Subroutine
The erase subroutine is shown in Figure 6-5. The erase subroutine consists of the following steps:
- Once the program enters Erase mode, the target memory is initialized to perform an erase operation.
- An erase command is sent. If internal memory is used, the erase command needs to be sent for each page to be erased.
- When the erase is complete, the audio metadata is updated in the EEPROM.