Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I'm currently using SDK_3.1.1 and likely find a bug in "wicked_apps_erase" when calling "wiced_framework_app_erase".
The api is used to erase specified application depended on app header location was stored in DCT, if I understand the code correctly, the problem is using "app_header.sectors[ index ].start" as maximum sectors need to be erased, it's not quite right, but should be app_header.sectors[ index ].count instead, otherwise unexpected sectors will be erased.
Thank you for raising this. We are aware of the bug, and hopefully it would be fixed in the next patch.
However you don't need to call wiced_apps_erase to write a new file, as the write function have an embedded erase per section inside it. This is usually to avoid long delays in erasing the full flash at start.