cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
738 Views
Registered: ‎04-10-2018

Access to CSU registers

Hello All,

 

I'm working on a program which needs to get access to CSU registers in order to make simple crypto operations. My utility is developed for the proprietary RTOS which is running on the ZCU102 platform. Any attempt to read a value from any CSU register is leading to the SIGBUS error. While searching for solutions I have found a suggestion to use ATF to do MMIO_READ/WRITE operations. However I'm unable to do that because respective requests are ended with XST_PM_NO_ACCESS status.

 

I'm looking for any solution to get simple access to AES hardware accelerator. Could you advise me how can I do that?

 

Thanks in  advance.

0 Kudos
2 Replies
Highlighted
Mentor
Mentor
728 Views
Registered: ‎02-24-2014

Just a sanity check.. are you using the XILSecure library then?   these modules?

 

xsecure_aes.h: This file contains the driver interface for AES module.
• xsecure_aes.c : This file contains the implementation of the driver interface for AES
module

Don't forget to close a thread when possible by accepting a post as a solution.
0 Kudos
Highlighted
Visitor
Visitor
724 Views
Registered: ‎04-10-2018

I was using these modules as the reference code and created my utility using the similar approach.

0 Kudos