2024-09-11 10:01 AM - edited 2024-09-12 06:26 AM
stm32L476VC + CubeMX + IAR + X-CUBE-CRYPTOLIB STM32CubeExpansion_Crypto_V4.2.0
i copy the example from "NUCLEO-L476RG\Applications\ECC\EDDSA_SignVerify" to my project, cmox_eddsa_sign will cause HardFault:
The processor has escalated a configurable-priority exception to HardFault.
A precise data access error has occurred (CFSR.PRECISERR, BFAR)
At data address 0x58024c00.
An imprecise data access error has occurred (CFSR.IMPRECISERR, BFAR)
At data address 0x58024c00.
Exception occurred at PC = 0x800901e, LR = 0x20002cc4
call stack:
HardFault_Handler()
<Exception frame>
[cmox_md_generateTag + 0x51]
other api work well (cmox_rsa_pkcs1v15_verify, cmox_ecdsa_sign ...)
Solved! Go to Solution.
2024-09-13 11:35 PM
0x600 solved this problem,thanks a lot @Jocelyn RICARD @Tesla DeLorean @Dor_RH