Skip to main content
Daniel L
Associate III
Sep 13, 2019 5:36 AM UTC
Solved

Problems generating Binary Files with STM32CubeIDE & System Workbench

Hi,

I have added the following command to the post build steps.

arm-none-eabi-objcopy -O binary "${BuildArtifactFileBaseName}.elf" "${BuildArtifactFileBaseName}.bin"

The size of .bin file generated is 393411KB compared to 383KB hex file and does not upload with STM32 Cube Programmer.

Has anyone been able to successfully generate a binary file (.bin) to program the STM32WB and how have you done so?

Thanks,

Daniel

This topic has been closed for replies.
Le Corre Pierre
Le Corre PierreBest answer
ST Employee
Sep 13, 2019 6:59 AM UTC

Hello @Daniel L​ ,

This is a known issue also present inside the firmware package until STM32Cube_FW_WB_V1.2.0. This is corrected inside STM32Cube_FW_WB_V1.3.0 coming.

I enclose here the .s and .ld containing the correction while waiting the official release.

1 reply

Le Corre Pierre
Le Corre PierreBest answer
ST Employee
Sep 13, 2019 6:59 AM UTC

Hello @Daniel L​ ,

This is a known issue also present inside the firmware package until STM32Cube_FW_WB_V1.2.0. This is corrected inside STM32Cube_FW_WB_V1.3.0 coming.

I enclose here the .s and .ld containing the correction while waiting the official release.