Official Espruino boards come in two main flavours, and firmware updates are slightly different for each flavour. See below for instructions.
For non-official board firmware updates, see the Other Boards page for instructions.
Bangle.js 2 provides its own firmware update mechanism using the App Loader.
On Bangle.js 2 this is the recommended method (although other methods still work). Simply click on the ≡ icon
to the right of the Firmware Update
app and follow the instructions.
The firmware will upload to Bangle.js, and when it is complete, Bangle.js will restart and install the firmware.
Note: KickStarter Bangles that shipped with 2v10 firmware will have 2v10 bootloaders
which need updating before you use the firmware updater. Just follow the instructions on
the Firmware Update
page to update your bootloader.
Install the relevant app...
or:
Now on your device, download the latest stable distribution zip from the Espruino site by selecting your board from the Find a binary
drop-down. You can also choose Cutting Edge build
for the absolute latest firmware.
Now, you need to put your device into DFU mode using the instructions below. Note that DFU mode usually times out after 30-60 seconds of inactivity.
BTN1
held down. The display will show BOOTLOADER
RELEASE BTN1 FOR DFU
. Make sure release BTN1
before the progress bar reaches the end.DFU STARTED
READY TO UPDATE
BTN1
+ BTN2
for about 6 seconds until the screen goes blankBTN2
BTN1
a moment later while ====
is going across the screen====
is going across the screen, release the button (releasing it later will just boot back to Bangle.js)Run the relevant app on your Android/iOS device.
Each app/device is slightly different (they are covered below), but
in general you need to connect to a device called DfuTarg
, and choose the zip
file you downloaded.
Note: If the firmware upgrade fails, please try again. The firmware update process will usually resume where it left off so even if it fails once, you can usually complete successfully on a second attempt.
Select File
, choose Distribution Packet (ZIP)
if prompted, and choose the ZIP file you downloadedSelect scope
window appears, choose All
Select Device
and choose the device called DfuTarg
Upload
and waitDFU
button/tabConnect
and choose the device called DfuTarg
Select File
/Browse
and choose the ZIP you downloadedDistribution Packet (ZIP)
if prompted,Select scope
window appears, choose AllUpload
and waitNote: It has been reported that iOS 15+ devices the NRF Toolbox app disconnects from the Bangle after performing only part of the update process (iOS 12.5 works flawlessly). If this happens to you, you'll have to manually click to start the update multiple times (it will start from where it left off) in order to complete the update.
Scanning
tab should show some Bluetooth devices, including one called DfuTarg
Connect
to the right of DfuTarg
DFU
symbol in a circle will appear in the top right of the AppDistribution Packet (ZIP)
, and your Download.It is also possible to use the Web IDE
to update firmware. Click Settings
(top right), then Flasher
and follow the instructions.
However on some operating systems the firmware update process using the IDE
can be unreliable. If this happens to you, you can try using another computer,
or the Android/iOS App
method above.
These updates are done using a Serial-over-USB connection:
We'd strongly recommend that you use the Web IDE which has a flasher (and firmware download) built-in. Downloading up to date firmware is as easy as clicking the Settings
button (top right), then Flasher
, then Flash Firmware
. To flash a 'cutting edge' or older binary, simply:
.bin
file that you wish to flash online, right-click on it and Copy Link Address
.Settings
button in the IDE, then Flasher
.Advanced Firmware Update
Flash from URL
buttonIf you absolutely don't want or can't do this then do the following on Linux or MacOS:
python --help
and see if anything happens)stm32loader.py
Python script from https://github.com/espruino/Espruino/blob/master/scripts/stm32loader.pypython stm32loader.py -k -p MySerialPort -evw espruino_for_your_device.bin
You can also completely overwrite Espruino's bootloader using the Serial Bootloader instructions, but you'll need a USB-TTL converter for this.
This page is auto-generated from GitHub. If you see any mistakes or have suggestions, please let us know.