Flash Firmware
This tutorial will guide users to flash the Wio Tracker 1110 Dev Board to the Meshtastic version, for those who want to use the Meshtastic network.
If you want to flash the board back to the LoRaWAN version, please check this tutorial.
Preparation
- Wio Tracker 1110 Board x 1
- Computer x 1
- USB Type-C Cable x 1
Wiring
Connect the Dev Board to your PC via the USB cable.
Flash the bootloader
- UF2
- Serial
Double click the Reset
button, there should be a WM1110_BOOT
drive on your PC.
Drag the update-wio_tracker_1110_bootloader-0.9.1_nosd.uf2
file to the driver. The download will run automatically, then the driver will log out.
Step1: Adafruit-nrfutil Installation
Prerequisites
- Installing from PyPI
- Installing from Source
This is recommended method, to install latest version:
pip3 install --user adafruit-nrfutil
Use this method if you have issue installing with PyPi or want to modify the tool. First clone this repo and go into its folder.
git clone https://github.com/adafruit/Adafruit_nRF52_nrfutil.git
cd Adafruit_nRF52_nrfutil
Note: following commands use python3
, however if you are on Windows, you may need to change it to python
since windows installation of python 3.x still uses the name python.exe
To install in user space in your home directory:
pip3 install -r requirements.txt
python3 setup.py install
If you get permission errors when running pip3 install
, your pip3
is older
or is set to try to install in the system directories. In that case use the
--user
flag:
pip3 install -r --user requirements.txt
python3 setup.py install
If you want to install in system directories (generally not recommended):
sudo pip3 install -r requirements.txt
sudo python3 setup.py install
To generate a self-contained executable binary of the utility (Windows and MacOS), run these commands:
pip3 install pyinstaller
cd Adafruit_nRF52_nrfutil
pip3 install -r requirements.txt
cd Adafruit_nRF52_nrfutil\nordicsemi
pyinstaller __main__.py --onefile --clean --name adafruit-nrfutil
You will find the .exe in Adafruit_nRF52_nrfutil\nordicsemi\dist\adafruit-nrfutil
( with .exe
if you are on windows).
Copy or move it elsewhere for your convenience, such as directory in your %PATH%.
Step2: Flash the bootloader
Double click the Reset
button on the board and run the following command:
- For Windows:
adafruit-nrfutil --verbose dfu serial --package wio_tracker_1110_bootloader-0.9.1_s140_7.3.0.zip -p COMxx -b 115200
- For others:
adafruit-nrfutil --verbose dfu serial --package wio_tracker_1110_bootloader-0.9.1_s140_7.3.0.zip -p /dev/tty.SLAB_USBtoUART -b 115200
Replace the serial port with your device port. Example:
Download the application
You may use the Meshtastic Web Flasher to download and copy firmware.
Select the device to Seeed Wio WM1110 Tracker
and the latest firmware, and download the UF2
file.
- UF2
- Serial
Double click the Reset
button, there should be a WM1110_BOOT
driver on your PC.
Drag the .uf2
file to the driver. The download will run automatically, then the driver will log out.
Just ignore this error prompt, the device has actually been upgraded successfully.
Double click the Reset
button on the board and run the following command:
- For Windows:
adafruit-nrfutil --verbose dfu serial --package wio_tracker_1110_bootloader-0.9.1_s140_7.3.0.zip -p COMxx -b 115200
- For others:
adafruit-nrfutil --verbose dfu serial --package firmware-wio-tracker-wm1110-2.3.14.681ae9d8.zip --port /dev/tty.SLAB_USBtoUART -b 115200
Flash successfully: