.

meiFlashMemoryVerify

Declaration

 
long meiFlashMemoryVerify(MEIFlash           flash,
                          const char         *fileName,
                          MEIFlashFileType   fileType);
 

Required Header: stdmei.h

Description

meiFlashMemoryVerify is function that verifies Flash memory against an input file. It takes a flash object, the filename of the input file, and a file type.

The fileType is used to tell the function what part of flash memory to verify (Code space, data space, both, etc. see MEIFlashFileType enum in flash.h).

NOTE: meiFlashMemoryVerify has been added back to the MPI in order to allow customers who wish to verify that the file loaded in flash is the same as the default file.

 
flash

a handle to a Flash object

*filename

a string

fileType

an enumeration corresponding to the flash file types

   
 
Return Values
MPIMessageOK  
MEIFlashMessageFLASH_VERIFY_ERROR  

See Also

 

 

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