I use JLinkExe with a script to read the UICR of a nRF51422 processor. When the processor is secured, the UICR can still be read and can contain useful user information. Now with JLink version 6 the processor is automatic unsecured, which means a mass erase and so also the UICR information is lost. We use the UICR for a unique identifier and hardware information.
With Windows there should be a possibility to hook JLINK_SYS_UnsecureDialog() and block the mass erase. We use Linux for our development environment and this function is not available. How can I block the automatic unsecure function for Linux and use JLinkExe to read the UICR of the nRF51422? Should we go back to version 4 or is there another solution?
kind regards, Erik Postma
With Windows there should be a possibility to hook JLINK_SYS_UnsecureDialog() and block the mass erase. We use Linux for our development environment and this function is not available. How can I block the automatic unsecure function for Linux and use JLinkExe to read the UICR of the nRF51422? Should we go back to version 4 or is there another solution?
kind regards, Erik Postma