ferrous-systems / rust-exercises

Exercises for learning Rust, by Ferrous Systems
Creative Commons Attribution Share Alike 4.0 International
126 stars 15 forks source link

nRF52840 now requires an erase all after every power cycle #75

Closed jonathanpallant closed 3 months ago

jonathanpallant commented 4 months ago

See https://infocenter.nordicsemi.com/pdf/in_141_v1.1.pdf?cp=4_0_2_7

In factory state, the nRF52840 revision 3 comes with the access port protection enabled. An ERASEALL command via the control access port (CTRL-AP) is required to enable access.

I guess this is to stop people using the debug interface to hack / dump the firmware for some proprietary product they've just bought with an nRF52 inside it.

jonathanpallant commented 4 months ago

Noted in #80