You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm leaving this here in case anyone else is running into the same issue. I have not found much while googling.
Problem: Using cargo run --bin hello from within the beginner/apps folder finishes compiling and starts up probe-run. But then I get the following:
Running `probe-run --chip nRF52840_xxAA target/thumbv7em-none-eabihf/debug/hello`
(HOST) WARN (BUG) location info is incomplete; it will be omitted from the output
Error: AP ApAddress { dp: Default, ap: 0 } is not a memory AP
The LED5 next to the FTDI chip on the DK goes off for a split second but no program is flashed.
Solution: It seems like my nRF52840-DK was shipped with the MCU in some kind of protected state. Using nrfjprog from the nRF command line tools you can run nrfjprog --recover which makes the MCU exit this state and programming etc. using probe-run works fine again.
The text was updated successfully, but these errors were encountered:
Hi, I'm leaving this here in case anyone else is running into the same issue. I have not found much while googling.
Problem: Using
cargo run --bin hello
from within the beginner/apps folder finishes compiling and starts up probe-run. But then I get the following:The LED5 next to the FTDI chip on the DK goes off for a split second but no program is flashed.
Solution: It seems like my nRF52840-DK was shipped with the MCU in some kind of protected state. Using nrfjprog from the nRF command line tools you can run
nrfjprog --recover
which makes the MCU exit this state and programming etc. using probe-run works fine again.The text was updated successfully, but these errors were encountered: