Usb host / emulator

hi,

I’ve tried to run the code found here : http://www.tinyclr.com/forum/1/1858/ 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 ?

thanks

philippe

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:

http://ghielectronics.blogspot.com/2011/03/usb-host-support-is-added-on-fez-panda.html

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 !