1 of 1 people found this helpful
One way would be to program the device with an empty application. This will overwrite your previous application in the flash.
We also have an API wiced_hal_sflash_erase() which can be used to delete particular bytes in the flash. Please check wiced_hal_sflash.h for more details.
Also, you can try using 'Erase' option in Cypress Programmer.