cancel
Showing results for 
Search instead for 
Did you mean: 

Huge user application binary file

leeana
Associate III

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

1 REPLY 1
KnarfB
Principal III

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