Spider ver1.00, win10 and usb3. Not working

Hi!
I have been struggling to make my Spider ver1.00 work with my win10 laptop and usb3 ports.
Since my spider is a couple of years old, I needed to upgrade it before use. But that was not possible to do with my win10 pc and FEZ Config.
After a lot of struggling I managed to update the spider with an old win7 pc and FEZ Config. So far so good.
But when I try to use the spider with my win10 again, I get an error (10) in the device manager.
Since my computer only have usb3 ports, I connected my spider to a Silex (SX-3000GB, Silex Technology) USB device server. And voilà, it is listed without error under comports in the device manager. And it’s listed as EMX under the Universal Serial Bus devices.
But, I can’t still upload the hex from vs2012, vs2013 and/or vs2015 to my spider… It’s not listed in visual studio when I select usb.

Can anyone give me some directions?

Regards
Albert V

@ andre.m - Thanks for your reply.

I have tried using the DLINK DUB-H7(http://us.dlink.com/products/connect/7-port-usb-2-hub/) usb hub with no luck.

Albert

You could try checking the SetupAPIDev.txt file found in the Windows\Inf folder. Error 10 can be caused by a number of errors that the driver could not handle with a more specific error code.

Look near the end of file, there are time stamps to help find when the Spider’s USB cable was connected.

If that doesn’t provide you with some clue as to the problem, then post that portion of the log file to this form, we may be able to help with this extra detail of the issue.

Phil

Hi!

[Device Install (Hardware initiated) - USB\VID_1B9F&PID_0104\9&1ecdcc41&0&4]
Section start 2015/08/26 19:34:21.185
dvi: {Build Driver List} 19:34:21.193
dvi: Searching for hardware ID(s):
dvi: usb\vid_1b9f&pid_0104&rev_0100
dvi: usb\vid_1b9f&pid_0104
dvi: Searching for compatible ID(s):
dvi: usb\class_02&subclass_02&prot_01
dvi: usb\class_02&subclass_02
dvi: usb\class_02
dvi: Created Driver Node:
dvi: HardwareID - USB\Class_02&SubClass_02&Prot_01
dvi: InfName - C:\WINDOWS\System32\DriverStore\FileRepository\usbser.inf_amd64_5c1e72f10b795c9e\usbser.inf
dvi: DevDesc - USB Serial Device
dvi: Section - UsbSerial_Install.NT
dvi: Rank - 0x00ff2000
dvi: Signer Score - INBOX
dvi: DrvDate - 06/21/2006
dvi: Version - 10.0.10240.16401
dvi: Created Driver Node:
dvi: HardwareID - USB\Class_02&SubClass_02
dvi: InfName - C:\WINDOWS\System32\DriverStore\FileRepository\usbser.inf_amd64_5c1e72f10b795c9e\usbser.inf
dvi: DevDesc - USB Serial Device
dvi: Section - UsbSerial_Install.NT
dvi: Rank - 0x00ff2001
dvi: Signer Score - INBOX
dvi: DrvDate - 06/21/2006
dvi: Version - 10.0.10240.16401
dvi: Created Driver Node:
dvi: HardwareID - USB\VID_1B9F&PID_0104
dvi: InfName - C:\WINDOWS\System32\DriverStore\FileRepository\ghi_bootloader_interface.inf_amd64_ff2c8b9a1de863d3\ghi_bootloader_interface.inf
dvi: DevDesc - GHI Bootloader Interface
dvi: Section - DriverInstall.NT
dvi: Rank - 0x00ff0001
dvi: Signer Score - Authenticode
dvi: DrvDate - 06/04/2015
dvi: Version - 15.7.9.0
dvi: {Build Driver List - exit(0x00000000)} 19:34:21.222
dvi: {DIF_SELECTBESTCOMPATDRV} 19:34:21.222
dvi: Using exported function ‘PortsClassInstaller’ in module ‘C:\WINDOWS\system32\MsPorts.Dll’.
dvi: Class installer == MsPorts.Dll,PortsClassInstaller
dvi: Class installer: Enter 19:34:21.227
dvi: Class installer: Exit
dvi: Default installer: Enter 19:34:21.228
dvi: {Select Best Driver}
dvi: Class GUID of device changed to: {4d36e978-e325-11ce-bfc1-08002be10318}.
dvi: {DIF_DESTROYPRIVATEDATA} 19:34:21.230
dvi: Class installer: Enter 19:34:21.231
dvi: Class installer: Exit
dvi: Default installer: Enter 19:34:21.232
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 19:34:21.233
dvi: Selected:
dvi: Description - [GHI Bootloader Interface]
dvi: InfFile - [c:\windows\system32\driverstore\filerepository\ghi_bootloader_interface.inf_amd64_ff2c8b9a1de863d3\ghi_bootloader_interface.inf]
dvi: Section - [DriverInstall]
dvi: Basic Driver Skipped:
dvi: Description - ‘USB Serial Device’
dvi: InfFile - C:\WINDOWS\INF\usbser.inf
dvi: Section - [UsbSerial_Install]
dvi: {Select Best Driver - exit(0x00000000)}
dvi: Default installer: Exit
dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 19:34:21.241
ndv: {Core Device Install} 19:34:21.242
ndv: {Installing device - USB\VID_1B9F&PID_0104\9&1ECDCC41&0&4} 19:34:21.243
! ndv: Device class {4d36e978-e325-11ce-bfc1-08002be10318} is not configurable.
dvi: {DIF_ALLOW_INSTALL} 19:34:21.247
dvi: Using exported function ‘PortsClassInstaller’ in module ‘C:\WINDOWS\system32\MsPorts.Dll’.
dvi: Class installer == MsPorts.Dll,PortsClassInstaller
dvi: Class installer: Enter 19:34:21.250
dvi: Class installer: Exit
dvi: Default installer: Enter 19:34:21.251
dvi: Default installer: Exit
dvi: {DIF_ALLOW_INSTALL - exit(0xe000020e)} 19:34:21.252
dvi: {DIF_INSTALLDEVICEFILES} 19:34:21.253
dvi: Class installer: Enter 19:34:21.254
dvi: Class installer: Exit
dvi: Default installer: Enter 19:34:21.255
! flq: Missing SourceDisksFiles/SourceDisksNames information from INF.
! flq: Default INBOX source locations pulled from pre-built DrvIndex
dvi: Default installer: Exit
dvi: {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 19:34:21.261
flq: File ‘C:\WINDOWS\system32\DRIVERS\usbser.sys’ pruned from copy.
dvi: {DIF_REGISTER_COINSTALLERS} 19:34:21.286
dvi: Reset Device: Resetting device configuration. 19:34:21.287
dvi: Reset Device: Resetting device configuration completed. 19:34:21.288
dvi: Class installer: Enter 19:34:21.288
dvi: Class installer: Exit
dvi: Default installer: Enter 19:34:21.289
dvi: Default installer: Exit
dvi: {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 19:34:21.292
dvi: {DIF_INSTALLINTERFACES} 19:34:21.292
dvi: Class installer: Enter 19:34:21.293
dvi: Class installer: Exit
dvi: Default installer: Enter 19:34:21.295
dvi: Default installer: Exit
dvi: {DIF_INSTALLINTERFACES - exit(0x00000000)} 19:34:21.296
dvi: {DIF_INSTALLDEVICE} 19:34:21.297
dvi: Class installer: Enter 19:34:21.297
dvi: {Install DEVICE}
dvi: {Writing Device Properties}
dvi: Strong Name=oem118.inf:c14ce8840c48fa1f:DriverInstall:15.7.9.0:usb\vid_1b9f&pid_0104
dvi: {Writing Device Properties - Complete}
inf: AddService=usbser,0x00000002,LowerFilter_Service_Inst (ghi_bootloader_interface.inf line 31)
dvi: Add Service: Modified existing service ‘usbser’.
dvi: {Install DEVICE exit (0x00000000)}
dvi: Install Device: Configuring device class. 19:34:21.312
dvi: Install Device: Configuring device class completed. 19:34:21.312
dvi: Install Device: Starting device. 19:34:21.314
dvi: Install Device: Starting device completed. 19:34:21.324
!!! dvi: Device not started: Device has problem: 0x0a: CM_PROB_FAILED_START.
dvi: Class installer: Exit
dvi: {DIF_INSTALLDEVICE - exit(0x00000000)} 19:34:21.328
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 19:34:21.329
dvi: Class installer: Enter 19:34:21.330
dvi: Class installer: Exit
dvi: Default installer: Enter 19:34:21.331
dvi: Default installer: Exit
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 19:34:21.333
! ndv: Queueing up error report since device has a PnP problem…
ndv: {Installing device - exit(0x00000000)} 19:34:21.408
ndv: {Core Device Install - exit(0x00000000)} 19:34:21.409
dvi: {DIF_DESTROYPRIVATEDATA} 19:34:21.409
dvi: Class installer: Enter 19:34:21.410
dvi: Class installer: Exit
dvi: Default installer: Enter 19:34:21.411
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 19:34:21.412
<<< Section end 2015/08/26 19:34:21.415
<<< [Exit status: SUCCESS]

@ albertvi -

Not sure if this is of any help but my Windows 10 will connect/deploy/debug using Visual Studio 2012 and 2013 Pro.

I have tried a Spider and Raptor using USB 2, USB 3 and USB 3 connected through a USB 2 Hub.
Both boards work event though windows 10 tells me that it may not work.

In fact I have been using a USB 3 port that was using the WinUSB driver. The Winusb driver was installed because( I assume) that was because I was using winusb on Windows 8.1 before the Windows 10 update.

With winusb the device manager showed it was using Universal Serial Bus Devices.

As a test I removed the driver WINUSB from my system (Not easy to do) and then booted my pc with the Spider attached to a USB 3 port.
At first no driver was installed but after another couple of tries Windows 10 installed the Debuggable .Net Micro Framework Device.

With the new driver my Spider and Raptor still connect/deploy/debug using Visual Studio 2012 and 2013 Pro on a USB 2 or USB 3 port.

Check if you are using the
GHI .NET Micro Framework USB Debugging Interface

What version of the GHI Electronics SDK do you have installed?
Was Windows 7 previously on this system before the upgrade to Windows 10?

The SetupApiDev.txt log shows that the INBOX usbser.sys driver failed to start as reported in Device Manger, didn’t see any other details. Since this is the INBOX driver, it is very unlikely to be the problem. However there may be missing entries in the registry or USB Descriptors in the Spider USB client software.

The post from willgeorge shows his system is using the WinUSB.SYS driver, so at some point in the SDK release cycle there was a switch to WinUSB.SYS. I didn’t realize the CDC mode was supported.

I don’t have access to a Windows 10 system currently, but am curious to see what it is using.

Starting with Windows 8 it is possible to define USB Descriptors in the client to load the INBOX WinUSB.SYS driver with out an INF file which means there is also no need to digitally sign the INF as done previously.

Phil

@ PHITEK -

is using the WinUSB.SYS driver… I WAS using that driver.

I removed it today to see if I could get the same problem you are having.

@ willgeorge - Hi, I’m not using the GHI .NET Micro Framework USB Debugging Interface. It’s not listed in my device manager.

@ PHITEK - Hi, I’m using the GHI Electronics NETMF SDK 2015 R1 Pre-Release 4.
The computer was delivered with win8, and I have just recently upgraded it to win10.
I have also tried connecting the spider to an older computer, the computer was running win7 on delivery but has been upgraded to win8.1 and now win10. The FEZ Config tool on that computer recognizes the spider.

@ albertvi - That last screen shot, doesn’t show a problem with the EMX device, I would have thought there would be a yellow triangle on the EMX node.

It’s like you have re-installed the GHI Electronics SDK, because the SetupApiDev log clearly shows the usbser.sys driver was loaded.

I don’t have a spider board, so I not sure where the problem is.

Phil

@ albertvi -

Your image shows it is using winusb just as I had before changing to the Debuggable .Net Micro Framework Device driver. My PC was working with winusb. And now it is using the Debuggable .Net Micro Framework Device.

I should mention that I am using:
Using Loader (TinyBooter)
4.3.7.7
Using Firmware (TinyCLR)
4.3.7.10
Using Visual Studio 2013 Pro
*
GHI Electronics NETMF SDK 2015 R1 Pre-Release 4
NETMF and Gadgeteer Package 2014 R5
netmf-v4.3.2-SDK-QFE2-RTM
*
Using FEZ Spider

Nothing special about my PC.
Older HP 64 bit that originally had Windows 8, updated to Windows 8 Pro then Windows 10.

Winusb was being used when the PC was running Windows 8 and I have always been using the USB 3 port.

I have had zero problems using GHI Electronics NETMF SDK 2015 R1 Pre-Release 4
(At least for what I do). I would not update to this version at this time because you would need to update your Spider firmware.

If it were me I would perform all the steps stated in:

EVEN IF YOU HAVE DONE SO BEFORE.

Do ◦Uninstall any currently installed NETMF SDKs.
REBOOT your PC and then install everything listed
Step 2
Download Microsoft .NET Micro Framework 4.3 (QFE2) and unzip the file. Open the file’s folder and…
:black_medium_small_square:Install MicroFrameworkSDK.MSI
:black_medium_small_square:Install netmfvs2013.vsix

Step 3 and Step 4
I have no other suggestions at this time except asking if FEXConfig.exe can find your Spider.

Good Luck!

I’m somewhat lost here as well.

Your picture that shows the “EMX” device in device manager is operating correctly, in normal mode. At that point, you should be able to check the firmware version and loader version using Fez Config, and update them as needed.

@ Brett - Hi, thats true. I have updated the spider with an old win7 pc.
Using Loader (TinyBooter)
4.3.7.10
Using Firmware (TinyCLR)
4.3.7.10

But as you can see from the picture, it’s not recognizing the spider either from FEZ Config and/or the vs2013.

Albert

@ willgeorge - Hi, I have tried what you suggested, no luck…

Albert

So please change to SERIAL instead of USB in the dropdown, and then back to USB. Does that then populate a device name in the device list to the right ? (Often I see this not being detected straight away and a USB refresh will see it on the second scan)

@ Brett - No that don’t change anything. Just for fun, I hooked up an Netduino Plus2 and installed the Netduino SDK v4.3.2.1. And as you can see from the picture that worked. It also worked in vs2012.

Hi!
It’s now possible to use my spider with my old win10 pc. But my new win10 pc is still not recognizing the spider in vs or with Fez Config.
There is a little difference when I look at the EMX in the regedit. The ConfigFlags holds the value 0x00000020 at the working pc, but 0x00000000 at the faulty one. Do any of you have some info regarding those settings?

Albert

check your driver specifics again and make sure you’re using the same WinUSB on the two PCs?

@ Brett - Hi, thanks for the advice, but it’s the same WinUSB version on those computers.

@ albertvi -

Nothing useful to help solve your problem but I thought you may like to know what I found in my Windows 10 registry.
See images:

I was using winusb with success on Windows 10 so the info here should be valid. Data relates to EMX.
ConfigFlags 0x00000000 and 0x00000020 were both valid working USB Ports.

To me it appears that the ConfigFlags changes between what Port and Hub is in use. (No expert on this statement)

HKEY_LOCAL_MACHINE
HKEY_LOCAL_MACHINE\SOFTWARE
HKEY_LOCAL_MACHINE\SYSTEM
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USB

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USB\VID_1B9F&PID_0102
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USB\VID_1B9F&PID_0102\7&11416059&0&1
ConfigFlags 0x00000000(0)
Port 0001 Hub 0004
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USB\VID_1B9F&PID_0102\7&11416059&0&3
ConfigFlags 0x00000020(32)
Port 0003 Hub 0004


HKEY_LOCAL_MACHINE
HKEY_LOCAL_MACHINE\SOFTWARE
HKEY_LOCAL_MACHINE\SYSTEM
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_1B9F&PID_0102
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_1B9F&PID_0102\7&11416059&0&1
ConfigFlags 0x00000000(0)
Port 0001 Hub 0004
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_1B9F&PID_0102\7&11416059&0&3
ConfigFlags 0x00000020(32)
Port 0003 Hub 0004