2025-11-25 1:16 AM
Hello
I am developing on the STM32H7B3-DK using X-CUBE-SBSFU v2.7.0 with IAR compiler version 9.70.
During the build, I encountered the following critical error:
Fatal error[Li004]: file "STM32CryptographicV3.1.3_CM7_IARv8.a" is not an object or archive fileIt appears that the provided static library (STM32CryptographicV3.1.3_CM7_IARv8.a) was built with IAR v8.x and is incompatible with IAR v9.70, preventing successful linking. The static library is present in STM32CubeExpansion_SBSFU_V2.7.0\Middlewares\ST\STM32_Cryptographic\Fw_Crypto\STM32H7A3\Lib
Could you please advise:
Thank you for your support.
2025-12-03 1:33 PM
Hello @SSaiPrasad,
There is a SBSFU V2.8.0 available but unfortunately still tested with IAR v9.20.1 according to the release notes.
The cryptolib used in X-CUBE-SBSFU is the old Version 3. As X-CUBE-CRYPTOLIB is now using Version 4, I doubt there will be any update in this regard.
One possible solution I could see is to try to integrated Crypto library V4. There is a compatibility layer with V3, so may be not too hard. But before that you will need to check it links correctly with this IAR version.
Best regards
Jocelyn
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.