🌐 Suomi — Community translation View in English

Laiteohjelmiston päivitykset

Keep your Meshtastic node up to date with the latest firmware for new features, bug fixes, and security improvements.

Päivitysten tarkistaminen

  1. Open Settings for the connected node and, under Advanced, tap Firmware Update. The entry appears only for OTA-capable nodes.
  2. Sovellus tarkistaa saatavilla olevat firmware-versiot.
  3. Available updates show the version number and release notes.

The app also tells you when the connected node is behind the latest stable release. The Connect tab shows a Firmware update available card naming the installed and the stable version, and a notification says the same once per node and release. Its button reads Open Firmware Updates when the app can update the node over the current connection, or Open Meshtastic Flasher when it can’t.

Päivitysmenetelmät

The Firmware Update screen picks the method from how the node is connected, and its update button names it: Update via BLE OTA, Update via Wi-Fi OTA, or Update via USB File Transfer.

Yhteys nRF52 ESP32 RP2040
Bluetooth BLE OTA BLE OTA —
Verkko — WiFi OTA —
USB USB-tiedonsiirto — USB-tiedonsiirto

Where the table has no method, the screen says firmware updates are not supported over this connection. Connect another way, or use the Web Flasher.

OTA (Over-The-Air) Bluetooth-yhteyden kautta

Yleisin päivitystapa Android-käyttäjille:

⚠️ Warning: Interrupting a firmware update can leave the node unable to boot. Pidä puhelin lähellä ja molemmat laitteet käynnissä, kunnes päivitys on valmis.

  1. Ensure your node is connected via Bluetooth.
  2. Siirry Firmware-päivitys -näkymään.
  3. Valitse haluamasi firmware-versio.
  4. Tap Update via BLE OTA. An Update Warning dialog lists the pre-flight checks — read it, then tap I know what I’m doing. to start. This dialog appears for every update method, including Wi-Fi OTA, USB, and a local firmware file.
  5. Wait for the update to complete. Do not disconnect during the update.

While the update downloads, processes, uploads or verifies, the screen stays on. The system back button or gesture during an update, including the bootloader review, asks Stop update? with Stop and Keep going. The arrow in the top bar leaves without asking. A node that is mid-update stays in update mode until you finish or recover it. You can also tap Play Chirpy Hop to play a short runner game: tap to jump, swipe down to crouch. The update’s progress stays visible above the game, and back returns to the update screen. When the update finishes or fails, the game stops and offers Back to update. Your best score is kept on this device.

Päivitysten tarkistaminen

Some boards ship with a bootloader that cannot take a Bluetooth update. For these, the screen shows a warning card before you start, with a hint for the board where one exists. Don’t show again for this device hides it for that node. When a stock nRF bootloader limits how fast the upload can run, the screen says so during the upload, and again on the success screen, with a link to the Meshtastic nRF52 Bootloader, which makes Bluetooth updates much faster.

Tyhjennä laite päivityksen aikana

Where the app offers it, an Erase device during update switch appears above the update button. Asetus koskee vain tätä päivitystä eikä sitä muisteta myöhemmin.

Menetelmä Mitä tyhjennys tekee
BLE / WiFi OTA Laite palautetaan tehdasasetuksiin, kun päivitys on vahvistettu. Kaikki asetukset ja Bluetooth-pariliitokset poistetaan.
USB Tyhjentää laitteen flash-muistin kokonaan ja asentaa sen jälkeen valitun laiteohjelmiston alusta alkaen.

It is not offered for a local firmware file, during a recovery update, or over USB in the desktop app — the USB erase runs the Android-only maintenance sequence below. Over USB it is offered for nRF52 and RP2040 nodes only, and when the app can’t erase one safely, the switch is shown disabled with the reason. Tämän jälkeen laite on määritettävä uudelleen ja pariliitos muodostettava uudelleen.

OTA WiFi:n kautta (verkkoon yhdistetty ESP32)

When an ESP32 node is connected over the network rather than Bluetooth, the app offers Wi-Fi OTA, which pushes the same update over TCP:

  1. Connect to the node over the network (see Connections).
  2. Avaa Laiteohjelmiston päivitys -näkymä ja valitse versio.
  3. Tap Update via Wi-Fi OTA. Keep the node and phone on the same network for the whole transfer.

Wi-Fi OTA installs the ESP32 app image, a .bin file, rather than the .uf2 a USB update uses. The app selects the right file from the release for you.

USB-päivitys sovelluksesta

When your nRF52 or RP2040 node is connected over USB/serial (rather than Bluetooth), the Firmware Update screen offers USB File Transfer. Sovellus käynnistää laitteen uudelleen DFU-tilaan ja pyytää sitten tallentamaan .uf2-tiedoston laitteen DFU-asemaan järjestelmän tiedostonvalitsimen avulla. This option appears only on a USB/serial connection. It is not available over Bluetooth, and ESP32 nodes have no USB update path in the app.

The web app runs the same update over Web Serial: it reboots the node into DFU mode and saves the .uf2 through the browser’s save dialog; pick the node’s DFU drive there. Where the browser has no save dialog the file arrives as a download instead, and the update finishes only once you copy it to that drive. It is the only update the web app offers; Bluetooth updates and ESP32 nodes need the Android or desktop app, or the Web Flasher. The release list downloads only on sites the firmware host allows, so a self-hosted copy of the web app updates from a local file.

A vendor nRF bootloader supplied as a .zip (e.g. RAK WisBlock RAK4631) can’t be copied to the drive. Use the app’s bootloader upgrade, or flash the .zip with a serial DFU tool such as adafruit-nrfutil. Päivitysmuotoinen .uf2-käynnistyslatain voidaan asentaa kopioimalla se asemalle. Näin myös tämän sovelluksen käynnistyslataimen päivitystoiminto toimii. Sovellus näyttää huomautuksen, kun käytettävissä on vain sarjaliitäntäinen menetelmä.

Tyhjennys tehdasasetuksiin ja käynnistyslataimen päivitys

On a USB/serial connection, nRF52 and RP2040 devices can be wiped as part of an update — that is the Erase device during update opt-in described earlier on this page. nRF52 devices additionally offer Upgrade bootloader where an upgraded bootloader is published for the board; RP2040 devices run no Adafruit bootloader, so they never see it. The upgrade installs the Meshtastic nRF52 Bootloader release named on the card.

Both are Android-only. They depend on Android’s update-drive checks, so the desktop app does not show them — use the Web Flasher there instead.

Select a firmware version before either one: the app hides both until a release is chosen, because the firmware is reinstalled after the device is wiped or the new bootloader is written.

Both a USB erase and a bootloader upgrade write two files in turn, so you are asked to select the device’s update drive twice: once for the erase or bootloader image, then again for the firmware.

Sovellus lukee valitsemaltasi asemalta tiedoston INFO_UF2.TXT varmistaakseen, että kyseessä on todella laitteen päivitysasema, sekä tunnistaakseen laitteen ennen kuin mitään kirjoitetaan.

For a bootloader upgrade, the app also reads the installed bootloader version from INFO_UF2.TXT and shows it next to the latest release before writing anything. When the running firmware doesn’t report its bootloader, the installed version appears only once the device has restarted into update mode. If the two match, the bootloader is left as it is and the app moves straight on to reinstalling the firmware. Otherwise choose Upgrade bootloader to write it, or Skip to reinstall the firmware without changing it.

On nRF52 the app must already know which Bluetooth stack your device uses before it starts, because it can’t read the bootloader until the device has rebooted. If it can’t confirm the stack, it refuses to erase and points you at the Web Flasher instead. In the Web Flasher, choosing the wrong Bluetooth stack can leave the node recoverable only with a hardware programmer.

Once the drive is readable, how an nRF52 device is erased depends on its bootloader:

  • Newer bootloaders erase themselves. A bootloader that advertises factory-erase support in INFO_UF2.TXT (OTAFIX 2.4 and later) takes a single, board-agnostic erase file. The bootloader wipes your settings, channels, keys and the stored node list itself, leaves the installed firmware in place, and comes back as an update drive a second or two later for the firmware file. There is no Bluetooth-stack choice to get wrong on this path.
  • Older bootloaders need a Bluetooth-stack-specific erase. On these the app writes a small erase program matched to your device’s Bluetooth stack, then starts it over the serial port. If the drive reports a different stack than expected, the app refuses rather than guessing.

The app picks the path from what the drive reports; you don’t choose it.

Bootloader version and upgrade over Bluetooth

An nRF52 node on firmware that reports its bootloader version shows it while it runs. The device card on the firmware screen then shows a Bootloader row with the latest release beside it, on any connection. Every bootloader before 2.6.0 reports the same value, so those read Bootloader: older than 2.6.0. A node that reports no version shows no row. A node that reports the latest release isn’t offered an upgrade.

The screen offers Upgrade bootloader over Bluetooth when all of these hold:

  • the node is connected over Bluetooth
  • it reports a bootloader older than the latest release
  • a firmware version is selected

Unplug the USB cable before starting. With a cable attached, the new bootloader comes up as an update drive, not over Bluetooth, and the app cannot send the firmware.

The app sends the new bootloader over Bluetooth, then reinstalls the selected firmware, because writing the bootloader erases it. The whole upgrade takes about 10 minutes. Afterward the Bootloader row shows the latest release.

Before writing, the app verifies the download and reads the board name from the bootloader. If the package fails verification, nothing is written. Over Bluetooth the upgrade works only on a bootloader that uses Legacy DFU. On any other the update stops with nothing written and the app tries to return the node to its firmware. If it stays in update mode, see Update Stuck. If the bootloader names a different board or none, nothing is written and the node restarts into its firmware.

A node that doesn’t come back over Bluetooth after the bootloader is written can be finished either way: install the firmware from its update drive over USB, or unplug it, reset it, and use Resume firmware update on the Connect tab.

What the nRF52 bootloader does

Version 2.6.0 and later of the Meshtastic nRF52 Bootloader does the following while the update drive is up.

  • Backup. CURRENT.UF2 on the drive is a copy of the installed firmware. Copy it off to back up, or back onto the drive to reinstall.
  • Screen. On a node with a screen, the title reads BOOTLOADER, ERASE, WRONG FILE or NO FIRMWARE, and a progress bar shows the copy.
  • Fault report. After a fault the bootloader records it once, and the app shows Bootloader reported a fault: with the id, pc and info values the first time it reads the drive during a USB update.
  • Wrong file. A firmware file the board cannot take is refused as WRONG FILE.
  • Interrupted copy. If the cable is pulled mid-copy, the node has no firmware. Plug it in again and copy the firmware once more.
  • Idle. After 6 minutes with no update activity, a node with firmware boots it. A node with no firmware keeps waiting.
  • Single-button boards. The T1000-E and the MeshTracker X1 have no reset button. Hold the button for about 3 seconds while the node powers on to enter update mode. Eject the drive from the computer to leave without copying a file. The app’s USB update needs no button.

Muut päivitysvaihtoehdot

Käytä näitä palautukseen tai silloin, kun OTA- tai sovelluksen USB-päivitys ei ole käytettävissä:

Versiokanavat

Kanava Kuvaus
Vakaa Suositeltu useimmille käyttäjille: testatut julkaisut
Alpha Esijulkaisut voivat sisältää virheitä
Paikallinen tiedosto Flash a firmware file you select yourself, instead of a downloaded release. The button reads Select Local File, and the app asks you to confirm the file name before flashing

Päivitystä edeltävä tarkistuslista

Ennen päivityksen aloitamista:

  • Battery above 50%, recommended. The app itself refuses to start an update only when the node reports 10% or less
  • A stable connection over the method you’re updating with: Bluetooth, Wi-Fi, or USB
  • Kirjaa ylös nykyiset asetuksesi (ne voivat nollautua suurissa versiomuutoksissa)
  • Tarkista julkaisumuistiinpanot mahdollista yhteensopivuutta rikkovien muutosten varalta
  • Päivitä myös Meshtastic-sovellus joko ennen laiteohjelmiston päivitystä tai sen yhteydessä yhteensopivuuden varmistamiseksi

Päivityksen jälkeen

Kun laiteohjelmisto on kirjoitettu, sovellus varmistaa päivityksen ja odottaa laitteen palaavan takaisin verkkoon:

Päivityksen varmistus ja laitteen uudelleenyhdistymisen odottaminen

Kun päivitys onnistuu:

  • The node reboots automatically
  • Bluetooth-yhteys muodostetaan uudelleen
  • Varmista, että asetuksesi ovat säilyneet
  • Vahvista uusi versio Asennettu tällä hetkellä -kohdasta Laiteohjelmiston päivitys -näkymässä — sama tieto näkyy myös radion tiedoissa ja Yhteydet-näkymässä

Firmware-päivitys onnistui

Vianetsintä

Päivitys jumissa

Jos päivitys näyttää jumiutuneen:

  • Anna sille hetki aikaa. After writing the image the app waits up to 60 seconds for the node to come back and report its new version, so a pause at the verify step is expected.
  • If it is still stuck after that, power-cycle the node.
  • Yritä päivitystä uudelleen.

The message Verification timed out. Device did not reconnect in time. means the image was written but the node did not come back within that window. Retry waits for the node again without writing anything, and Done leaves the screen. If the node still doesn’t return, power-cycle it and check the version under Currently Installed before re-running the update.

Laiteohjelmiston päivitysvirhe

Radio ei käynnisty päivityksen jälkeen

A Bluetooth update that stops partway can leave the node waiting in bootloader mode. While the app is disconnected, the Connect tab then shows a Finish updating card naming the node. Tap Resume firmware update and keep the node nearby so the app can re-flash it, or dismiss the card if the update can’t be finished from the phone.

If the app told you the Bluetooth update could not be finished, follow the instruction it gave: connect the node to a computer over USB and re-flash it with the vendor’s serial DFU tool, such as adafruit-nrfutil. A stock nRF bootloader cannot reliably complete an interrupted over-the-air update.

On the Meshtastic nRF52 Bootloader 2.6.0 and later, a dropped Bluetooth update can start over, and where the node waits depends on its power:

  • On battery, it waits for the Bluetooth update, so Resume firmware update can reach it.
  • Plugged into a computer, it shows NO FIRMWARE and comes up as its update drive, not over Bluetooth. Copy your board’s firmware .uf2 onto the drive, or use the Web Flasher. Unplug it to resume over Bluetooth. The app’s USB update cannot start here.

Otherwise, if your node fails to boot:

  1. Kokeile yhdistää USB:llä tietokoneeseen
  2. Käytä web-flasheria palautus tai DFU-tilassa
  3. Asenna tunnetusti toimiva firmware-versio
  4. Tarkista Meshtastic Discordista laitekohtaiset palautusohjeet

Yhteensopivuutta koskevat varoitukset

On connecting, the app compares the node’s firmware against two thresholds and reacts differently to each:

Laiteohjelmistoversio Näet seuraavan Mitä tapahtuu
Alle 2.3.15 Laiteohjelmiston päivitys vaaditaan. The app disconnects from the node. Se ei toimi näin vanhan laiteohjelmiston kanssa.
2.3.15 tai uudempi, mutta alle 2.5.14 Firmware update required The node stays connected, but the dialog blocks the rest of the app until the firmware is updated. It names the installed, minimum, and latest stable versions. Update firmware opens the Firmware Update screen; Disconnect drops the node.
2.5.14 tai uudempi Ei mitään —

A version string the app cannot parse is ignored rather than treated as too old, so a transient read never disconnects a working node.

Aiheeseen liittyvät aiheet

  • Yhteydet — yhdistetään uudelleen laiteohjelmiston päivityksen jälkeen
  • Laiteohjelmiston päivitysopas — täydellinen firmware-päivityksen ohjeistus meshtastic.org -sivustolla
  • Tuetut laitteet — tarkista firmware-yhteensopivuus laitekohtaisesti
  • UKK – usein kysytyt kysymykset meshtastic.org -sivustolla