-
There is a check box on nRFgo Studio, Lock entire chip from readback. But a lot of chip can not burn one by one
-
Can I use AES block encryption to do this?
There is a check box on nRFgo Studio, Lock entire chip from readback. But a lot of chip can not burn one by one
Can I use AES block encryption to do this?
If you want to avoid anyone being able to read out your firmware over the SWD interface, you have to enable readback protection. This can be done with nRFgo Studio, or any other programmer, as it's really just setting a UICR register to a specific value. See the definition of the RBPCONF register in the nRF51 Reference Manual.
There is no way you can use the AES module to encrypt your code or anything similar.
Edit: You can set RBP in multiple ways:
For further tips on production programming, take a look at this question.
Can I write or check UICR with my own code in region1 by control NVMC ? I don‘t know wether other programmer own this func or not . I can' not burn my chip one by one with nRFgo studio. May be I should make my own programmer for nrf51822?
I expanded my answer above with further information on how to set RBP. Take a look, and please accept the answer if you find it satisfactory.