cancel
Showing results for 
Search instead for 
Did you mean: 

Bluetooth SDK

ChCh_3584941
New Contributor II

Working with the CYW20719B2 chip / ModusToobox. 

Is there a way to erase the application code from the internal flash (using the IDE or some other tool), so that the chip is back to it's 'Factory' state?

0 Likes
1 Solution
SheetalJ
Moderator
Moderator

Hi ChCh_3584941

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.

pastedImage_0.png

View solution in original post

1 Reply
SheetalJ
Moderator
Moderator

Hi ChCh_3584941

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.

pastedImage_0.png

View solution in original post