MPIControlFlashFileType

Definition

typedef enum {
	MPIControlFlashFileTypeNONE = 0,
	MPIControlFlashFileTypeCode,
	MPIControlFlashFileTypeDataInt,
	MPIControlFlashFileTypeDataExt,
	MPIControlFlashFileTypeSynqNet,
	MPIControlFlashFileTypeCodeAndData,
	MPIControlFlashFileTypeFPGA0,
	MPIControlFlashFileTypeALL     /*     Loads Code and all FPGAs (for .bin
                                               files that include the FPGA images) */
} MPIControlFlashFileType;

 

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

Description

MPIControlFlashFileType is an enumeration of file types. This enumeration is used to specify what firmware code and/or data is to be accessed on the controller mpiControlFlashSaveToFile.

MPIControlFlashFileTypeCode Controller processor code only.
MPIControlFlashFileTypeDataInt Controller internal data only.
MPIControlFlashFileTypeDataExt Controller external data only.
MPIControlFlashFileTypeSynqNet Used for flashing the synqNet page of flash.
MPIControlFlashFileTypeCodeAndData Controller processor code and data.
MPIControlFlashFileTypeFPGA0 Local FPGA image number 0.
MPIControlFlashFileTypeALL All code, data, and FPGA images.

Sample Code

returnValue =
    mpiControlFlashSaveToFile(
      control,
      "myFirmware.bin",
      MPIControlFlashFileTypeCodeAndData);

See Also

mpiControlFlashSaveToFile