It is different from osFlashAllErase in not conducting status check when delete ends inside of osFlashAllEraseThrough.
The execution of osFlashAllEraseThrough is conducted immediately, however, it takes from several msec to several hundred msec to actually delete data. Determine whether or not deleting data is ended by executing osFlashCheckEraseEnd.
Do not execute other osFlash functions between osFlashAllEraseThrough and osFlashCheckEraseEnd. The status of Flash may be changed when other osFlash functions are executed prior to the execution of osFlashCheckEraseEnd.