Many users confuse the terms "firmware" and "driver" when it comes to wireless network adapters. In the strict technical sense, flash You can only change the firmware of the chip itself or the router it's installed in. However, in everyday life, this often means reinstalling drivers or firmware for USB devices. This nuance determines the next steps.
If your WiFi adapter If your device is unstable, loses signal, or isn't detected by the system at all, a standard driver reinstallation via Device Manager may not help. In such cases, more in-depth intervention is required: resetting NVRAM settings, reflashing the EEPROM, or installing specific firmware versions. Attention: Incorrect handling can turn the device into a useless piece of plastic.
In this article, we'll cover all aspects of updating wireless module firmware. We'll cover methods for USB dongles, internal PCIe cards, and built-in router modules. You'll learn when it's worth taking the risk and when it's best to simply replace the hardware.
Differences between driver, microcode and firmware
Before you begin any manipulations, you need to clearly understand the software architecture of your device. Driver — is a program for the operating system (Windows, Linux) that explains to the OS how to communicate with the hardware. The firmware is stored in the device's memory.
For USB adapters, the term firmware is often replaced by the term microcode or firmware blobThis is a small file that the driver loads into the adapter's memory every time the computer is turned on. Unlike routers, USB dongles rarely have permanent flash memory for storing firmware, so it's not always possible to permanently flash them.
The situation changes when it comes to internal modules or routers. Here EEPROM or NVRAM They retain settings and base code even after power is removed. Updating this area requires special utilities and often results in a complete reconfiguration of the network.
⚠️ Warning: Attempting to write data to the EEPROM intended for a different board revision will result in irreversible failure of the device without using a programmer.
It's important to distinguish between these concepts, as searching for a solution to the problem of "how to flash" a driver and for actual firmware leads to different resources. Drivers are searched for on chip manufacturer websites, while firmware is found in OpenWrt repositories or on ENTU forums.
Diagnostics and identification of adapter chipset
A key step before any action is identifying the controller. The brand name on the case (TP-Link, D-Link, Asus) doesn't tell you anything about the internals. It could contain a chip from Realtek, MediaTek or Ralink.
For precise determination in Windows, use the utility Device ManagerFind the unknown device or network adapter, go to Properties, the Details tab, and select Hardware IDs. Codes VID And PID will indicate the real manufacturer.
Linux users are more fortunate in this regard. The team lsusb for USB devices or lspci For internal cards, it will instantly provide all the necessary information. Often, it's in the Linux kernel logs (dmesg) you can see the device's request to download a specific firmware file.
- 🔍 Use
HWInfoorAIDA64for detailed analysis of PCI/USB devices in Windows. - 📝 Write down the exact chip model (for example, RTL8812AU), since the firmware is not universal.
- 🌐 Search for information on the "adapter model + chipset + forum" link to find specific bugs.
Knowing the exact chip model is critical. For example, adapters based on Realtek often require manual compilation of drivers on Linux, while for MediaTek There are ready-made packages. An error in identification will result in the installation of non-working code.
Preparing for the update procedure
Updating network interface firmware requires a stable system. Download all necessary files in advance: driver archives, firmware utilities, and, if possible, a backup of the current configuration.
Disable your antivirus and firewall during installation, as low-level drivers are often blocked by security systems. It is also recommended to create restore point systems to be able to roll back in the event of a critical failure.
If you plan to flash the router or internal module via the console, make sure the power supply won't be interrupted. For laptops, the battery should be fully charged, and for PCs, it's recommended to use an uninterruptible power supply.
☑️ Checklist before flashing
Don't neglect preparation. Often, the "WiFi not working" problem can be solved by simply clearing old drivers before installing new ones. Use utilities like Display Driver Uninstaller (even though it's for video, the principle is the same) or the standard Windows functionality for completely removing old software.
Updating the firmware for USB adapters
As mentioned earlier, USB adapters typically don't have their own flash memory for programming. Flashing them involves loading a binary file into the chip's RAM during startup. In Linux, this process is automated via the package linux-firmware.
If your adapter requires manual file download (eg. rtl8812au), you need to place the firmware file (often with the extension .bin or .fw) to the directory /lib/firmwareAfter this, a reboot or reconnection of the kernel module is required.
In Windows, this process is hidden within the driver installer. However, there are situations where it is necessary to reload the calibration data. For this purpose, manufacturers (such as Realtek) release special utilities, such as RTWPowerSave or Configuration Tools.
What to do if the adapter has disappeared from the system?
If the adapter disappears from Device Manager after the update, try removing it, completely shutting down the computer (remove the battery or unplug the power for 10 seconds), and then turning it back on. This will discharge any static electricity and force a reset of the USB controller.
For advanced users, it is possible to reflash the EEPROM in USB adapters using utilities such as RTWSleep or specialized programmers, but this requires soldering and a memory dump from an identical device.
Flashing internal PCIe modules and routers
The situation is more serious here. Internal cards and routers have persistent memory. The firmware update process often involves the use of TFTP server, recovery mode web interface or console cable (UART/USB-to-TTL).
For routers, it is popular to install alternative firmware, such as OpenWrt or DD-WRTThis radically changes the device's capabilities, turning it into a powerful networking tool. However, the risk of bricking is very high.
The process usually looks like this: loading the firmware file into the device's memory, checking the checksums and writing to the sector mtdInterrupting this process is fatal. For PCIe WiFi cards in PCs, firmware updates are rare, usually via the motherboard BIOS or Intel utilities.
| Device type | Firmware method | Risk of failure | Necessary software |
|---|---|---|---|
| USB Adapter | Loading driver | Short | Linux Firmware / Installer |
| PCIe Card | BIOS / Utility | Average | Intel PROSet / Vendor Tool |
| Router (Stock) | Web UI / TFTP | Average | Official .bin file |
| Router (OpenWrt) | Sysupgrade / Failsafe | High | LuCI / CLI |
When working with routers, always check the hardware version compatibility (ver 1.0, ver 2.0). Flashing firmware from the first board version onto the second is guaranteed to render the device inoperable due to differences in the memory chip pinout.
Troubleshooting and disaster recovery
If the adapter stops working after an update, the first step is to roll back the driver. In Windows Device Manager, this can be done via the "Driver" tab → "Roll Back Driver." If the system doesn't boot, try logging in. Safe mode.
There is a mode for routers Recovery or FailsafeTypically, to enter the device, you need to hold down the Reset button while turning on the power and send the firmware via TFTP to a specific IP address (often 192.168.1.1). This allows you to restore the device even without a working OS.
In case of complete loss of response (no LEDs, no ping response), a hardware programmer (CH341A) will be required. It connects to the SPI flash memory pins on the board and allows you to upload a clean firmware dump directly, bypassing the bootloader.
⚠️ Warning: Using a hardware programmer requires soldering skills. Careless contact with the contacts can cause a short circuit and burn out the board.
A common issue is version conflicts. The old bootloader may not support the new firmware. In such cases, an intermediate software version can help: it updates the bootloader, after which the final version is installed.
Frequently Asked Questions (FAQ)
Is it possible to flash a WiFi adapter via a phone?
In most cases, no. Phones (Android/iOS) don't have tools for low-level interaction with USB hosts in programming mode. There are exceptions for routers, which can be controlled via a mobile app, but they usually download the firmware themselves from the internet, not from the phone.
Where can I find firmware if the manufacturer's website is down?
Use driver archives (for example, DriverGuide), forums (4PDA, XDA Developers) or Linux repositories (linux-firmware). Enthusiasts often save the latest working versions of software. Be careful with files from untrusted sources.
Will the firmware improve WiFi speed?
Updating your router's firmware can improve stability and security. However, it's impossible to increase the physical speed above the chip manufacturer's stated speed (for example, 300 Mbps for the N standard) through software. Miracles don't happen, but optimizing antenna algorithms is possible.
What is NVRAM and should it be reset?
NVRAM — is a non-volatile memory that stores settings. Reset (clear NVRAM) is often required after a major router firmware update to ensure that old settings don't conflict with the new code. This is done through the interface or a special command in the console.
Is it safe to use drivers from aggregator sites?
Use them only as a last resort. Drivers from aggregator websites may contain malicious code or be modified versions. It's always better to look for the original file on the chip manufacturer's website (Realtek, Intel, Atheros), rather than the adapter manufacturer's.