[SOLVED] Object bin file created with SES is too big...

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Object bin file created with SES is too big...

    Hi there,

    I did compile a project for STM32F746NG using internal and external flash. Anyway, the additional .bin file created seems to be to big, i.e. the .elf is around 2.9MB and the .bin file is 2.12GB. When I try to load it with J-Link, the J-Link crashes.
    Any suggestions?

    Thanks in advance,
    Victor
  • Hello Victor,

    Thank you for your inquiry.

    The problem with bin files is that they fill up any memory gaps.
    So if you use internal flash at 0x0 and external flash at e.g. 0x40... this memorygap gets filled up with 0xFF.
    That is why you suddenly get several GB data instead of just a couple of MB.

    We suggest using either hex or srec/mot as additional output format as these formats act "smarter".

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.