Disable Wifi_RS21 autometic firmware update

I am running Wifi_RS21 module under GHI Premium Net 4.2, it sometimes throw an exception and the module will be updating firmware for about 1 min. I know that’s an important feature with wifi, but I don’t want it to do while my application running. Is there a way to disable it by setting a property or calling an API?

Thanks

If I remember correctly, this is a call you make to update firmware and it will only happens if you load new firmware and there is a new wifi firmware, basically very rare to happen. Maybe one time per year.

In fact, there’s no any call to WifRS9110.UpdateFirmware in my whole code, and here’s my message captured:

RS9110 firmware version Number is 4.4.5
RS9110 driver version Number is 4.4.5
#### Exception System.NullReferenceException - CLR_E_NULL_REFERENCE (13) ####
#### Message:
#### GHI.Premium.Net.NetworkInterfaceExtension::UpdateMacAddress_Helper [IP: 0000] ####
#### GHI.Premium.Net.NetworkInterfaceExtension::UpdateMacAddress [IP: 0008] ####
#### GHI.Premium.Net.WiFiRS9110::RunFirmware [IP: 0081] ####
#### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
#### Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (13) ####
#### Message:
#### GHI.Premium.Net.WiFiRS9110::RunFirmware [IP: 0090] ####
#### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
Start Updating WiFi module firmware:
This might take up to 1 minute
0 Sec
1 Sec
2 Sec
3 Sec
4 Sec

It seems happened within the system.

Are you doing this in a 4.2 Gadgeteer application? Can you show your programstarted code, and the generated main()?

The firmware update is started during initialization of the module in the Premium libraries. It is started only if there was a problem communicating with the RS9110, caused by either a timeout during communication, the firmware versions being mismatched, or the firmware becoming corrupt. Is this something you are experiencing a lot?

I did some tweak to my program, and now I am not experiencing such a lot firmware update. So my problem gone. But my suggestion is that’d better to give a chance to enable or disable it. Thanks.

Happy New Year,

@ Steven, I’m seeing this same behavior… (G120 & RS9110N-11-22-04 and of coarse latest SDK & firmware installed)

#### Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (1) ####
#### Message: 
#### GHI.Premium.Net.WiFiRS9110::RunFirmware [IP: 0049] ####
#### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
#### EmxWebServer.Program::SetupWirelessConnection [IP: 0008] ####
#### EmxWebServer.Program::Main [IP: 0065] ####

Start Updating WiFi module firmware:
This might take up to 1 minute
0 Sec
1 Sec
… and after 100 seconds i get the message RS9110 firmware update failed: Time out.

I restart the debug session and the problem is gone, until my application crashes again. At the next restart for 1 time update process repeats.

Hi,
I have the same errror :

Program Started
#### Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (5) ####
#### Message:
#### GHI.Premium.Net.RS9110Helper::get_IsLinkConnected_Helper [IP: 0023] ####
#### GHI.Premium.Net.WiFiRS9110::get_IsLinkConnected [IP: 0003] ####
#### GHI.Premium.Net.WiFiRS9110::Close [IP: 0014] ####
#### GadgeteerApp1.Program::InitThread [IP: 000d] ####
The thread ‘’ (0x3) has exited with code 0 (0x0).
#### Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (5) ####
#### Message:
#### GHI.Premium.Net.WiFiRS9110::RunFirmware [IP: 0049] ####
#### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
#### GadgeteerApp1.Program::InitThread [IP: 000d] ####
Start Updating WiFi module firmware:
This might take up to 1 minute
0 Sec
1 Sec
2 Sec
…100sec
BOOM

RS9110 firmware update failed: Time out
#### Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (5) ####
#### Message:
#### GHI.Premium.Net.WiFiRS9110::UpdateFirmware [IP: 006a] ####
#### GHI.Premium.Net.WiFiRS9110::Open [IP: 0014] ####
#### GadgeteerApp1.Program::InitThread [IP: 000d] ####
The thread ‘’ (0x6) has exited with code 0 (0x0).
A first chance exception of type ‘GHI.Premium.Net.NetworkInterfaceExtensionException’ occurred in GHI.Premium.Net.dll

And for the story, I’ve update firmware G120 yesterday to 4.2.9.0 on my Cobra II

can I update RS9110 firmware with TeraTerm or something ?

Cheers,

Thomas

@ Thomas - Here you find a patch for RS9110. http://www.tinyclr.com/forum/topic?id=11074&page=1