summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehmet Ali Anil <mehmet@grusbv.com>2021-12-23 14:13:25 +0100
committerGitHub <noreply@github.com>2021-12-23 14:13:25 +0100
commit143980456ea33485b695fc9ac1e0016fed85e283 (patch)
tree30357787e7226edbca32bf839d252c6de1d6d302
parent6ab0bccacfa19f9d6058f760c70d3942afeee603 (diff)
downloadnrf-softdevice-143980456ea33485b695fc9ac1e0016fed85e283.zip
Added instructions for flashing with probe-rs
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index bd4bdd8..5dcf1d5 100644
--- a/README.md
+++ b/README.md
@@ -70,7 +70,12 @@ Flashing the softdevice is required. It is NOT part of the built binary. You onl
- Download SoftDevice S140 from Nordic's website [here](https://www.nordicsemi.com/Software-and-tools/Software/S140/Download). Supported versions are 7.x.x
- Unzip
-- `nrfjprog --family NRF52 --chiperase --verify --program s140_nrf52_7.0.1_softdevice.hex`
+- As a debug client, if you are using
+ - probe-rs:
+ - Erase the flash with `probe-rs-cli erase --chip nrf52840`
+ - Flash the SoftDevice with `probe-rs-cli download --chip nrf52840 --format hex s140_nrf52_7.X.X_softdevice.hex`
+ - nrfjprog:
+ - Flash the SoftDevice with `nrfjprog --family NRF52 --chiperase --verify --program s140_nrf52_7.0.1_softdevice.hex`
To run an example, simply use `cargo run` from the `examples` folder: