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.

CC1310: CC1310 Code Size Limit Error[Li016]: size limit exceeded

Part Number: CC1310

Hi Forum!

I am facing the following error:

Error[Li016]: size limit exceeded. The application needs 0x86b6 (34'486) bytes, which is greater than the limit of 0x8000 (32'768) bytes.

           The limit is due to license "ARM.EW.LINKER"..

I have a valid commercial license of IAR Embedded workbench for ARM Version 8.32.1

I am using the CC13x0 MCU SDK version 1.00.13

The flash size of my CC1310 is 128k hence the part number CC1310F128RGZT.

I am stuck and unable to proceed.

Please advise.

Best Regards

Ali

  • - If the issue you are seeing is related to a IAR licence you have to contact IAR.

    - Have you tested if you get the same error in CCS?

    - Why are you using a very old SDK version? Please update to the newest one if possible.

  • The issue might not be related to IAR license since it is a commercial unlimited code size license.

    Ok I will upgrade to the latest version. Actually my code had an issue with easylink.c in the newer versions so I decided to stick to the older version.

    The project template I am using was perhaps built on an older version of IAR which had a code size limited or kickstart license.

    Let me create a new project and port the project there and see what happens.

    Has a similar issue ever reported on the forum before?

    Best Regards

    Ali

  • this did not resolve my problem..my son accidently touched the resolved button...:)

  • I found a support technical note from IAR website and it ensues:

    Ensure all object code in your project is properly built (that is, without size limitation). Once you have verified you are using a proper edition:

    • Compile / assemble all source code in your project
    • Menu: Project -> Clean
    • Menu: Project -> Rebuild All
    • Also object code without source code (for example 3rd party libraries) must have been built with a proper edition.
    • If IAR Embedded Workbench for ARM is used and the exceeded limit is 12288 bytes, then disable C-RUN (enabled in size-limited mode): 
      Project > Options > Runtime Checking - unmark the 'Enable' checkbox.

    I would like to learn if there are any 3rd party libraries on my project and since I copied all reference code from Texas instruments CC13xx MCU SDK, so if there are any 3rd party libraries they were built by TI so please apprise me on what to do next?

    If the newer SDK versions had their libraries built on licensed versions of IAR Embedded Workbench on ARM then it should do the trick for me.

    Please Advise.

    Looking forward for an early response.

    Please uncheck the "Resolved" tag since my problem has not yet been resolved.

    Best Regards

    Ali

  • Hi TER!

    No issue of code size on CC13xx MCU SDK 3.10.00.1

    Perhaps the object code of old easylink examples was compiled on kickstart license version of IAR Embedded workbench by TI.

    Thanks for the assist.

    Best Regards

    Ali