mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 23:48:13 +00:00
3.8 KiB
3.8 KiB
Flashing from the Transmitter
For radios running ersky9x and OpenTX, there is an option to flash a precompiled firmware file to the multiprotocol module using the transmitter's Bootloader mode.
Tools required
- A compatible transmitter running an ersky9x bootloader v2.9 or newer. This is true for both OpenTX and ersky9x.
- A precompiled multiprotocol firmware file (.hex for Atmega328p or .bin for STM32)
- A Flash from TX bootloader installed on an Atmega328p or STM32 multiprotocol module
- A means to get the firmware file onto the transmitter's SD card
Radio bootloader and apps
How to check the bootloader version
- Push both horizontals trims inwards (close to each others) while powering on the radio
- The screen title should indicate
Boot Loader V2.9Ready
or newer - Launch the
FlashMulti_xxx.app
app from theRun App
menu - The App version at the bottom right of the screen should be
28.Aug.18
or newer - If everything is correct you are ready to upgrade the Multimodule firmware
Upgrade the bootloader and install app(s)
- Download the latest zip file of the ersky9x firmware
- Extract the .bin file corresponding to your radio in your SD card
\FIRMWARE
directory - Download the latest Flash Multiprotocol Module app for your radio
- Copy the .app file in a folder called
APPS
at the root of the SD card (if the directory does not exist create it) - For ersky9x
- Power on the radio in
MAINTENANCE
mode while pushing both horizontals trims outwards (away from each others) - Select
Update Bootloader
- Select the ersky9x firmware matching your radio
- Long press it and select
Flash bootloader
- Power on the radio in
- For OpenTX
- Boot the radio normaly
- Go in the
RADIO SETUP
menu page 2 calledSD-HC CARD
- Open the
FIRMWARE
directory - Select the ersky9x firmware matching your radio
- Long press it and select
Flash bootloader
- Check by rebooting the radio in bootloader mode that everything is ok
Note: For OpenTX radio, this bootloader is an upgraded version of the existing bootloader shipped with OpenTX. It's providing you the exact same level of default features while adding more through apps. You can go back and forth between the 2 bootloaders without an issue.
Multimodule upgrade procedure
- Either:
- Connect the transmitter using a USB cable and power it on, or
- Remove the SD card from the transmitter and mount it using a suitable reader
- Copy the pre-compiled firmware file into the
\FIRMWARE
folder of the SD card (create the folder if it does not exist) - Power the transmitter off and remove the USB cable or put the SD card back in the transmitter
- Push both horizontals trims inwards (close to each others) while powering on the radio
- The screen title should indicate
Boot Loader V2.9Ready
or newer - Launch the
FlashMulti_xxx.app
app from theRun App
menu - Choose the appropriate file type
HEX
to update an Atmega328p moduleBIN
to update an STM32 module
- Select
Update
- Choose the firmware file to flash, long press to select it
- Long press again to flash the selected file to the module
- When flashing has finished, long press EXIT to reboot in normal mode
Troubleshooting
- If the flashing procedure fails try to redo the process with
Invert Com Port
enabled - Make sure to have the latest bootloader on the MPM module before attempting to Flash from the TX:
- For an Atmega328p module use the bootloader bundled with the
Multi 4-in1 AVR board 1.0.3
or later - For a STM32 module use the bootloader bundled with the
Multi 4-in1 STM32 board 1.0.9
or later
- For an Atmega328p module use the bootloader bundled with the