meiFlashMemoryGet

Declaration
long meiFlashMemoryGet(MEIFlash flash,
                       void     *dst,
                       void     *src,
                       long     count)
Required Header stdmei.h
Description

FlashMemoryGet copies count bytes of actual flash memory (flash, starting at address src) to application memory (starting at address dst).

You should calculate the src pointer by considering flash memory as a stream of bytes, because FlashMemoryGet will adjust the pointer for the actual type of flash memory.

meiFlashMemoryGet(...) is a low-level method that reads directly from actual flash memory and is called primarily by other flash methods, while meiFlashDataGet(...) reads from the flash cache and is called only by applications and utilities.

XMP Only

flash memory is of type unsigned long *.

Return Values
MPIMessageOK if FlashMemoryGet successfully copies flash memory to application memory
See Also meiFlashMemorySet