cancel
Showing results for 
Search instead for 
Did you mean: 

Why stm32f746g-discovery have linker erro whit iar?

Mohammad Rostamian
Associate III
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.

12 REPLIES 12
Posted on November 23, 2017 at 00:59

I'm not an IAR user, but it is likely complaining that it doesn't have an algorithm for programming an external memory (option for many different types of memory, with board unique wiring), only for the internal memory standard to all of the F7 parts,

The graphic image data will not fit within the internal memory, so the linker places it in an external region. The debugger doesn't support programming that memory and complains. You will need to create a .HEX file from the project, and then use the ST-LINK Utilities to program the board, you'll need to select the 'External Loader' supporting your board.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on November 23, 2017 at 06:31

Tanks a lot about your answer.

I will try it.

Posted on November 23, 2017 at 14:30

It works well, tankyou very much