Main Site Documentation

Wifi RS21 stopped working


#1

I got a new wifi rs21 module about 4 days ago and I have been testing it with the G120HDR with great success but today after a few code deploys I recieved these errors and noticed that the light on the module was no longer illuminated. Anyone have an idea about what the problem might be?

I have already attempted powering the board with external power through the Power DP module’s barrel jack to ensure that it wasnt a problem related to lack of sufficient power.

#### 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] ####
#### LOICBot.Program::Main [IP: 0017] ####
#### Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (1) ####
#### Message: 
#### GHI.Premium.Net.WiFiRS9110::RunFirmware [IP: 0028] ####
#### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
#### LOICBot.Program::Main [IP: 0017] ####
#### Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (1) ####
#### Message: 
#### GHI.Premium.Net.WiFiRS9110::Intialize [IP: 0009] ####
#### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
#### LOICBot.Program::Main [IP: 0017] ####

The thread ‘’ (0x3) has exited with code 0 (0x0).
A first chance exception of type ‘GHI.Premium.Net.NetworkInterfaceExtensionException’ occurred in GHI.Premium.Net.dll
Error during initialization of network interface: Exception was thrown: GHI.Premium.Net.NetworkInterfaceExtensionException
#### Exception System.Net.Sockets.SocketException - CLR_E_FAIL (1) ####
#### Message:
#### Microsoft.SPOT.Net.SocketNative::getaddrinfo [IP: 0000] ####
#### System.Net.Dns::GetHostEntry [IP: 0008] ####
#### System.Net.IPAddress::GetDefaultLocalAddress [IP: 0049] ####
#### System.Net.HttpListener::Start [IP: 0049] ####
#### LOICBot.Program::RunServerThread [IP: 000c] ####
#### LOICBot.Program::Main [IP: 002f] ####
#### SocketException ErrorCode = -1
#### SocketException ErrorCode = -1
A first chance exception of type ‘System.Net.Sockets.SocketException’ occurred in Microsoft.SPOT.Net.dll
#### SocketException ErrorCode = -1
#### SocketException ErrorCode = -1


#2

Redeployed an some older code that also uses the Wifi rs21 and got it to work. So it must be in the code. Although the initialization code for the wifi is identical between both solutions.
I will let you guys all know what I find.