Hello Karthik,
Hope you are doing well.
1) In the sense i am asking how to reset the board using software reset so that it will start from primary bootloader
In order to start from the beginning a POR_B reset needs to occur. However, this is not possible through software. In order to guarantee that it is properly processed POR_B should be held low during the entire power up sequence. This will not be possible through software, as soon as its powered off the configuration will be lost. It is recommended to use an external signal to properly execute this.
can i use runBootloader function in my application code to start bootloader so that i will start from primary bootloader
The boot process begins at any Reset where the hardware reset logic forces the Arm core
to begin execution starting from the on-chip boot ROM.
for aes encryption and decryption can i use DCP library in SDK
Yes you may use the library provided to encrypt and decrypt. However, please refer to this link, for details on the DCP API and what its full capabilities are and the considerations that must be taken.
Hope it helps!
Sabina
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------