Skip to main content
leeana
Associate III
October 13, 2021
Question

Huge user application binary file

  • October 13, 2021
  • 1 reply
  • 846 views

Hello everyone

So I've managed to build MY user app, where a lot of things programmed alongside sbsfu support.

But the binary file is simply huge - 134 MB! How comes?

Also, sfb file does not get generated. May it be connected to disabled security defines? My controller does not have secure memory area

This topic has been closed for replies.

1 reply

KnarfB
Super User
October 13, 2021

The .bin file is a 1:1 mapping of the memory content, it does not support holes or several regions of memory. So you should check your map file or linker description file or use the Build Analyzer View in STM32CubeIDE to find out where your code and data are located. A big .bin file example is demonstrated in https://youtu.be/OkUQ3iMmiYQ?t=264

hth

KnarfB