2017-11-22 06:37 AM
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.
Solved! Go to Solution.
2017-11-22 01:55 PM
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
2017-11-22 06:52 AM
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.
2017-11-22 09:54 AM
Too much data/code, too little space. To fix you need to make it 'less big'
2017-11-22 11:17 AM
2017-11-22 11:19 AM
I downloaded from
. why dosent work?2017-11-22 11:59 AM
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 ...
2017-11-22 01:55 PM
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
2017-11-22 02:28 PM
Tanks alot. I change the .ICF file. It works.
But when I download the project into Mcu, there is two warrning and one erro durring intialization of debugging session.
And there is no icon picture.
What is the problem?
2017-11-22 02:41 PM
You would need download software that is aware of the QuadSPI implementation on the board (pins, chip, etc). The ST-LINK Utilities have an 'External Loader' that provides support for loading the external memories.
2017-11-22 03:07 PM
I dont understand, what have i do?
You said that the external memory isnet programed?
When I download the project, it say that:
There were warnings while generating flash loader input. See the debuge Log window for details.
I think that I still do something worng about flashloader file?
Do you have any idea?