Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello,
I am trying to enable readout protection on production devices and need a bit of guidance.
I have not found officially any API's to do that, so I tried to generate OTP area configuration
using sysconfig and write it into flash manually.
The issue seems to be that we already have some default config written into BCR and BSL areas.
I just want to modify BCR config, and write a new one. What seems possible is to erase the entire
sector and write a new one, I see that it does not return any errors. But when I try to read that data
with a pointer, it gives NMI. So I am not sure if it's feasible at all. Could someone give some suggestions
as to what might be wrong or its not possible to do it like this from MCU?
If this is not possible to do manually, then this config needs to be flashed with the original image, and some of our devices
that have been produced will not have this protection enabled.
Thank you.
