BloxOsLite (UbiSwitch, SwitchBlox Industrial)
Download the latest release (or older releases) here
After flashing the firmware and using the device in the field, you will need to perform an update when we make new releases of BloxOsLite.
<aside> 🚨 You can ignore this step if you are already running the latest version.
</aside>
MCUmgr
client manager
app_dfu.bin
binary.xcode-select --install
firstMCUmgr
commands you run occur when the board is in this mode.BB-UD1-B-1
or upwards), this is connector J18
.BB-SWI-C-1
or upwards), this is connector J8
. Refer to the datasheet for exact connections to UART from the extension header.RX
, TX
and GND
. Do not connect the 3V3
line.mcumgr-client
on the host machine.
mcumgr-client -d /dev/ttyUSB0 list
is useful for forcing the board to remain in serial recovery mode. You can use this command to view the current version installed too. Note that /dev/ttyUSB0
is the device name for the USB-UART converter, which may be different on your host machine. Below is a typical readout.
mcumgr-client 0.0.4, Copyright © 2024 Vouch.io LLC
00:06:54 [INFO] send image list request
00:06:55 [INFO] response: {
"images": [
{
"hash": [
...
],
"slot": 0,
"version": "0.1.0"
}
]
}
mcumgr-client -d /dev/ttyUSB0 upload app_dfu.bin
to actually upload the latest app_dfu.bin
to the primary slot. Note that this will permanently erase the previous version, so once you reset, you will be booted to the new version.
mcumgr-client 0.0.4, Copyright © 2024 Vouch.io LLC
00:07:53 [INFO] upload file: app_dfu.bin
00:07:53 [INFO] flashing to slot 1
00:07:53 [INFO] 65536 bytes to transfer
[00:00:13] [==============================================================================] 64.00 KiB/64.00 KiB (0s)00:08:06 [INFO] upload took 13s
mcumgr-client -d /dev/ttyUSB0 reset
to trigger a reboot
Table of Contents