The VS solution is based on the micro framework console application template, not the gadgeteer one.
I only have the display and the WiFi module attached, and all I get when I enable the WIFI is a WiFi.HardwareException.ErrorCode.CommunicationFailure with
[italic]
#### Exception System.Exception - 0xffffffff (1) ####
#### Message:
#### GHIElectronics.NETMF.Net.RS21Driver::SetBootloadOption [IP: 0000] ####
#### GHIElectronics.NETMF.Net.WiFi::Enable [IP: 0037] ####
#### WiFiTest.Program::Main [IP: 001d] ####
#### Exception GHIElectronics.NETMF.Net.WiFi+HardwareException - 0x00000000 (1) ####
#### Message:
#### GHIElectronics.NETMF.Net.WiFi::Enable [IP: 003e] ####
#### WiFiTest.Program::Main [IP: 001d] ####
Une exception de première chance de type ‘GHIElectronics.NETMF.Net.WiFi.HardwareException’ s’est produite dans GHIElectronics.NETMF.Net.dll[/italic]
I would like to try the module on socket 9, but I don’t know how to find the cpu pin numbers…
This exception means that you probably have wrong pin configurations.
Let’s wait a bit more to get the WiFi R21 patch out. The guys over here are working on it
Thanks for the support !
I was afraid the code was good… Seeing messages on the forum, it seems that there are still problems with the wifi module, but mine never initializes. Haven’t seen anybody complaining about that. Are there many wifi users ?
I hope a patch will arrive soon, maybe with more debug messages when something goes wrong.
I’m ready to beta test too, if it may help.
I just got my RS21 today, and I am also getting an error:
Using mainboard GHIElectronics-FEZSpider version 1.0
Version Number is 4.3.0
#### Exception GHIElectronics.NETMF.Net.WiFi+HardwareException - 0x00000000 (1) ####
#### Message:
#### GHIElectronics.NETMF.Net.WiFi::Enable [IP: 008d] ####
#### Gadgeteer.Modules.GHIElectronics.WiFi_RS21::.ctor [IP: 0064] ####
#### WiFiTest.Program::InitializeModules [IP: 000f] ####
#### WiFiTest.Program::Main [IP: 0010] ####
A first chance exception of type 'GHIElectronics.NETMF.Net.WiFi.HardwareException' occurred in GHIElectronics.NETMF.Net.dll
#### Exception System.ApplicationException - 0x00000000 (1) ####
#### Message: Unable to enable WiFi module.
#### Gadgeteer.Modules.GHIElectronics.WiFi_RS21::.ctor [IP: 006e] ####
#### WiFiTest.Program::InitializeModules [IP: 000f] ####
#### WiFiTest.Program::Main [IP: 0010] ####
A first chance exception of type 'System.ApplicationException' occurred in GTM.GHIElectronics.WiFi_RS21.dll
An unhandled exception of type 'System.ApplicationException' occurred in GTM.GHIElectronics.WiFi_RS21.dll
Additional information: Unable to enable WiFi module.
Uncaught exception
The thread '<No Name>' (0x1) has exited with code 0 (0x0).
Has the new SDK been released yet? Where can I find it?
No not yet. RedPine is going to release a new firmware for the WiFi module RS21 shortly so this will take couple more days to integrate. I think it worth the waiting with better performance and additional features like Ad-Hoc with WEP security.
I have already cleaned the solution, removed and added the GHIElectronics assemblies references.
The GHIElectronics.NETMF.Net and …System are both present with the version 4.1.8.0. The corresponding DLLs are in the solution bin directory with the correct version number too.
I also tried a whole new gagdeteer test solution with only the fez board and the WiFi module, it ends the same references problem.
While looking at the debugger output, I found the following :
[italic]Invalid native checksum: GHIElectronics.NETMF.Net 0xB7F1767D!=0x310788CC[/italic]
I think it’s due to mismatching firmware, but I can’t update it for the moment (drivers problem, [url]http://www.tinyclr.com/forum/21/5508/[/url])
I’ll retry when the firmware will be up to date.