ETport E4 Firmware Recovery
====================================
v1.00
12/2/2025

Usage:
------

1) Connect an ethernet cable directly from the ETport meter to the laptop/PC
2) Using Windows Explorer, RIGHT-CLICK on the "recover_ETport.bat", and select "Run as Administrator"
   NOTE: Windows may warn about running the batch file.  Please select "More Info" and "Run Anyway".
3) The batch file will list available network interfaces.  
   You must select the one which corresponds to the direct ethernet connection to the meter.
4) Run recover_ETport.bat "<name of interface>".  ie:
     recover_ETport.bat "Ethernet"
5) Follow the prompts.

Theory of operation:
-------------------
This archive contains a batch file (and associated utilities) to perform a "firmware recovery" on a external ETport modules.

This process depends on the ETport being powered on while holding the "Reset Button" to force it into bootloader mode.  
The bootloader then listens to TFTP messages on a fixed IP address of 10.10.10.10

It is required to connect a Windows based PC (or Laptop) directly to the meter via a direct ethenet cable 
(ie: avoid use of hubs and switches to eliminate unnecessary complexity).

The ethenet connection must be configured for a static IP address, within the same subnet as the bootloader.
It is recommended to use the following settings:

IP: 			10.10.10.11
Subnet Mask:	255.255.255.0
Gateway:		10.10.10.10

Once the meter is set in bootloader mode, and the PC connected and configured, a ping test to 10.10.10.10 should confirm communications.

The firmware may be uploaded via the TFTP protocol (either using the windows built-in client, or the supplied executable).

After successful file transfer, wait 3 minutes to ensure proper installation of the updated firmware.

Contents:
---------
recover_E4.bat            - Batch file that executes the required steps of changing IP, and uploading the firmware
tftpc.exe			            - Freeware TFTP client
etport-external-2.40.frm	- ETport module firmware file
!Readme.txt			          - This file