This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrfjprog read back protection is working??

Hello, after I program bootloader, sd, application, I did the following command to do read back protection,

nrfjprog --rbp ALL -f NRF51

But, even though I still can get data by using nrfjprog --memrd xxxxx. Can anybody tell me how can I protect to somebody to read my chip?? Thank you.

Parents
  • UICR register is reloaded during nRF5x reset, have you powered the chip off and on (or issued reset command)?

  • This is output of the script on my Win7 machine:

    NRF5_CHIP_FAMILY = NRF51
    SOFTDEVICE_NAME  = s130_nrf51_2.0.1_softdevice.hex
    APP_NAME         = my-ble-app.hex
    Parsing input hex files.
    Merging files.
    Storing merged file.
    Recovering device. This operation might take 30s.
    Erasing user code and UICR flash areas.
    0x0000300C: FFFFFFFF                              |....|
    Parsing hex file.
    Erasing code and UICR flash areas.
    Applying system reset.
    Checking that the area to write is not protected.
    Programing device.
    Verifying programming.
    Verified OK.
    0x0000300C: FFFF0087                              |....|
    Protected the device against read and debug. --pinreset might no longer be
    available.
    0x0000300C: 00000000                              |....|
    Applying pin reset.
    0x0000300C: 00000000                              |....|
    
Reply
  • This is output of the script on my Win7 machine:

    NRF5_CHIP_FAMILY = NRF51
    SOFTDEVICE_NAME  = s130_nrf51_2.0.1_softdevice.hex
    APP_NAME         = my-ble-app.hex
    Parsing input hex files.
    Merging files.
    Storing merged file.
    Recovering device. This operation might take 30s.
    Erasing user code and UICR flash areas.
    0x0000300C: FFFFFFFF                              |....|
    Parsing hex file.
    Erasing code and UICR flash areas.
    Applying system reset.
    Checking that the area to write is not protected.
    Programing device.
    Verifying programming.
    Verified OK.
    0x0000300C: FFFF0087                              |....|
    Protected the device against read and debug. --pinreset might no longer be
    available.
    0x0000300C: 00000000                              |....|
    Applying pin reset.
    0x0000300C: 00000000                              |....|
    
Children
No Data
Related