Main Site Documentation

Visual Studio does not connect to USB device


#1

Good day,

Yesterday I received a FEZ Spider 1.0 and using FEZConfig updated the loader and firmware to version 4.2.11.1.

Following the first example, I created the application in Visual Studio (2010 Ultimate), connected the modules to the board and PC, then ran the solution. Visual Studio reported the following error:

An error has occurred: please check your hardware.
DebugPort.GetDeviceProcess() called with no argument
Source: Microsoft.SPOT.Debugger.CorDebug

Looking at the solution properties under the .NET Micro Framework tab, I noticed that the USB Device was set to . No device appeared in the drop-down list so I manually changed it to EMX_Gadgeteer. When I run the app again, VS reports the following error:

Device not found or cannot be opened - USB:EMX_Gadgeteer.

Any suggestions why VS is unable to connect to the device? In the About box I only see .NET Micro Framework 4.1 listed, but have 3.0 to 4.2 installed.

Thank you.


#2

I managed to resolve the issue by uninstalling all the .NET Micro Framework SDK versions and only installing .NET Micro Framework 4.2 (RTM QFE2). I also re-applied Visual Studio SP1 for 2010. Visual Studio now picks up the USB device and I’m able to deploy to it.