Skip to main content
NRedd.2
Associate III
June 20, 2022
Question

StSafeA_Read() returns STSAFEA_CMAC_COUNTER_LIMIT_REACHED

  • June 20, 2022
  • 1 reply
  • 810 views

Hello,

What could be the possible reason for STSAFEA_CMAC_COUNTER_LIMIT_REACHED (0x09) error when attempting to read from the STSAFE?

When trying to initialize with stsafea_Init(), there is no error returned.

How do we resolve this issue or error?

Best regards,

Navin

This topic has been closed for replies.

1 reply

ST Employee
July 7, 2022

Hi NRedd.2

This issue is related the specific configuration of memory mapping according to your application.

you mandate the host authentication to access the memory region and you have exhaust the maximum operation with the secure channel of the STSAFE-A. Therefore all commands that mandates the secure channel is no longer usable.

That's why the stsafea_init() does not report any error.

Best Regards,

Benjamin