cancel
Showing results for 
Search instead for 
Did you mean: 

WLC dongle driver issues Unable to load DLL 'HidDongle.dll'

willzhou
ST Employee

Many customer face dongle driver issues, most because Unable to load DLL 'HidDongle.dll'. 

@sjones i post your request in the forum.

Key points:

This eval board has an on board FT260, which should take care of the I2C to USB (HID) interface without a dongle

The FT260 doc by FTDIchip says:

The FT260 is a full speed USB device which supports I²C and UART communication through
standard USB HID interfaces. The USB HID class is natively supported by most operating systems.
A custom driver is not required to be installed for the FT260

So drivers should not be needed.

Here is a log dump from vs 2.2.5 with debug turned on


{"Type":1,"Date":"2024-04-22","Time":"10:11:13.620 AM","ThreadId":"1","Message":"STSW-WPSTUDIO V2.2.5","TypeToView":"INFO"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.728 AM","ThreadId":"9","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] About to call SetupDiGetClassDevs for class Guid 4d1e55b2-f16f-11cf-88cb-001111000030. Flags: 18","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.730 AM","ThreadId":"9","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] The call to SetupDiEnumDeviceInterfaces returned ERROR_NO_MORE_ITEMS","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.731 AM","ThreadId":"8","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] About to call SetupDiGetClassDevs for class Guid 4d1e55b2-f16f-11cf-88cb-001111000030. Flags: 18","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.731 AM","ThreadId":"8","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] The call to SetupDiEnumDeviceInterfaces returned ERROR_NO_MORE_ITEMS","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.731 AM","ThreadId":"8","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] About to call SetupDiGetClassDevs for class Guid 4d1e55b2-f16f-11cf-88cb-001111000030. Flags: 18","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.731 AM","ThreadId":"8","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] The call to SetupDiEnumDeviceInterfaces returned ERROR_NO_MORE_ITEMS","TypeToView":"DEBUG"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.732 AM","ThreadId":"6","Message":"ConnectionType: ADDRESS_SIZE_2_BYTES bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.732 AM","ThreadId":"6","Message":"ReadChunk: 240 bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.732 AM","ThreadId":"6","Message":"WriteChunk: 50 bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.732 AM","ThreadId":"6","Message":"ConnectionType: ADDRESS_SIZE_2_BYTES bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.733 AM","ThreadId":"6","Message":"ReadChunk: 4091 bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.733 AM","ThreadId":"6","Message":"WriteChunk: 50 bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.733 AM","ThreadId":"6","Message":"ConnectionType: ADDRESS_SIZE_2_BYTES bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.733 AM","ThreadId":"6","Message":"ReadChunk: 55 bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.733 AM","ThreadId":"6","Message":"WriteChunk: 55 bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.733 AM","ThreadId":"6","Message":"ConnectionType: ADDRESS_SIZE_2_BYTES bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.733 AM","ThreadId":"6","Message":"ReadChunk: 50 bytes","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.733 AM","ThreadId":"6","Message":"WriteChunk: 50 bytes","TypeToView":"INFO"},
{"Type":3,"Date":"2024-04-22","Time":"10:11:35.736 AM","ThreadId":"6","Message":"Error during enumeration for HidDongleMaster: Unable to load DLL 'HidDongle.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)","TypeToView":"ERROR"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.736 AM","ThreadId":"6","Message":"HidDongle enumerate in 2ms","TypeToView":"INFO"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.738 AM","ThreadId":"6","Message":"DingDongle enumerate in 1ms","TypeToView":"INFO"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.739 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] About to call SetupDiGetClassDevs for class Guid 4d1e55b2-f16f-11cf-88cb-001111000030. Flags: 18","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.739 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] The call to SetupDiEnumDeviceInterfaces returned ERROR_NO_MORE_ITEMS","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.739 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] About to call SetupDiGetClassDevs for class Guid 4d1e55b2-f16f-11cf-88cb-001111000030. Flags: 18","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.739 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] The call to SetupDiEnumDeviceInterfaces returned ERROR_NO_MORE_ITEMS","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.739 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] About to call SetupDiGetClassDevs for class Guid 4d1e55b2-f16f-11cf-88cb-001111000030. Flags: 18","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.740 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] The call to SetupDiEnumDeviceInterfaces returned ERROR_NO_MORE_ITEMS","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.740 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] About to call SetupDiGetClassDevs for class Guid 4d1e55b2-f16f-11cf-88cb-001111000030. Flags: 18","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.740 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] The call to SetupDiEnumDeviceInterfaces returned ERROR_NO_MORE_ITEMS","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.740 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] About to call SetupDiGetClassDevs for class Guid 4d1e55b2-f16f-11cf-88cb-001111000030. Flags: 18","TypeToView":"DEBUG"},
{"Type":0,"Date":"2024-04-22","Time":"10:11:35.740 AM","ThreadId":"5","Message":"[WindowsHidDeviceFactory - GetConnectedDeviceDefinitionsAsync] The call to SetupDiEnumDeviceInterfaces returned ERROR_NO_MORE_ITEMS","TypeToView":"DEBUG"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.741 AM","ThreadId":"6","Message":"McpDongle enumerate in 2ms","TypeToView":"INFO"},
{"Type":2,"Date":"2024-04-22","Time":"10:11:35.742 AM","ThreadId":"6","Message":"FT260 Dongle Library Load error ","TypeToView":"WARNING"},
{"Type":1,"Date":"2024-04-22","Time":"10:11:35.742 AM","ThreadId":"6","Message":"FT260 enumerate in 1ms","TypeToView":"INFO"}]

Thanks

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
1 ACCEPTED SOLUTION

Accepted Solutions

@sjones 

 

We have confirmed this version GUI is dependent on “Microsoft Visual C++ 2010 X86 Redistributable Package” .

willzhou_0-1713868708231.png

 

 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
willzhou
ST Employee

@sjones you can try to install “Microsoft Visual C++ 2015 Redistributable” package.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

I tried installing both x86 and x64 versions of “Microsoft Visual C++ 2015 Redistributable” in turn, rebooting after installation, but still unable to detect the board. Same errors as before.

How about other Microsoft Visual C++, here is my pc install, please check if you miss someone.

Please install Microsoft Visual C++ 2010 version first

willzhou_0-1713858870570.png

 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

@sjones 

 

We have confirmed this version GUI is dependent on “Microsoft Visual C++ 2010 X86 Redistributable Package” .

willzhou_0-1713868708231.png

 

 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.