Compartir a través de


OEMStartEraseFlash (Compact 2013)

10/16/2014

This function initiates the flash memory erasing process. It is called by the BLCOMMON framework.

Syntax

BOOL OEMStartEraseFlash(
  DWORD dwStartAddr,
  DWORD dwLength
);

Parameters

  • dwStartAddr
    [in] Address in flash memory from which to start erasing. The platform boot loader code checks whether this is a flash memory, block-aligned address. If it is not, the code handles it differently.
  • dwLength
    [in] Number of bytes of flash memory to be erased.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

blcommon.h

Library

blcommon.lib

See Also

Reference

Boot Loader Flash Functions