Use HIL_FIRMWARE_RESET_REQ packet command with HIL_SYS_CONTROL_RESET_MODE_BOOTSTART mode.
The firmware reset request (HIL_FIRMWARE_RESET_REQ → 0x00001E00
) has two parameters:
- ulTimeToReset (unused)
- ulResetMode
ulResetMode = 0 (HIL_SYS_CONTROL_RESET_MODE_COLDSTART
)
- The cold start will perform a reset of the device and starts the installed firmware again.
ulResetMode = 2 (HIL_SYS_CONTROL_RESET_MODE_BOOTSTART)
- The boot start will perform a reset of the device and starts the maintenance firmware. The boot start can be used to start the maintenance firmware without starting an update process (idle mode).
ulResetMode = 3 (HIL_SYS_CONTROL_RESET_MODE_UPDATESTART)
- The update start will perform a reset of the device and start the maintenance firmware. If a valid update file is available, it will be automatically processed and installed. If no update file is available or if the update file is not valid, the maintenance firmware will automatically start the old firmware.