.

meiFlashDataGet

Declaration

 
long meiFlashDataGet(MEIFlash flash,
                     void     *dst,
                     void     *src,
                     long     count)
 

Required Header: stdmei.h

Description

meiFlashDataGet gets count bytes of flash data memory starting at address src and puts (writes) them in application memory starting at address dst. The src pointer must point into the MEIXmpData{...} structure defined in xmp.h and be based on the firmware address (MEIXmpData *) returned by mpiControlMemory(...).

Your application cannot access Flash memory directly; instead your application will access the host-resident flash memory cache maintained by flash.

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

 
Return Values
MPIMessageOK  

See Also

mpiControlMemory | meiFlashMemoryGet | meiFlashDataSet

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering