cancel
Showing results for 
Search instead for 
Did you mean: 

StSafeA_Read() returns STSAFEA_CMAC_COUNTER_LIMIT_REACHED

NRedd.2
Associate III

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

1 REPLY 1
Benjamin BARATTE
ST Employee

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