The Erase all function will clear everything in the flash memory.
Use Erase all in the following situations:
To use the Erase all function, follow the steps in section Selecting a board to program. Then click Erase all.