HAILO_DRIVER_FAIL Error on Windows 10 After Application Restart

Problem Description:

I am encountering an issue with my Hailo-8 device on Windows 10:

  1. Initial Use Works Fine: After a fresh system boot, my application and the Hailo device work correctly.
  2. Error After Restart: When I close the application and restart it, the device fails to initialize, and I encounter a HAILO_DRIVER_FAIL error.
  3. Reboot Required: The only way to recover from this error is to reboot the computer.

Attempts to disable and re-enable the device in Windows Device Manager do not resolve the issue. The HAILO_DRIVER_FAIL error persists until the system is restarted.


hailort.log:

As shown in the logs, at [2025-01-13 01:00:53.251], I started the application, successfully initialized the Hailo device, and performed inference without any issues.
However, at [2025-01-13 11:22:58.074], after closing and restarting the application, the HAILO_DRIVER_FAIL error occurred.


Environment Details:

  • Device: Hailo-8
  • Operating System: Windows 10
  • hailortcli fw-control identify:
    C:\>hailortcli fw-control identify
    Executing on device: 0000:03:00.0
    Identifying board
    Control Protocol Version: 2
    Firmware Version: 4.19.0 (release,app,extended context switch buffer)
    Logger Version: 0
    Board Name: Hailo-8
    Device Architecture: HAILO8
    Serial Number: <N/A>
    Part Number: <N/A>
    Product Name: <N/A>
    

Desired Solution:

I am looking for a method to resolve the HAILO_DRIVER_FAIL error programmatically during my application’s initialization, without requiring a system reboot. Specifically:

  • A way to reset the Hailo device or its driver state when the error occurs.
  • Steps or code snippets that could handle this scenario in an automated manner within the application.

Thank you for your help!