C API for BALTECH SDK

§ brp_DHWCtrl_Sm4x00EraseFlash()

brp_errcode brp_DHWCtrl_Sm4x00EraseFlash ( brp_protocol  protocol)

Erase SM4x00 Flash. Must be issued directly after DHWCtrl.Sm4x00BootloaderStart. Erasing lasts about 20-30 seconds. Use DHWCtrl.Sm4x00WaitForFlashErase to find out when it has been finished.

Parameters
[in]protocolused to execute the command