This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

section placement failed in IAR 7.40

Hello,

I have facing bellow problem please help me.

How to reduce Read only code size?

IAR ELF Linker V7.40.3.8902/W32 for ARM
Copyright 2007-2015 IAR Systems AB.
Error[Lp011]: section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0xfbba bytes (max align 0x4) in <[0x00006050-0x0000efff]> (total uncommitted
space 0x8fb0).

62 489 bytes of readonly code memory
3 445 bytes of readonly data memory
16 915 bytes of readwrite data memory

Errors: 1
Warnings: none

Link time: 0.36 (CPU) 0.36 (elapsed)
Error while running Linker

Any help will appreciated.

Regards,

Rajneesh

  • This forum is for questions and discussion regarding compiler tools released by TI.  So we cannot help you directly.  

    Based on the error message, it appears you attempted to allocate a section (or combination of sections) with a length of 0xfbba bytes into a memory range that starts at address 0x6050 and has total remaining space of 0x8fb0 bytes.  Solutions to such a problem are often implemented in the linker command file (which IAR might term the linker script).

    Thanks and regards,

    -George