[Bug]: ThinkNode M7: interrupted LR1110 firmware update cannot recover with pinned RadioLib (-706), needs RadioLib 439fc839

Open Beginner friendly
#12,433 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp
Domain
embedded-iot

Research direction

Start by reading the thinknode_m7 variant’s RadioLib pin and LR11x0Interface::init() in LR11x0Interface.cpp; compare the pinned commit with RadioLib commit 439fc839. Update the pin to a commit containing that fix, then verify the M7 can recover an interrupted LR1110 firmware update and reports firmware 4.2.

Written by the indexing model from the issue text.

Description

first-contribution
Category

Hardware Compatibility

Hardware

Other

Firmware Version

2.8.3.fa028ef (own build on top of develop; the affected code is unchanged in develop 647831b of 2026-11-17)

Description

ThinkNode M7 (LR1110): an interrupted LR1110 firmware update cannot be recovered with the pinned RadioLib.

The thinknode_m7 variant updates the LR1110 transceiver firmware to 0x0402 on first boot (LR11X0_UPDATE_FIRMWARE_TO). If that update is interrupted (on our unit: the serial port was opened during the update, which resets the ESP32-S3 through DTR/RTS on the CH340K), the LR1110 stays in its bootloader.

LR11x0Interface::init() then detects the bootloader and retries the update, but this always fails with -706 (RADIOLIB_ERR_SPI_CMD_INVALID). Cause: the pinned RadioLib (5878f990) starts LR11x0::updateFirmware() by sending the system Reboot command, which the LR1110 bootloader rejects. The device is left without a radio on every boot, also with older firmware.

RadioLib fixed this on 2026-11-09 in jgromes/RadioLib@439fc839 ("Allow firmware update to start from bootloader mode"). With only that change applied to the pinned RadioLib, the same unit recovered on the next boot by itself and now reports LR1110 FW 4.2 (WiFi 3.2, GNSS 2.0).

Request: bump RadioLib to a commit that contains 439fc839. Without it, every M7 whose first boot is interrupted (power loss, reset, opening the serial port) loses its radio for good.

Steps to reproduce:

  1. Flash thinknode_m7 (factory.bin) onto an M7 whose LR1110 is still on its factory firmware.
  2. During the first boot, while the LR1110 update runs, reset the ESP32 (open the serial port or cut power).
  3. Boot again: recovery fails with -706 on every boot.
Relevant log output
LR11x0 in bootloader mode (init result ...); retrying the interrupted firmware update
LR1110 firmware recovery FAILED ... -706 - power-cycle to retry
No LR1110 radio

(Exact log of the failed boots was not kept; the messages are those from LR11x0Interface.cpp.)

Dominant language
C++
Stars
8.4k
Forks
2.8k
Avg merge
3d 14h
Merged PRs (30d)
119

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshtastic/firmware

All issues in meshtastic/firmware

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.