Firmware update
Leapscom supports firmware updates over USB, BLE, or serial port interfaces. You can update one or multiple devices simultaneously. Both the Main Firmware and the Extended Loader can be updated—either together or separately, depending on your needs.
See section Discovering devices on how to list all available devices for update on the given interface.
Firmware updates can only be performed using interfaces that support the TLV API. Leapscom does not support running firmware updates and command execution simultaneously. Therefore, the options –fw and –eldr cannot be used together with –cfg, –tlv, or –shell.
Options
- --fw BIN_FILE
Path to the binary file representing Main Firmware.
- --eldr BIN_FILE
Path to the binary file representing Extended-Loader. Not all devices support the Extended Loader.
Usage
Connect USB data cable to the USB port. Execute following command to update Firmware and Extended-Loader on the available devices that are connected on the USB interface.
$ python3 -m leapscom --usb --fw main.bin --eldr eldr.bin
In order to update only certain devices you need to specify serial number.
$ python3 -m leapscom --usb 630D46F2D51482FC 7E1C5859C2ECF343 --fw main.bin --eldr eldr.bin
Before update, make sure that BLE is enabled on the devices (see section Discovering devices for more details). Execute following command to update Firmware and Extended-Loader of all the devices that are advertising on the BLE interface.
$ python3 -m leapscom --ble --fw main.bin --eldr eldr.bin
In order to update only certain devices you need to specify the BLE address.
$ python3 -m leapscom --ble FE:40:B4:BC:D3:42 E0:05:86:49:A9:40 --fw main.bin --eldr eldr.bin
Connect USB data cable to the Serial port. Execute following command to update Firmware and Extended-Loader over the serial ports.
$ python3 -m leapscom --dev /dev/ttyACM0 /dev/ttyACM1 /dev/ttyACM2 --fw main.bin --eldr eldr.bin
Firmware update can take up to several minutes depending on the amount of devices being updated and depending on the chosen interface.