Tool/software:
Hi Experts,
I am asking for my customer here.
Prior to this, the HSM firmware had been successfully burned on the customer's board, and it could successfully jump from SBL to app in HSSE mode, and could run the HSM project based on the demo project in the SDK, and the HSM encryption service could be executed normally. Now they want to the app project integrated the Crypto driver code and adapted the SIPC interrupt. Then, when calling the HSM service, the following program execution problems were encountered:
The program is stuck at SIPC_mailboxRead in the SIPC_isr function. When calling SIPC_mailboxRead, it is stuck at line 82 in the figure below. The rdIdx and wrIdx in the HSM's Mailbox are always 1, causing the sipc interrupt to be unable to exit, as shown in the red box. In addition, the version number on the HSM side can be obtained normally, as shown in the green box. Could you give us debug dir/suggestion? Thanks.