Cannot upgrade from FW 4.1 to 4.4 (SOLVED)

Discussion and support for the Nmea4Wifi multiplexer - a 4-input Nmea 0183 wifi multiplexer.
Post Reply
Flagsztok
Posts: 5
Joined: Mon Jun 15, 2020 4:34 pm

Cannot upgrade from FW 4.1 to 4.4 (SOLVED)

Post by Flagsztok » Mon Aug 02, 2021 7:45 am

SOLVED: Only way to upgrade from 4.1 to 4.4 is by using flash tool.

After clicking "Upload" progress bar jumps to 84% and nothing more happens.
When trying to upload exisiting firmware ver. 4.1 progress bar stops at 82%.
Resetting from UI or by holding "boot" button does not help.
Disconnecting Seatalk as suggested in other post does not fix the problem.
Making update when connected to external network with Internet access does not work either.

When trying to update firmware from Nmea4Wifi.exe (rev. 2.0) i get following errors:
- "Not a Valid Nmea4Wifi File!" when reding settings,
- "ESP32 did not respond or not ready for OTA!" when updating.

dagnall
Posts: 459
Joined: Wed Mar 04, 2020 6:36 pm

Re: Cannot upgrade from Firmware V4.1 to V4.4 (SOLVED)

Post by dagnall » Wed Jan 26, 2022 12:14 pm

Just a quick update..
I have just helped another user with very similar problems trying to update version 4.1.

(I would recommend trying everything else that you can before using the Flash tool, as it can "brick" the ESP32.
The issues are that the ESP can disconnect from providing a wifi AP whilst it is trying to do the download.
This does not cause big problems, as the old V41 code is still there. But it is frustrating. )

There can be many reasons for the AP disconnecting, and the multiplexer getting "distracted" NMEA and especially Seatalk inputs seem very common. This is why disconnecting the inputs is the first thing to try.

Removing the actual ESP module from the multiplexer is a simple way to ensure that all inputs are disconnected, BUT the USB connector on early units were very easy to damage, so it is essential to be very careful when connecting a usb cable to them to power them up.

Once the unit is unplugged and powered up, you should be able to connect to the NMEA4WIFI Access point as usual. This is usually sufficient to enable Update. But a better approach (best done at home!) is to connect to "External Network". This makes a more reliable link to the module and so upload of the OTA tends to be more reliable:

The process is simple, but lengthy
  • First (at home) connect the NMEA4 module to USB to give it power.
  • Then connect to the NMEA4 WiFI AP and open the webpage (192.168.4.1)
  • It might be useful at this stage to record your NMEA4 routing and filter settings etc, as they will get lost later in this sequence
  • Set your home network SSID and Password in EXTERNAL NETWORK SSID and Password boxes, select "ALSO CONNECT TO EXTERNAL" and click on "SET"
  • Wait at least 5 seconds. and reconnect to the NMEA4 AP wifi. Then, in the web browser go again to 192.168.4.1: You may want to REFRESH the web browser to make sure it is not displaying a cached image!
  • The web browser should now display two IP addresses under the Firmware version. One will be 192.186.4.1 and the other will be the New address for the NMEA4 on your home network: (something like 192.168.0.16)
  • NOW: on your computer, disconnect from the NMEA4 wifi AP, and connect to your home network.
  • Once connected to your home network, in the web browser go to 192.168.0.16 (or whatever you saw on the webpage).. and the NMEA4 webpage should again appear.
  • Click on "Update", and select the updated binary you wish to use, and then click Upload. The progress bar should go all the way across and get to 100%.. NOTE.. you will NOT get the "SUCCESS" message!
  • Please wait at least 30 seconds for the module to restart.
  • At this point the module will be in a factory default state, so it will not be connected to your home network (which is why you will not get the "Success" message). So connect to the NMEA4 AP wifi again, and using the web browser go to 192.168.4.1 again
  • you should now see the new updated firmware version.
  • NOTE that the NMEA4 will have reverted to the "Default" settings, so you will need to re-enter SSID and password etc. You will also need to reset the routings and filters to the setup you use (and that you recorded right at the beginning of this process..)

Post Reply