Repository navigation
feat(mpm): flash the MPM v2 multi-module - #7994
Draft
raphaelcoeffic wants to merge 2 commits into
Draft
raphaelcoeffic wants to merge 2 commits into
raphaelcoeffic wants to merge 2 commits into
Conversation
Firmware files with board type 3 in the multi-x signature are MPM v2 (CC2652) images. They are accepted for internal and external modules like STM32 ones, and the module's STK500 device signature must match the file: 1E 55 26 for the MPM v2 boot loader. A file for the other kind of module is refused before anything is written. The MPM v2 boot loader only listens for a short time after power on, so the module starts fast after a radio reboot: for these files the sync starts 10 ms after power on instead of 500 ms.
This was referenced Nov 4, 2026
…naming The driver gets the file's MultiFirmwareBoardType instead of a bool. FIRMWARE_MULTI_CC2652 is now FIRMWARE_MULTI_MPM_V2: the 1E 55 26 signature names the MPM v2 boot loader, which runs on the CC26xx and the CC27xx alike.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets the radio flash the MPM v2, a MULTI-Module built on a TI CC26xx or CC27xx instead of the 4-in-1's STM32 and RF chips. The MPM v2 already runs on unmodified EdgeTX (protocol list, bind, telemetry). Only flashing it from the radio needs this change.
Draft until the MPM v2 is closer to a release.
What changes
multi-x(v2) signature, nowFIRMWARE_MULTI_MPM_V2, which the flash driver receives as the file's board type. They are accepted for the internal and external module under the same conditions as STM32 files (boot loader support, boot loader check, MULTI telemetry).1E 55 26, on the CC26xx and the CC27xx alike: the signature names the boot loader, not the chip. The file type and the module must match, so an MPM v2 file is refused on an STM32 module, and the other way round, before anything is written. The radio leaves programming mode and shows the usual wrong-signature message.STM32 and AVR modules flash exactly as before.
Tested
On 2.12, which has the same code, with "Flash External Multi" and
mpm-v2.binfrom the SD card:Not tested yet: an STM32 module with this build (flashing it, and refusing an MPM v2 file).
Test builds for 2.12, with the external module pass-through (#7927) and the USB storage fix (#7934): #7993.