Moving from NRF52832 Rev 2 to Rev 3 - APPROTECT - Trying to follow tutorial - getting different results

I have been using NRF52832 Rev 2 and I'm trying to move to Rev 3.

I've been trying to follow this tutorial: https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/working-with-the-nrf52-series-improved-approtect?tempkey=c3555f21-f17f-41c7-b6ab-ea1128fa207f 

I'm using SEGGER Embedded Studio on a MAC.  I'm using NRF5 SDK version nRF5_SDK_17.1.0.  I downloaded nrf_mdk_8_46_0_gcc_nordiclicense and copied all of those files into the nRF5_SDK_17.1.0_ddde560\modules\nrfx\mdk directory, overwriting what was there.

I have 2 projects: an application and dfu/secure_booloader and I have added ENABLE_APPROTECT to the preprocessor definitions.

When I use nrfjprog, I get 0xFFFFFFFF

1) nrfjprog --recover

2) nrfjprog --memrd 0x10001208

3) nrfjprog --verify --program s132_nrf52_7.2.0_softdevice.hex
nrfjprog --verify --program bootloader.hex
nrfjprog --verify --program application.hex
nrfjprog --verify --program settings.hex

4) nrfjprog --reset

5) nrfjprog  --memrd 0x10001208

RESULT: 0xFFFFFFFF

I am doing this on a Rev 2 while waiting for my Rev 3's.  Is this expected and will the behavior be different if I do the same thing on a rev 3?

  • Hi,

    Is this expected and will the behavior be different if I do the same thing on a rev 3?

    Yes. The nRF52832 revision 3 (build codes Gx0) introduces behavioral changes, as well as new/modified registers to the access port protection. All new registers and changes in functionality for revision 3 are documented in the nRF52832 product specification rev 1.7 and the errata document.

    Regards,
    Amanda

Related