SLAU319AF July 2010 – September 2022
The erase check command verifies the erasure of flash memory within a certain address range. It is password protected.
The 16-bit block start address is defined in AL (low byte) and AH (high byte). The 16-bit block length is defined in LL (low byte) and LH (high byte). Both can be either even or odd numbered to allow odd boundary checking.
If the erase check of the appropriate data block was successful (all bytes contain 0FFh), an acknowledge character DATA_ACK is sent back by the BSL. Otherwise, the BSL confirms with a DATA_NAK and the first non-erased location address + 1 is stored in the error address buffer at address 0200h (021Eh for F14x devices).
This command is not a member of the standard command set. It is implemented in BSL version V1.60 and higher or in the loadable bootloader BL_150S_14x.txt.