Flashing MeshCore Firmware
Flashing MeshCore Firmware
MeshCore firmware can be installed on supported hardware using two primary methods: the MeshCore Web Flasher (browser-based, for both initial flashingbased) and OTA updates) and UF2 drag-and-drop (for nRF52840 boards only). This page covers both methods and includes platform-specific setup notes for Windows, Linux, and macOS.
Method 1: MeshCore Web Flasher
The MeshCore Web Flasher is the recommended method for most users. It runs entirely in a browser and uses the WebSerial API to communicate with the board over USB.
URL: https://flasher.meshcore.co.ukio
Browser Requirements
The WebSerial API is only available in Chromium-based browsers:
- Google Chrome (version 89 or later) — recommended
- Microsoft Edge (version 89 or later) — supported
- Firefox, Safari — NOT supported. WebSerial is not implemented in these browsers.
Step-by-Step: Initial Flash
- Open flasher.meshcore.
co.ukio in Chrome or Edge. - Connect your board to your computer via USB.
- Select your board type from the dropdown (e.g., RAK4631, T-Beam v1.2, Heltec V3).
- Select the firmware variant you want to
flashflash: - Companion — for personal use nodes (
REPEATER,connectsROOM_CLIENT,toROOM_SERVER,MeshCoreorapp)
Step-by-Step: OTA Update
For updating an existing MeshCore node, the process is the same as initial flash. The flasher will overwrite the existing firmware. Your saved configuration is generally preserved across firmware updates, but it is good practice to note your settings before updating.
Method 2: UF2 Drag-and-Drop (nRF52840 boards only)
Boards based on the nRF52840 MCU (RAK4631, T114, Heltec HT-n62) support UF2 flashing without needing a browser or WebSerial.
RAK4631 or NICENANO.
Copy the .uf2 file onto the USB drive. The board will automatically flash and reboot.
Platform-Specific Setup Notes
Windows
Many LoRa development boards use USB-to-serial bridge chips that(CP2102, requireCH340, Windows drivers:
After installing drivers, a reboot may be required. Verify the device is visible in Device Manager under "Ports (COM & LPT)" before proceeding with the flasher.
Linux
Linux does not require driver installation — the CH340 and CP210x drivers are built into the kernel. However, your user account must have permission to access the serial device:
ls /dev/ttyUSB* /dev/ttyACM*groups $USERdialoutsudo usermod -aG dialout $USERnewgrp dialout/etc/udev/rules.d/50-webserial.rulessudo udevadm control --reload-rulesmacOS
macOS includes built-in CH340 and CP210x support in recent versions (macOS 10.15+)FTDI). If the deviceboard doesis not appear:
Linux
Most USB-serial chips work out of the box on modern Linux. If you get permission errors with WebSerial or serial devicetools, willadd appearyour asuser to the /dev/cu.usbserial-XXXXXXXXdialoutorgroup: /dev/cu.usbmodem...sudo usermod -a -G dialout $USER.
macOS
macOS 11 and later include drivers for CP2102 and CH340. Older macOS supportsversions WebSerialmay withoutneed additionalmanual configurationdriver onceinstallation. If the device isdoesn't recognized.
MethodSystem 2:Information UF2> Drag-and-Drop Flashing (nRF52840 Boards Only)
nRF52840-based boards (RAK4631, T114, Heltec HT-n62) support the UF2 bootloader, which presents the board as a USB mass storage device (like a flash drive). Flashing is as simple as copying a file.USB.
Entering Bootloader Mode
RAK4631T114NRF52BOOTFlashing Steps
.uf2.uf2Advantages of UF2: No browser required, no driver issues, works on any operating system with USB mass storage support, works even if the WebSerial approach is blocked by corporate IT policy.