mpiControlFlashVerify

Definition

  mpiControlFlashVerify(MPIControl	            control,
                        const char	            *fileName,
                        MPIControlFlashFileType  fileType);

 

Required Header: stdmpi.h
Change History: Added in 04.00.

Description

mpiControlFlashVerify is function that verifies the controller's firmware against an input file.

fileType specifies the part of firmware memory to verify.

control The controller that will have its firmware image verified.
fileName The name of the file to which the firmware image will be compared.
filesType The type of firmware image to verify.
Return Values
MPIMessageOK
MPIControlMessageFLASH_VERIFY_ERROR

Sample Code

void verifyMyFirmware (MPIControl control)
{
	MPI_RESULT returnValue =
			mpiControlFlashVerify(
       				control,
				"myFirmware.bin",
				MPIControlFlashFileTypeCodeAndData);

			msgCHECK(returnValue);
}

See Also

mpiControlFlashLoadFromFile | MPIControlFlashFileType