Main Site Documentation

Usb host / emulator



I’ve tried to run the code found here : and i’ve the following error message :

An unhandled exception of type ‘System.NotSupportedException’ occurred in GHIElectronics.NETMF.USBHost.dll

on the line : while (USBHostController.GetDevices().Length == 0)

So i ask me if it is possible to test the usb host with the emulator or if i need to have a real board ?




Usually anything requiring hardware does not run on the emulator. Aside from the GHI Glide library, which supports GUIs, if a GHI library is required, it will not run under the emulator.

Of course, it is possible to write extensions to the emulator which simulate specific hardware.

No, you will need a real board.


thanks you so i’ve to wait for receiving my panda


I assume you have studied how to implement USB Host on the Panda? :smiley:


While you can’t test USB Host itself, depending on what you’re going to connect you certainly can write plenty of other code though !