Test the Secure memory of CAAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Test the Secure memory of CAAM

703 Views
jason_rsmgnu
Contributor II

Reference the sm_test.c example, I test the Secure memory. But I find when I reboot the SOC(i.mx6q),power down and then on.

I can not read data from the slot ( sm_keystore_slot_read ), So can not store the cipher code in CAAM  secure Memory.

 

3 Replies

518 Views
jason_rsmgnu
Contributor II

Add some information:

 We have not  battery power supply (SNVS) active,Because there are not battery design in our PCB Board.   @Yuri Muhin

0 Kudos

518 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Please apply battery (coin cell) supply to i.MX6 VDD_SNVS_IN.
From hardware point of view it is recommended to follow i.MX6 Reference design
for it. In particular : "A schottky diode may be required between VDDHIGH_IN and
VDD_SNVS_IN.  Connect the cathode to VDD_SNVS_IN."
   
Also, You may refer to the Security Reference Manual for i.MX 6 for more details
regarding the Security memory.

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

518 Views
jason_rsmgnu
Contributor II

Thank you, I know that means we maybe should  design  the new PCB :(