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!!
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!
-----------------------------------------------------------------------------------------------------------------------
I tried enabling clock. It isn't working. I haven't enabled secure boot. Is that the reason?
You may refer to an example from the i.MX6 Platform SDK
Regards,
Yuri.