次の方法で共有


OEMMapMemAddr (Compact 2013)

10/16/2014

This function handles downloads that are destined for flash. OEMmapMemAddr remaps a flash-resident address to a unique RAM-based address so that flash memory run-time images can be temporarily cached in RAM while the download occurs. This provides enough time to handle the flash memory update while not stalling the download process because the flash memory operation typically takes more time than the download process.

Syntax

LPBYTE OEMMapMemAddr(
  DWORD dwImageStart,
  DWORD dwAddr
);

Parameters

  • dwImageStart
    [in] Starting address of the run-time image.
  • dwAddr
    [in] Address of a BIN record. If this address lies in a platform's flash memory address space, typically the offset from dwImageStart is computed and added to a RAM-based file cache area.

Return Value

Address from which the BIN record should be copied to provide file caching before and during the flash update process.

Requirements

Header

blcommon.h

Library

blcommon.lib

See Also

Reference

Boot Loader Download Functions