Dear All,
I have some questions about CSEc:
1.I have configured the emulated-EEPROM(4K+64K backup),now i want to enable CSEc function, how should I enable CSEc function;
2.When i is using EEP(reading or writing data),this moment can i using the CSEc? Such as CSEc driver init、Encrypt/DecryptECB、Load Key、Generate random...
Hello,
1.
Please use the examples from AN5401:
The CSEc has to be enabled along with the Emulated EEPROM by the Program Partition FTFC command.
2.
The EEPROM (FlexRAM) can be read during CSEc operations but NOT written.
Before the EEPROM (FlexRAM) is written or before a FTFC command (Flash or CSEC command) is launched, the CCIF flag must be set.
Please refer to the RM, rev.13.
37.5.6 Read while write (RWW)
37.5.8.4 Allowed simultaneous flash operations
Regards,
Daniel
Hi,
Thank you for response,the CSEc operations include Encrypt/DecryptECB and Generate random?
Hi,
Yes, the CCIF flag is cleared upon execution of any CSEc command and is set upon completion.
Regards,
Daniel