cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U585xx SBSFU source code examples do not build properly.

Debugger
Associate

STM32U585xx SBSFU source code examples do not build properly.

Nice to meet you.
If you download and check the en.stm32cubeu5-v1-6-0.zip file (including patch), it contains an example for STM32U585 SBSFU.
If you try to build the 'SBSFU' example for 'B-U585I-IOT02A' board according to the instructions in readme.html, it does not build properly and 'Build failed' occurs, and even if it is built properly, 'SBSFU_Appli\Binary\sbsfu_app.bin' ', etc. are not created.
I would like to solve the problem for some reason, so please give me some advice.
*****
Example source: Refer to STM32Cube_FW_U5_V1.6.0/Projects/B-U585I-IOT02A/Applications/SBSFU/readme.html.
Tools: IAR EWARM 9.50.1
situation :
'SBSFU_Appli\Binary\sbsfu_app.bin' not created.
'SBSFU_Appli\Binary\sbsfu_app_init.bin' not created.
'SBSFU_Appli\Binary\sbsfu_app_enc_sign.bin' not created.
'SBSFU_Appli\Binary\sbsfu_app_sign.bin' not created.

'SBSFU_Loader Non Secure Project' Build failed.
We are unable to proceed because this issue has not been resolved.
Please help.
thank you

1 REPLY 1
CMYL
ST Employee

Hi @Debugger 

There is a known limitation when your path contains spaces:

Known limitations

  • IAR build not working if cube package is installed on a path with a space, or a long path.
  • STM32CubeIDE: Only Release configuration is supported due to flash mapping constraint. To allow debugging in Release configuration, the debug level is -g3.

CMYL_0-1724075178608.png

Can you please double check if your path doesn't contain spaces ?

On my side, I built the projects as described in the Readme w/o any issues. 

best regards