Skip to main content
AGuze.1
Visitor II
January 10, 2020
Solved

IAR embedded WB from CubeMX to drive IHM003 motor control dev kit error : Error[Li016]: size limit exceeded. The application needs 0x86b6 (34'486) bytes

  • January 10, 2020
  • 1 reply
  • 1403 views

When I run code in IAR embedded WB from CubeMX to drive IHM003 motor control dev kit initial project (same as in getting started video) , I have got this 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" from "bus_voltage_sensor.o" (and 61 other modules).

I choose kickstart license due to other is paid and 30days for free.

If I turn to 30days trial everything is working normally.

Could you please help me on what is wrong with this?

This topic has been closed for replies.
Best answer by Fred V.

Yes, you're right. I should have mentioned it.

A free alternative to IAR EWARM is STM32CubeIDE, available on st.com: https://www.st.com/en/development-tools/stm32cubeide.html

Regards

Fred V.

1 reply

Fred V.
ST Employee
January 15, 2020

Hello,

The issue you are facing is related to the licensing model of IAR EWARM.

The kickstart license is unlimited in time but is limited by the size of the resulting binary is can produce: 32 KBytes. If you need to produce bigger binaries as it is the case for the case you mention, you need the paid license (free for 30 days).

Regards,

Fred V.

Ozone
Principal
January 15, 2020

> If you need to produce bigger binaries as it is the case for the case you mention, you need the paid license (free for 30 days).

It should be said that the cost of a full IAR WB licence is in the 4 digit range ($/€).

If you are not prepared to invest that, change over to a free IDE.

Fred V.
Fred V.Best answer
ST Employee
January 15, 2020

Yes, you're right. I should have mentioned it.

A free alternative to IAR EWARM is STM32CubeIDE, available on st.com: https://www.st.com/en/development-tools/stm32cubeide.html

Regards

Fred V.