Syntax
typedef enum {
  VM_FIRMWARE_UPDATE_ERROR_COMPRESSED_BINARY_TOO_LARGE = -1107,
  VM_FIRMWARE_UPDATE_ERROR_COPY_TO_RAM_FAIL = -1106,
  VM_FIRMWARE_UPDATE_ERROR_DECOMPRESSED_BINARY_TOO_LARGE = -1108,
  VM_FIRMWARE_UPDATE_ERROR_OVERLAP_WITH_TARGET_FS = -321,
  VM_FIRMWARE_UPDATE_ERROR_INVALIDE_HEADER_SIG = -303,
  VM_FIRMWARE_UPDATE_ERROR_INVALIDE_BODY_SIG = -304,
  VM_FIRMWARE_UPDATE_ERROR_NO_CARD_FOUND = -701,
  VM_FIRMWARE_UPDATE_ERROR_NO_DL_PACKAGE_FOUND = -702,
  VM_FIRMWARE_UPDATE_RESULT_MAX = 0x7FFFFFFF
} VM_FIRMWARE_UPDATE_RESULT;
ContentsIndex
PreviousUpNext
VM_FIRMWARE_UPDATE_RESULT
Syntax
typedef enum {
  VM_FIRMWARE_UPDATE_ERROR_COMPRESSED_BINARY_TOO_LARGE = -1107,
  VM_FIRMWARE_UPDATE_ERROR_COPY_TO_RAM_FAIL = -1106,
  VM_FIRMWARE_UPDATE_ERROR_DECOMPRESSED_BINARY_TOO_LARGE = -1108,
  VM_FIRMWARE_UPDATE_ERROR_OVERLAP_WITH_TARGET_FS = -321,
  VM_FIRMWARE_UPDATE_ERROR_INVALIDE_HEADER_SIG = -303,
  VM_FIRMWARE_UPDATE_ERROR_INVALIDE_BODY_SIG = -304,
  VM_FIRMWARE_UPDATE_ERROR_NO_CARD_FOUND = -701,
  VM_FIRMWARE_UPDATE_ERROR_NO_DL_PACKAGE_FOUND = -702,
  VM_FIRMWARE_UPDATE_RESULT_MAX = 0x7FFFFFFF
} VM_FIRMWARE_UPDATE_RESULT;
Description

The result code is stored in the error_code field of vm_firmware_update_status_t

File

vmfirmware.h

Members
Members 
Description 
VM_FIRMWARE_UPDATE_ERROR_COMPRESSED_BINARY_TOO_LARGE = -1107 
The updated file is too big for the device. 
VM_FIRMWARE_UPDATE_ERROR_COPY_TO_RAM_FAIL = -1106 
The updated file is too big for the RAM on the device. 
VM_FIRMWARE_UPDATE_ERROR_DECOMPRESSED_BINARY_TOO_LARGE = -1108 
The updated file is too big for the file system on the device. 
VM_FIRMWARE_UPDATE_ERROR_OVERLAP_WITH_TARGET_FS = -321 
The updated file is too big for the C: partition on the device. 
VM_FIRMWARE_UPDATE_ERROR_INVALIDE_HEADER_SIG = -303 
Incorrect header signature. The content of update package is corrupted. 
VM_FIRMWARE_UPDATE_ERROR_INVALIDE_BODY_SIG = -304 
Incorrect body signature. The content of update package is corrupted. 
VM_FIRMWARE_UPDATE_ERROR_NO_CARD_FOUND = -701 
Cannot mount the drive. Make sure the system drive is functional and the file is located in "C:\image.bin". 
VM_FIRMWARE_UPDATE_ERROR_NO_DL_PACKAGE_FOUND = -702 
Cannot mount the drive. Make sure the update package is located in "C:\image.bin". 
VM_FIRMWARE_UPDATE_RESULT_MAX = 0x7FFFFFFF 
Ensure the compiler treat this enum as 32-bit interger. 
Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.