Main Site Documentation

WiFi RS21 hangs on InitializeModules


#1

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


#2

Does this mean that i need to buy a new one. Is this a common issue if I buy a new one is it likely to happen again. What module do people recommend for Wifi ?


#3

Can you follow the steps in https://www.ghielectronics.com/docs/122/gadgeteer-driver-modification and add the WiFi module driver to your code and see exactly where it stops at?


#4

@ John -

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.IO (4.2.0.0) Attaching deployed file.

Assembly: Microsoft.SPOT.Hardware.SerialPort (4.2.0.0) Attaching deployed file.

Assembly: Gadgeteer (2.42.0.0) Attaching deployed file.

Assembly: Microsoft.SPOT.Graphics (4.2.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: Microsoft.SPOT.Net.Security (4.2.0.0) Attaching deployed file.

Assembly: Microsoft.SPOT.Touch (4.2.0.0) Attaching deployed file.

Assembly: System.Http (4.2.0.0) Attaching deployed file.

Assembly: GHI.Premium.IO (4.2.11.1) Attaching deployed file.

Assembly: System (4.2.0.0) Attaching deployed file.

Assembly: System.Net.Security (4.2.0.0) Attaching deployed file.

Assembly: GTM.GHIElectronics.WiFi_RS21 (4.2.102.0) Attaching deployed file.

Assembly: System.IO (4.2.0.0) Attaching deployed file.

Assembly: Gadgeteer.SPI (2.42.0.0) Attaching deployed file.

Assembly: GHI.Premium.Net (4.2.11.1) Attaching deployed file.

Assembly: Microsoft.SPOT.Net (4.2.0.0) Attaching deployed file.

Assembly: TestApp (1.0.0.0) Attaching deployed file.

Assembly: GHI.Premium.Hardware (4.2.11.1) Attaching deployed file.

Assembly: GHI.Premium.System (4.2.11.1) Attaching deployed file.

Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1) Attaching deployed file.

Assembly: GHIElectronics.Gadgeteer.FEZSpider (4.2.101.0) Resolving.

GC: 1msec 39012 bytes used, 7300656 bytes available

Type 0F (STRING ): 24 bytes

Type 15 (FREEBLOCK ): 7300656 bytes

Type 17 (ASSEMBLY ): 34440 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.

Using mainboard GHI Electronics FEZSpider version 1.0
Step into: Stepping over property ‘Gadgeteer.Socket.SPIModule.get’. To step into properties, go to Tools->Options->Debugging and uncheck ‘Step over properties and operators (Managed only)’.
Step into: Stepping over non-user code 'Gadgeteer.Socket.CpuPins.get’
Step into: Stepping over non-user code 'Gadgeteer.Socket.CpuPins.get’
Step into: Stepping over non-user code 'Gadgeteer.Socket.CpuPins.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.NetworkInterfaceExtension’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.NetworkInterfaceExtension’
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces’
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces’
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces’
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces’
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.NetworkInterfaceExtension’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkChangeExtension.NetworkAddressChanged.add’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkChangeExtension.NetworkAddressChanged.add’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.NetworkInterfaceExtension’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110’
Step into: Stepping over non-user code 'Microsoft.SPOT.Hardware.OutputPort.OutputPort’
Step into: Stepping over non-user code 'Microsoft.SPOT.Hardware.OutputPort.OutputPort’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkChangeExtension.NetworkAvailabilityChanged.add’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkChangeExtension.NetworkAvailabilityChanged.add’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.IsOpen.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Open’
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.IsOpen.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Open’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Open’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Intialize’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.add’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.add’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Intialize’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Reset’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Reset’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Reset’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Reset’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.add’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.add’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.remove’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.remove’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
RS9110 firmware version Number is 4.4.5
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
RS9110 driver version Number is 4.4.5
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.FirmwareVersionNumber.get’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware’
Step into: Stepping over non-user code ‘GHI.Premium.Net.RS9110Helper.MacAddress.get’


#5

@ j1mb0jay - It stops at the same line, GHI.Premium.Net.RS9110Helper.MacAddress.get, every time?


#6

Without fail, have tested a lot of times. Any ideas ?


#7

check your references:

https://www.ghielectronics.com/community/forum/topic?id=15141&page=2

solved my problem at that time.


#8

Some further attempts and details.

after commenting out



and replacing with 


```cs] Interface = new GHINet.WiFiRS9110(Microsoft.SPOT.Hardware.SPI.SPI_module.SPI2, (Microsoft.SPOT.Hardware.Cpu.Pin)16, (Microsoft.SPOT.Hardware.Cpu.Pin)18, (Microsoft.SPOT.Hardware.Cpu.Pin)6, 4000);[/code



[b]I get a different error[/b]
[em]
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.IO (4.2.0.0)  Attaching deployed file.

   Assembly: Microsoft.SPOT.Hardware.SerialPort (4.2.0.0)  Attaching deployed file.

   Assembly: Gadgeteer (2.42.0.0)  Attaching deployed file.

   Assembly: Microsoft.SPOT.Graphics (4.2.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: Microsoft.SPOT.Net.Security (4.2.0.0)  Attaching deployed file.

   Assembly: Microsoft.SPOT.Touch (4.2.0.0)  Attaching deployed file.

   Assembly: System.Http (4.2.0.0)  Attaching deployed file.

   Assembly: GHI.Premium.IO (4.2.11.1)  Attaching deployed file.

   Assembly: System (4.2.0.0)  Attaching deployed file.

   Assembly: System.Net.Security (4.2.0.0)  Attaching deployed file.

   Assembly: GTM.GHIElectronics.WiFi_RS21 (4.2.102.0)  Attaching deployed file.

   Assembly: System.IO (4.2.0.0)  Attaching deployed file.

   Assembly: Gadgeteer.SPI (2.42.0.0)  Attaching deployed file.

   Assembly: GHI.Premium.Net (4.2.11.1)  Attaching deployed file.

   Assembly: Microsoft.SPOT.Net (4.2.0.0)  Attaching deployed file.

   Assembly: TestApp (1.0.0.0)  Attaching deployed file.

   Assembly: GHI.Premium.Hardware (4.2.11.1)  Attaching deployed file.

   Assembly: GHI.Premium.System (4.2.11.1)  Attaching deployed file.

   Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1)  Attaching deployed file.

   Assembly: GHIElectronics.Gadgeteer.FEZSpider (4.2.101.0)  Resolving.

GC: 1msec 39000 bytes used, 7300668 bytes available

Type 0F (STRING              ):     24 bytes

Type 15 (FREEBLOCK           ): 7300668 bytes

Type 17 (ASSEMBLY            ):  34428 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.

Using mainboard GHI Electronics FEZSpider version 1.0
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.NetworkInterfaceExtension'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.NetworkInterfaceExtension'
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces'
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces'
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces'
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces'
Step into: Stepping over non-user code 'Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.NetworkInterfaceExtension'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkChangeExtension.NetworkAddressChanged.add'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkChangeExtension.NetworkAddressChanged.add'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.NetworkInterfaceExtension'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110'
Step into: Stepping over non-user code 'Microsoft.SPOT.Hardware.OutputPort.OutputPort'
Step into: Stepping over non-user code 'Microsoft.SPOT.Hardware.OutputPort.OutputPort'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkChangeExtension.NetworkAvailabilityChanged.add'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkChangeExtension.NetworkAvailabilityChanged.add'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.WiFiRS9110'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.IsOpen.get'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Open'
Step into: Stepping over non-user code 'GHI.Premium.Net.NetworkInterfaceExtension.IsOpen.get'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Open'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Open'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Intialize'
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize'
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.add'
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.add'
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize'
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize'
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize'
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.Initialize'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Intialize'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Reset'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Reset'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Reset'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Reset'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware'
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.add'
Step into: Stepping over non-user code 'GHI.Premium.Net.RS9110Helper.OnEvent.add'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.RunFirmware'
    #### Exception System.Exception - 0xffffffff (1) ####
    #### Message: 
    #### GHI.Premium.Net.RS9110Helper::SetBootloadOption [IP: 0000] ####
    #### GHI.Premium.Net.WiFiRS9110::RunFirmware [IP: 0020] ####
    #### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
    #### TestApp.Program::.ctor [IP: 0006] ####
    #### TestApp.Program::Main [IP: 0009] ####
    #### Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (1) ####
    #### Message: 
    #### GHI.Premium.Net.WiFiRS9110::RunFirmware [IP: 0028] ####
    #### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
    #### TestApp.Program::.ctor [IP: 0006] ####
    #### TestApp.Program::Main [IP: 0009] ####
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Intialize'
    #### Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (1) ####
    #### Message: 
    #### GHI.Premium.Net.WiFiRS9110::Intialize [IP: 0009] ####
    #### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
    #### TestApp.Program::.ctor [IP: 0006] ####
    #### TestApp.Program::Main [IP: 0009] ####
A first chance exception of type 'GHI.Premium.Net.NetworkInterfaceExtensionException' occurred in GHI.Premium.Net.dll
An unhandled exception of type 'GHI.Premium.Net.NetworkInterfaceExtensionException' occurred in GHI.Premium.Net.dll

Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Open'
Step into: Stepping over non-user code 'GHI.Premium.Net.WiFiRS9110.Open'
 Uncaught exception 
The program '[1] Micro Framework application: Managed' has exited with code 0 (0x0).
[/em]





Attached are some screen shots confirming MAC address details.

#9

@ John - Have you come access this problem anywhere else.

It hangs on GHI.Premium.Net.RS9110Helper.MacAddress.get everytime.


#10

I have not come across this problem myself. As to why your second bit of code fails, it looks like you have the pins wrong. SPI2 on the spider is on socket 6, which has IO10 for pin 6, IO18 for 3, and IO20 for 4 which are the pins needed in order of use in the constructor. With the original code, do any of the lights on the board change at any point?