Silicon Labs Firmware flashing utility
The silabs-flasher utility allows to flash products using the Silicon Labs
Wireless Gecko Series 1 and 2 chips. It makes use of the zigpy bellows library
to communicate using the EmberZNet Serial Protocol over serial port.
Note: There is also a more capable utilty called Universal Silicon Labs Flasher.
Install
Silicon Labs Flasher is available from PyPI:
$ pip install silabs-flasher
To use GPIOs to reset the chip (useful on Home Assistant Yellow) make sure to install with gpiod from PyPI as extra dependency:
$ pip install silabs-flasher[gpio]
Usage
Use the info command to check communication with the device and get information about the current firmware and the bootloader:
$ silabs-flasher --device /dev/ttyUSB4 info
Manufacturer:
Board name:
EmberZNet version: 6.7.9.0 build 405
bootloader version: 0x1902, nodePlat: 0x04, nodeMicro: 0x18, nodePhy: 0x0f
The firmware can be flashed using the flash command:
$ silabs-flasher --device /dev/ttyUSB4 flash --firmware ncp-uart-sw_679_115200.gbl
Trying to connect using EZSP...
Launching bootloader in mode recovery mode via EZSP.
Bootloader detected successfully.
Bootloader version: 1.9.2
Starting firmware upload...
Firmware update [####################################] 100%
Bootloader reported successful upload.
To reset the chip using GPIO use the following arguments:
$ silabs-flasher --device /dev/ttyAMA1 --baudrate 115200 flash \
--no-ezsp-reset --cm4-gpio-reset \
--firmware NabuCasa_EZSP_v6.10.3.0_PA32_ncp-uart-hw_115200.gbl
Metadata
Release files for silabs-flasher 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| silabs_flasher-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for silabs_flasher-0.0.3-py3-none-any.whl |
Release files / silabs_flasher-0.0.3-py3-none-any.whl
| Download URL | silabs_flasher-0.0.3-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c62184ea145de0543f99fd3d9e7b9d54ca8b3cf08c90a34d4a245eb87fe19d08
|
|
BLAKE2b-256 checksum How to use checksums |
395b7b2faa07283ad3bc574de2b89d5dd59ad0d2871fe20c2dbda895d20bb93f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for silabs-flasher 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.