Hi All,
We are trying to use CSEc engine for AES 128 encoding. In the example code, board is resetting after calling this function.
/* Initialize Flash for CSEc operation */
initFlashForCsecOperation();
We just wanted to do AES 128 bit encoding.
Please let us know how it can be done.
Regards,
Harish G
Hi Harish G
Please remember that Flash partitioning for CSEc operation must only be run with RAM configuration. The first time when running the example on the board (or after a key erases) should be run from RAM, in order to enable CSEc operation.
I recommend you check the application note AN5401:
https://www.nxp.com/webapp/Download?colCode=AN5401
Hope this helps
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------
Hello
I met the same issue as the customer did. And of course we know it should run in RAM.
But when using IAR for the example, and if using the Ram icf ,it could be ok
And when using the flash icf for download, actually it will happen same issue as the customer did.
I tried set __ramfunc for the initFlashForCsecOperation, but it doesn't work.
Did you try using the flash icf file for the example?