VM_RESULT vm_firmware_trigger_update();
VM_RESULT vm_firmware_trigger_update();
Calling this function causes the system to reboot immediately and then trigger the firmware update process in bootloader to update full firmware image. The path to the image must be "C:\image.bin". This function always returns VM_SUCCESS because the LinkIt application will be terminated before the actual updating process takes action. The result of the update process is written to a file named "C:\update_info" on the disk. The file type is binary with structure vm_firmware_update_status_t as the content. Use file system APIs to read and parse the update_info file to check if the firmware update procedure has performed successfully or not. Please refer to vm_firmware_update_status_t and VM_FIRMWARE_UPDATE_RESULT for parsing the result of update and possible reasons for failture.
VM_RESULT, this function always return VM_SUCCESS
vmfirmware.h
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.