S32K144 CSEc Engine usage

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K144 CSEc Engine usage

2,199 次查看
harish_g2
Contributor II

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

标记 (3)
0 项奖励
回复
2 回复数

1,967 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

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!
-------------------------------------------------------------------------------

0 项奖励
回复

1,603 次查看
luyu
Contributor I

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?

0 项奖励
回复