nrf-recover

Crates.ionrf-recover
lib.rsnrf-recover
version0.1.0
sourcesrc
created_at2020-06-05 01:12:45.444375
updated_at2020-06-05 01:12:45.444375
descriptionUnlock nRF52 devices using a CMSIS-DAP or JLink probe
homepage
repositoryhttps://github.com/thalesfragoso/nrf-recover
max_upload_size
id250209
size42,395
Thales (thalesfragoso)

documentation

https://docs.rs/nrf-recover

README

nrf-recover

Unlocks nRF52 devices using a CMSIS-DAP or JLink probe.

Installation

Using cargo:

$ cargo install nrf-recover

Usage

This utility uses probe-rs to interface with the debug probe, probe-rs requires libusb and udev rules properly configured.

Connect your microcontroller to the debug probe and run:

$ nrf-recover

This process has a timeout of 15 seconds, but it usually completes in less than one second. If you get a timeout, you should reset the microcontroller and try again. Please open an issue if you can not unlock the chip after several tries.

Attention: This process will erase the entire code flash and UICR area of the device, in addition to the entire RAM.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 4

cargo fmt