Windows driver install fails with exit code -2

theycallmevirgo
Posts: 9
Joined: Sun Sep 12, 2021 7:40 am

Windows driver install fails with exit code -2

Postby theycallmevirgo » Tue Feb 15, 2022 9:45 pm

Attempting installation of drivers on win10 ent x64 b19043 from offline installer fails with code -2. Log file is attached.

Perhaps there is a separate download somewhere for the drivers so I can troubleshoot in greater detail?

Thanks so much

Joe
Attachments
Setup Log 2022-02-15 #008.txt
(36.49 KiB) Downloaded 353 times

ESP_georgik
Posts: 21
Joined: Fri Nov 06, 2020 8:23 am
Location: Brno
Contact:

Re: Windows driver install fails with exit code -2

Postby ESP_georgik » Wed Feb 16, 2022 7:29 am

Thank you for reporting the problem.
This is definitely bug. I've created an issue to resolve it: https://github.com/espressif/idf-installer/issues/113
The installer does not support just an installation of a single driver without ESP-IDF.

There are following workarounds:

Workaround 1:

run command idf-env.exe driver install --ftdi
details: https://github.com/espressif/idf-env#qu ... powershell


Workaround 2:

install driver manually: https://github.com/espressif/idf-instal ... of-drivers
- Juraj Michálek
Senior Embedded Software Engineer at Espressif Systems

theycallmevirgo
Posts: 9
Joined: Sun Sep 12, 2021 7:40 am

Re: Windows driver install fails with exit code -2

Postby theycallmevirgo » Wed Feb 16, 2022 11:40 am

Just FYI, the issue occurs even if all other components are selected for installation.

ESP_georgik
Posts: 21
Joined: Fri Nov 06, 2020 8:23 am
Location: Brno
Contact:

Re: Windows driver install fails with exit code -2

Postby ESP_georgik » Fri Feb 18, 2022 6:34 am

Thank you for notification about the scenario. We will double-check this setup.
- Juraj Michálek
Senior Embedded Software Engineer at Espressif Systems

arjunguptaatx
Posts: 1
Joined: Sun Nov 19, 2023 6:24 am

Re: Windows driver install fails with exit code -2

Postby arjunguptaatx » Sun Nov 19, 2023 6:25 am

I am getting the exact same error. Is there a stable version I can use?

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 83 guests