The Program Flash GUI menu within SDK does not provide an option to only erase the flash memory.
However the program_flash tool does provide a specific erase only option in command line mode.
Use the XSCT console and issue the following command:
Note: The program_flash utility only allows you to erase per the size of image file.
It is not possible to erase areas bigger than the image.