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

How to erase a protected firmware program (knowing the protected password)

I'm trying to deploy a new firmware to my hardware device but I get the following error in the nrf  Connect 3.6.1 programmer (v1.4.8):

  • 16:47:36.937
    Error when getting device info: Error: Error: Error occured when get device info. Errorcode: CouldNotCallFunction (0x9) Lowlevel error: NOT_AVAILABLE_BECAUSE_PROTECTION (ffffffa6)
  • 16:47:36.937
    Could not fetch memory size of target devkit: Cannot read property 'family' of undefined

I cannot read nor erase from the device through the programmer because of this error.

I assume this is because the device is password protected. I know this password, is there a way to erase the device's current firmware?

(I'm using the NRF52-DK to connect/program with it, and the pins are accessible, which is how I'm connecting)

Parents
  • Hi, 

    I assume this is because the device is password protected. I know this password

    What is the password used for? Why don't you use the password if you know that? 

    What is your command-line tool version? You can check by typing nrfjprog -v, and provide the log.  

    Do you use DK's Debug output to connect with your custom device? If so, please also provide the power to the custom device. 

    What voltage of VTref does the J-Link Commander get? Please make sure it detects VTref as 3.3v. 

    -Amanda H. 

Reply
  • Hi, 

    I assume this is because the device is password protected. I know this password

    What is the password used for? Why don't you use the password if you know that? 

    What is your command-line tool version? You can check by typing nrfjprog -v, and provide the log.  

    Do you use DK's Debug output to connect with your custom device? If so, please also provide the power to the custom device. 

    What voltage of VTref does the J-Link Commander get? Please make sure it detects VTref as 3.3v. 

    -Amanda H. 

Children
No Data
Related