Skip to main content
Mohammad Rostamian
Associate III
November 22, 2017
Solved

Why stm32f746g-discovery have linker erro whit iar?

  • November 22, 2017
  • 2 replies
  • 1556 views
Posted on November 22, 2017 at 15:37

Hi, I rebuilded stm32f746g-discovery demonstration whit IAR. But it has the linker error:

Error[Lp011]: section palcement failed

Unable to allocate space section/block whit a total estimated minimum size of 0x5452bytes(max align 0x4) in....

What can I do?

 Tanks.

    This topic has been closed for replies.
    Best answer by Tesla DeLorean
    Posted on November 22, 2017 at 21:55

    Different version of IAR, properly licensed?

    You have 5.5MB of data, I'd assume that's supposed to go into the QSPI Flash, so place to look would be memory map being used and/or .ICF file

    2 replies

    AvaTar
    Senior III
    November 22, 2017
    Posted on November 22, 2017 at 15:52

    What can I do?

    First, post the full linker error message.

    The fragment seems to indicate an overflow, i.e. the application is too large.

    Assuming the project settings are otherwise correct, you can try enabling optimization.

    Mohammad Rostamian
    Associate III
    November 22, 2017
    176249CGIL2
    Tesla DeLorean
    Guru
    November 22, 2017
    Posted on November 22, 2017 at 18:54

    Too much data/code, too little space. To fix you need to make it 'less big'

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Mohammad Rostamian
    Associate III
    November 22, 2017
    Posted on November 22, 2017 at 19:19

    I downloaded from

    http://www.st.com

    . why dosent work?
    AvaTar
    Senior III
    November 22, 2017
    Posted on November 22, 2017 at 19:59

    Good question.

    If it's for the proper board, and with the original project setting, it is supposed to work.

    May it be that ST did never ever test it with IAR-WB ?

    Perhaps the present ST staff can enlighten us ...