Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barnabyshearer/efm8
Flash via AN945: EFM8 Factory Bootloader HID.
https://github.com/barnabyshearer/efm8
an945 bootloader efm8 hid
Last synced: about 5 hours ago
JSON representation
Flash via AN945: EFM8 Factory Bootloader HID.
- Host: GitHub
- URL: https://github.com/barnabyshearer/efm8
- Owner: BarnabyShearer
- License: bsd-3-clause
- Created: 2017-11-17T13:57:27.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2022-12-07T13:05:27.000Z (almost 2 years ago)
- Last Synced: 2023-08-04T21:53:35.083Z (over 1 year ago)
- Topics: an945, bootloader, efm8, hid
- Language: Python
- Homepage: https://efm8.readthedocs.io/en/latest/
- Size: 66.4 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
..
Autogenerated by https://github.com/BarnabyShearer/meta====
efm8
====
.. image:: https://readthedocs.org/projects/efm8/badge/?version=latest
:target: https://efm8.readthedocs.io/en/latest/
.. image:: https://img.shields.io/pypi/v/efm8?color=success
:target: https://pypi.org/project/efm8Flash via AN945: EFM8 Factory Bootloader HID.
Install
-------.. code-block:: bash
sudo apt install libusb-1.0-0-dev libudev-dev
python3 -m pip install efm8Usage
-----Communication is over USB-HID. This is implemented via the `hidapi `__ pthon wrapper for the `hidapi `__ native library.
On linux you can use udev to grant access:
.. code-block:: bash
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="10c4", MODE="0666"' | sudo tee /etc/udev/rules.d/70-silabs.rules
udevadm trigger.. code-block:: bash
efm8 firmware.hex
Also includes an example that resets a https://u2fzero.com/ into the bootloader and flashes in one command.
.. code-block:: bash
u2fzero firmware.hex
And a way to (slowly) read the firmware back
.. code-block:: bash
efm8_read firmware.hex