Not able to access CAAM registers from kernel

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to access CAAM registers from kernel

195 Views
rohininarasipur
Contributor II

Hello,

I am trying to write CAAM driver for vxworks. I want to initialize Job Ring registers in order to send commands to caam but I am not able to access any of them after boot. Only at the boot time I am able to write to them or read from them. The security manual says I can access them only when using MID specified in JRxMIDR register. I did set MID in JRxMIDR at the boot time. Where else do we have to set MID? I don't understand what else I have to do in order to be able to access Job Ring registers after boot. Please tell me where I am going wrong. Any type of lead or help is appreciated. Thanks!!

Labels (3)
Tags (2)
0 Kudos
3 Replies

58 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

The problem may take place because the clock for the CAAM isn't enabled by default.


Have a great day,
Yuri

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

0 Kudos

58 Views
rohininarasipur
Contributor II

I tried enabling clock. It isn't working. I haven't enabled secure boot. Is that the reason?

0 Kudos

58 Views
Yuri
NXP TechSupport
NXP TechSupport

You may refer to an example from the i.MX6 Platform SDK

Regards,

Yuri.

0 Kudos