Is there a way to Erase Application code from Internal Flash?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ChCh_3584941
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

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
Moderator
First comment on KBA 750 replies posted 500 likes received

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