How to update ExpressLRS transmitter firmware
ExpressLRS is a protocol under development, so it is being upgraded frequently. Here, we will show you how to update the firmware of the Express LRS transmitter.
このページを日本語で見る
Table of contents
- Basics of update method
- ELRS Lua script version upgrade
- Updating from version 2.x to 3.x: Resolving Bad Size Given error
- Via USB: CP210x driver installation
- Via USB: Connect transmitter to your computer
- Via USB: Build and update transmitter firmware
- Via WiFi: Build transmitter firmware
- Via WiFi: Switch transmitter to WiFi mode
- Via WiFi: Connect your computer to transmitter
- Via WiFi: Update transmitter firmware
Basics of update method
Update is done using ExpressLRS Configurator installed on your computer. There are two ways to update, one is to use a USB cable (UART) and the other is to use Wifi.When using USB cable, transmitter will connect to COM port on your computer. Building the firmware with ExpressLRS Configurator will continue to update transmitter.
When using Wifi, transmitter acts as an Wifi access point. After building the firmware with ExpressLRS Configurator, put the transmitter in Wifi mode and connect it to your computer. Then upload the firmware to the transmitter and update it. However, some products may not have Wifi function. In that case, update with a USB cable.
You can update firmware as many times as you like. For example, you can write same version of firmware multiple times to change "Binding Phrase".
The major version (first number) of transmitter and receiver (drone) must match. When upgrading your transmitter, make sure that the same version can be used for your receiver to be used. However, the minor version (second number) and patch version (third number) do not have to match.
How to install ExpressLRS Configurator
ELRS Lua script version upgrade
Even in the case of a minor version upgrade, the ELRS Lua script may also be updated as the ELRS version is updated. When updating the transmitter firmware, be sure to download the latest version of the ELRS Lua script.Updating from version 2.x to 3.x: Resolving Bad Size Given error
Depending on your transmitter model, you may see a "Bad Size Given" error when updating from version 2.x to 3.x. The solution is to install a special firmware repartitioner to resize the transmitter's storage partitions and then install version 3.x firmware.This step is only required when updating over Wi-Fi. Not required if via USB(UART).
- Upgrade the transmitter firmware to version 2.5.1 or later.
- Install by dragging and dropping repartitioner.bin onto the browser screen of the transmitter via Wi-Fi. If you get a "Target Mismatch" error during installation, click "Flash Anyway" to install.
- After the transmitter restarts several times, it will switch to Wi-Fi mode.
- Install version 3.x firmware by dragging and dropping it onto the browser screen of the transmitter via Wi-Fi.
If there is a note like the one shown on the right on the transmitter model name screen, you need to install the repartitioner.
ExpressLRS repartitioner (github)
Quick Start | Getting Started (ExpressLRS)
Via USB: CP210x driver installation
Before connecting ELRS transmitter to your computer, first install USB-UART bridge driver on your computer.
CP210x USB to UART Bridge VCP Drivers (Silicon Laboratories)
Via USB: Connect transmitter to your computer
However, for products that require DIP switch switching when rewriting the firmware, use the method of updating by ELRS transmitter itself below.
How to set up ExpressLRS transmitter
If the transmitter has a DIP switch, switch it appropriately. Connect antenna to the transmitter, then connect power supply that matches the specifications to the transmitter, and start up. It is recommended to use a 2S LiPo battery for power supply. 3S battery cannot be used because the voltage is too high.
Then connect it to your computer with a USB cable.
Transmitter will switch to WiFi mode if left alone for about 60 seconds (time depends on the firmware settings). The display shows SSID (ExpressLRS TX), password (expresslrs), and IP address (10.0.0.1). Even if the transmitter is in WiFi mode, it is possible to update the firmware via USB connection.
If you see "Silicon Labs CP210x USB to UART Bridge" here, the connection is successful.
Open [Start]-[All apps]-[Windous Tools(Win11) / Windows management tools (Win10)] and double-click "Computer Management". Then click "Device Manager" from the left menu.
Or open [Start]-[Windows System Tools]-[Control Panel] and select [System and Security]-[System]-[Device Manager].
Via USB: Build and update transmitter firmware
ExpressLRS Configurator is used to build and update the firmware. In addition, such as Betaflight Configurator , software that uses COM port should be closed in advance.
How to install ExpressLRS Configurator
In "Releases" field, select the firmware version to install. The latest version is selected as the initial value.
In "Device category" and "Device" fields, select the target device. For transmitters, device name should contain "TX".
In "Flashing Method" field, specify how to write the firmware. Select "UART" when using USB.
If you click the "DOWNLOAD LUA SCRIPT" button displayed here, you can download ELRS Lua script to be stored in your radio.
If you don't know the device name to select, try accessing transmitter from your computer with in WiFi mode. Then you can see target device name and current ELRS version. For more information, see Via WiFi: Connect your computer to transmitter . However, some transmitters do not have WiFi mode.
Regulatory domains
Select "EU_CE_2400" when using 2.4GHz band in the EU area, and select "ISM_2400" when using it outside the EU area.
Binding phrase setup
Where "Custom binding phrase" is written, specify "Binding Phrase", which is the "watchword" used to bind transmitter and receiver. If you set the same phrase for both transmitter and receiver, it will be automatically bound just by turning on the power. If you uncheck "BINDING_PHRASE", you can bind manually without using "Binding Phrase".
Network
In the "AUTO_WIFI_ON_INTERVAL" field, you can specify the time from power on to switching to Wi-Fi mode. The unit is seconds, and the initial value is 60 seconds.
You can read more about other options on the following pages of the ExpressLRS official site.
Firmware Options (expresslrs.org)
User Defines Explained (expresslrs.org)
And now the firmware update is complete.
Click "BACK" button on this screen to start build again.
Via WiFi: Build transmitter firmware
Build transmitter firmware using ExpressLRS Configurator on your computer in the same way as the procedure via USB .In "Releases" field, select the firmware version to install. The latest version is selected as the initial value.
In "Device category" and "Device" fields, select the target device. For transmitters, device name should contain "TX".
In "Flashing Method" field, specify how to write the firmware. Select "WiFi" when using WiFi.
Also, specify the options in the same way as for the procedure via USB .
If you click the "DOWNLOAD LUA SCRIPT" button displayed here, you can download ELRS Lua script to be stored in your radio.
Firmware Options (expresslrs.org)
User Defines Explained (expresslrs.org)
If you don't know the device name to select, try accessing transmitter from your computer with in WiFi mode. Then you can see target device name and current ELRS version. For more information, see Via WiFi: Connect your computer to transmitter . However, some transmitters do not have WiFi mode.
If you have written firmware with the options "HOME_WIFI_SSID" and "HOME_WIFI_PASSWORD" in the past, the transmitter will be connected to your home LAN when it goes into WiFi mode. In this case, you can click "BUILD & FLASH" button to build and write the firmware at once.
Leave this explorer screen unclosed for later writing to the transmitter. The firmware storage folder will be created under "C:\Users\[Username]\AppData\Local\Temp".
Via WiFi: Switch transmitter to WiFi mode
For information on how to use "ExpressLRS" Lua script, see How to set up ExpressLRS transmitter .
How to set up ExpressLRS transmitter
For details on how to operate joystick of ELRS transmitter, see How to set up ExpressLRS transmitter .
How to set up ExpressLRS transmitter
The transmitter that has been switched to WiFi mode will not return to normal mode unless it is restarted.
Connect antenna and power supply that matches the specifications to the transmitter, and start up. It is recommended to use a 2S LiPo battery for power supply. 3S battery cannot be used because the voltage is too high.
Then wait about 60 seconds (time depends on the firmware settings) and it will switch to WiFi mode. The display shows SSID (ExpressLRS TX), password (expresslrs), and IP address (10.0.0.1).
Via WiFi: Connect your computer to transmitter
WiFi signal of the ELRS transmitter is very weak, so place your computer near the transmitter.
There are three screens on the transmitter, and you can switch screens by clicking [OPTIONS], [WIFI], and [UPDATE] in the center of the screen.
On [OPTIONS] screen, you can change Binding Phrase (UID byte), the time to switch to WiFi mode (seconds), Telemetry report interval (msec), etc., and download these configuration as a file.
On [WIFI] screen, you can switch between using the transmitter's WiFi function as an access point mode or connecting to your home LAN. You can also temporarily switch to access point mode while remembering your home LAN connection settings.
Click on the words "currently running firmware" to download the firmware currently written to the transmitter to your computer.
The target device name and current receiver firmware version are displayed at the top of the screen. By scrolling the screen, you can update the firmware or set various options.
Via WiFi: Update transmitter firmware
And now the firmware update is complete.