Is it Possible to write to OTP on the first boot (Taking into account Voltage and SCLK) ? .
and from that boot on boot to Secure mode ?
does any one predict some problem in that method ?
Thanks in advance ,
Yes, you should be able to write to OTP on first boot. There an API available in bfrom.h to help you perform these writes.
I'm not sure what you mean by "and from that boot on boot to Secure mode". You can write the public key that you wish to use to the appropriate place in OTP memory. Then on subsequent boot, your application can use Lockbox with the public key your programmed to authentication another piece of code that you've previously signed using a private key. If the authentication is successful, that code will be loaded and run in Secure Mode.
Retrieving data ...