============================================================
SFP-Master for Windows (64-bit)
CH341A I2C/EEPROM Programmer GUI
============================================================

⚠ BEFORE YOU START:
Make sure your SFP module does not require a write password
or that you've already set the I2C programming password.
Also ensure the I2C/EEPROM checksum is correct before saving.

------------------------------------------------------------
Step 1: Uninstall Existing CH341A Drivers (if any)
------------------------------------------------------------
To avoid conflicts, uninstall any previously installed CH341A drivers:

1. Open Device Manager (Win + X → Device Manager).
2. Locate any "CH341A USB" or similar devices under:
     - "Interface"
     - "Ports (COM & LPT)"
     - "Universal Serial Bus Controllers"
3. Right-click the device and select "Uninstall Device".
4. Make sure to check "Delete the driver software for this device" if available.
5. Disconnect and reconnect the CH341A USB adapter.

------------------------------------------------------------
Step 2: Install the Provided Driver (libusb-win32)
------------------------------------------------------------
1. Go into the "driver" folder.
2. Run **InstallDriver.exe** as Administrator.
3. Wait for it to complete successfully.

You should now see this in Device Manager:
   ▸ **libusb-win32 USB Devices → CH341a I2C/EEPROM for Linux Apps**

------------------------------------------------------------
Step 3: Launch the Application
------------------------------------------------------------
After the driver is installed correctly, you can now use the application.

To start SFP-Master:
   ➤ Run **SFP-Master.cmd**

This sets up the required environment and starts the GUI.

------------------------------------------------------------
Additional Notes:
------------------------------------------------------------
• This program requires no installation — it's portable.
• Do NOT rename or move files/folders from the extracted structure.
• You may copy the entire folder to a flash drive or other PC.

------------------------------------------------------------
Troubleshooting:
------------------------------------------------------------
• If the device still won't connect:
   – Reinstall the driver using the provided tools.
   – Ensure you're running SFP-Master as Administrator.
   – Try a different USB port.

• If the GUI appears in a classic Windows theme:
   – Make sure the "platforms" and "styles" folders are in the same directory as SFP-Master.exe.

Enjoy!
============================================================
