STSAFEA_KEY_NOT_FOUND Error on Nucleo L476RG + STSAFE A110 Expansion Board
Hello ST Community,
I am currently an intern working as an embedded software developer and I'm facing an issue with the nucleo L476RG and STSAFE A110 expansion board setup.
My program couples the two boards and it was working fine until recently. Now, whenever I try to use the StSafeA_GenerateKeyPair function from the API, it returns a StatusCode number 10, 0x0A in hexadecimal, which corresponds to STSAFEA_KEY_NOT_FOUND (0x0AU).
This is perplexing because the same setup and the same code were functioning properly just weeks ago. Even when I use the demonstration code provided by the X-CUBE-SAFEA1, it gets stuck at the key generation step and returns the same error (10).
I have not made any changes to the hardware or the code since it last worked. I'm wondering if anyone else has experienced a similar issue or if there are any known conditions that could cause this error to occur unexpectedly? Any insights or suggestions would be greatly appreciated.
Looking forward to your responses.
Best regards,
