Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add running instruction. #131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ The script will automatically select the first serial looking port from a USB to
Before uploading your image make sure you start the boot loader on the SoC (`select` + `reset` on CC2538DK).
You can find more info on the different options by executing `python cc2538-bsl.py -h`.

Note that to write the firmware, it is necessary to erase the current firmware on the device; the option `-e` must be provided.

Examples:
* To write a regular firmware bin file: `python3 cc2538-bsl.py -e -w -v example/main.bin`
* To write the firmware for the Sonoff Zigbee 3.0 USB Dongle Plus: `python3 cc2538-bsl.py --bootloader-sonoff-usb -e -v -w ~/Downloads/CC1352P2_CC2652P_launchpad_coordinator_20220219.hex`

### Remarks

* Programming multiple SoCs at the same time is not yet supported.
Expand Down