mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
3.3 KiB
3.3 KiB
Flash du Backpack ExpressLRS du RadioMaster Nomad (pont UDP MSPv2 0x0383)
Pourquoi ce patch ?
Sur le firmware stock ExpressLRS TX Backpack 1.5.9, la puce ESP32-C3 du RadioMaster Nomad n'accepte les trames MSP_ELRS_BACKPACK_SET_PTR (0x0383) que via ESP-NOW (et le port UDP 14555 ne relaie que du MAVLink).
Le patch patches/elrs_backpack_1.5.9_udp_msp_ptr.patch ajoute un pont UDP direct sur les ports 14550 et 14555 :
- Tout paquet UDP de 15 octets commençant par
$X<avec l'opcode0x0383et un CRC8 DVB-S2 valide est transmis directement surSerialvers le processeur principal du Nomad. - Un compteur
ptr_packetsest exposé danshttp://elrs_txbp.local/mavlink(ouhttp://10.0.0.1/mavlinken mode AP). - Permet au casque /
steamframe-fpvde piloter CH6–CH8 en Wi-Fi tout en gardant CH1–CH5 libres pourg29_crsfet iNav en modeCRSF(Link Mode = Normal).
1. Compiler le firmware Backpack (1.5.9)
git clone --depth 1 --branch 1.5.9 https://github.com/ExpressLRS/Backpack.git elrs_backpack
cd elrs_backpack
git apply /chemin/vers/steamframe_fpv/patches/elrs_backpack_1.5.9_udp_msp_ptr.patch
# Créer un environnement Python 3.12 + PlatformIO
uv venv -p 3.12 .venv
uv pip install --python .venv/bin/python platformio
# Compiler pour ESP32-C3 TX Backpack (RadioMaster Nomad)
.venv/bin/pio run -e ESP32C3_TX_Backpack_via_WIFI
2. Flasher le RadioMaster Nomad
Important : Utilisez toujours
python/binary_configurator.pyavec--target radiomaster.txbp.nomadafin d'injecter la configuration matérielle (product_name, etc.) dans le binaire.
Option A — Mise à jour en Wi-Fi OTA (si la Backpack est déjà accessible)
.venv/bin/python python/binary_configurator.py \
--target radiomaster.txbp.nomad \
--flash wifi \
--port elrs_txbp.local \
.pio/build/ESP32C3_TX_Backpack_via_WIFI/firmware.bin
Option B — Flash via USB-C Passthrough (récupération / premier flash)
Branchez le Nomad en USB-C sur le PC (détecté par ex. sur /dev/ttyUSB0), puis :
.venv/bin/python python/binary_configurator.py \
--target radiomaster.txbp.nomad \
--flash passthru \
--port /dev/ttyUSB0 \
.pio/build/ESP32C3_TX_Backpack_via_WIFI/firmware.bin
Débranchez ensuite le câble USB-C et redémarrez le Nomad sur la radio.
3. Réglages ExpressLRS (script Lua sur la radio) & iNav
Dans le script Lua ExpressLRS :
- Packet Rate :
100Hz Full(ou un modeFull) - Switch Mode :
16ch Rate/2(débranchez brièvement le RX si ELRS refuse le changement à chaud) - Link Mode :
Normal(CRSF standard, compatible iNav +g29_crsf) - > Backpack :
- Backpack :
On - HT Enable :
On - HT Start Channel :
AUX2(Pan = CH6, Tilt = CH7, Roll = CH8) - Telemetry :
WiFi(ouOffavecEnable Backpack WiFipour le port14550)
- Backpack :
Dans steamframe-fpv (Réglages → Suivi de Tête & Radio) :
- Protocole Wi-Fi :
MSPv2 0x0383 - Cible Réseau :
10.0.0.1:14550(AP terrain) ouelrs_txbp.local:14555/14550(LAN) - Dans iNav Configurator →
Receiver, les canaux CH6, CH7, CH8 réagissent en temps réel (et CH1–CH5 restent dédiés àg29_crsf).