Hi everybody,
I am posting this request here in hope that someone else has come across this issue before and can share a fix.
I have been using the WiFi RS21 module with my FEZ spider in Visual Studio 2010 Professional for ages without an issue (see https://www.ghielectronics.com/community/codeshare/entry/893 ). I wanted to make some changes to my application (which had crashed after several days of running) so tried to do some debugging but the ProgramStarted method was not even running. After some further digging around I found that the whole program was hanging when it hit the wifi code in the InitializeModules method copied below.
I have tried all sorts (not liquorice) to get this working again. I have attached a screen shot of FEZConfig to show my version numbers. I have tried 6 different cables and the wifi module plugging into socket 6 and 9. I have also tried with and without an external power supply. I have even gone as far a whole new project with just a wifi module connected but still the same error. I have also reinstalled the latest firmware download from this site.
I am hoping someone can help get this working again as I really don’t want to have to fork out for another one of these babies.
private void InitializeModules() {
this.wifi_RS21 = new GTM.GHIElectronics.WiFi_RS21(9);
}
Output
Found debugger!
Create TS.
Loading start at a0e00000, end a0e1383c
Assembly: mscorlib (4.2.0.0) Assembly: Microsoft.SPOT.Native (4.2.0.0) Assembly: Microsoft.SPOT.Security.PKCS11 (4.2
.0.0) Assembly: System.Security (4.2.0.0) Loading Deployment Assemblies.
Attaching deployed file.
Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1) Attaching deployed file.
Assembly: Microsoft.SPOT.Net.Security (4.2.0.0) Attaching deployed file.
Assembly: Gadgeteer (2.42.0.0) Attaching deployed file.
Assembly: Gadgeteer.WebClient (2.42.0.0) Attaching deployed file.
Assembly: Microsoft.SPOT.TinyCore (4.2.0.0) Attaching deployed file.
Assembly: Microsoft.SPOT.Hardware (4.2.0.0) Attaching deployed file.
Assembly: System.Http (4.2.0.0) Attaching deployed file.
Assembly: Microsoft.SPOT.IO (4.2.0.0) Attaching deployed file.
Assembly: System (4.2.0.0) Attaching deployed file.
Assembly: GHI.Premium.IO (4.2.11.1) Attaching deployed file.
Assembly: GadgeteerApp1 (1.0.0.0) Attaching deployed file.
Assembly: System.Net.Security (4.2.0.0) Attaching deployed file.
Assembly: GTM.GHIElectronics.WiFi_RS21 (4.2.101.0) Attaching deployed file.
Assembly: System.IO (4.2.0.0) Attaching deployed file.
Assembly: GHI.Premium.System (4.2.11.1) Attaching deployed file.
Assembly: Gadgeteer.WebServer (2.42.0.0) Attaching deployed file.
Assembly: Microsoft.SPOT.Net (4.2.0.0) Attaching deployed file.
Assembly: GHI.Premium.Hardware (4.2.11.1) Attaching deployed file.
Assembly: Gadgeteer.SPI (2.42.0.0) Attaching deployed file.
Assembly: Microsoft.SPOT.Graphics (4.2.0.0) Attaching deployed file.
Assembly: GHI.Premium.Net (4.2.11.1) Attaching deployed file.
Assembly: GHIElectronics.Gadgeteer.FEZSpider (4.2.101.0) Resolving.
GC: 1msec 39564 bytes used, 7300104 bytes available
Type 0F (STRING ): 24 bytes
Type 15 (FREEBLOCK ): 7300104 bytes
Type 17 (ASSEMBLY ): 34992 bytes
Type 1E (BINARY_BLOB_HEAD ): 4044 bytes
Type 28 (MEMORY_STREAM_HEAD ): 36 bytes
Type 29 (MEMORY_STREAM_DATA ): 396 bytes
Type 34 (APPDOMAIN_HEAD ): 72 bytes
GC: performing heap compaction…
The debugging target runtime is loading the application assemblies and starting execution.
Ready.
The thread ‘’ (0x2) has exited with code 0 (0x0).
Using mainboard GHI Electronics FEZSpider version 1.0
RS9110 firmware version Number is 4.4.5
RS9110 driver version Number is 4.4.5