nrf-softdevice icon indicating copy to clipboard operation
nrf-softdevice copied to clipboard

Operation timed out

Open brandonros opened this issue 2 years ago • 1 comments

Brandons-MacBook-Air:examples brandonros 2022-06-04 16:18:05 $ probe-rs-cli erase --chip nrf52840
Brandons-MacBook-Air:examples brandonros 2022-06-04 16:18:39 $ probe-rs-cli download --chip nrf52840 --format hex /Users/brandonros/Downloads/s140_nrf52_7.3.0/s140_nrf52_7.3.0_softdevice.hex
     Erasing sectors ✔ [00:00:00] [##############################################] 156.00KiB/156.00KiB @ 227.11KiB/s (eta 0s )
 Programming pages   ✔ [00:00:03] [###############################################] 156.00KiB/156.00KiB @ 36.58KiB/s (eta 0s )
    Finished in 4.179s
Brandons-MacBook-Air:examples brandonros 2022-06-04 16:18:46 $ cargo run --bin ble_bas_peripheral
    Finished dev [unoptimized + debuginfo] target(s) in 0.11s
     Running `probe-run --chip nRF52840_xxAA /Users/brandonros/Desktop/nrf-softdevice/target/thumbv7em-none-eabihf/debug/ble_bas_peripheral`
(HOST) INFO  flashing program (32 pages / 128.00 KiB)
(HOST) INFO  success!
Error: An error with the usage of the probe occured

Caused by:
    Operation timed out
Brandons-MacBook-Air:examples brandonros 2022-06-04 16:19:00 $ 

brandonros avatar Jun 04 '22 19:06 brandonros

Works for me with probe-rs-cli v0.13.0 and probe-run v0.3.3. You might try erasing and/or loading the softdevice using the nrf connect for desktop programmer or nrfjprog. A timeout error like that can happen if the softdevice has not been loaded properly.

alexmoon avatar Jul 18 '22 17:07 alexmoon