Hi Team,
We are working on MSP430F5659 with IAR IDE.
As a product requirement, we have a LCD and some constant data is using to display data on LCD.
When we added few new menus, we are getting compiler error.
When look in to the MAP file, observed that it is occupying more than 31K constant data. If future as per need we may add few more screens and this data may be increased.
What we have understood is that, CODE16 memory range is from 8000 – FF7F, as it is increasing this size it is giving compiler error.
Does it required change in Linker File / Settings to support more constant data without effecting others.
Activities we have done before reaching you
1. Modified the Linker Page data
// Constant Data
-Z(CONST)DATA16_C,DATA16_ID,TLS16_ID,DIFUNCT,CHECKSUM=8000-FF7F
to
-Z(CONST)DATA16_C,DATA16_ID,TLS16_ID,DIFUNCT,CHECKSUM=8000-FF7F,10040-87FFF
and
// Code
-Z(CODE)CSTART,ISR_CODE,CODE16=8000-FF7F
to
-Z(CODE)CSTART,ISR_CODE,CODE16=8000-FF7F,10040-87FFF
2. Changed the Data Model from "Small" to " Med/ High" in IAR settings - General Options - Target.
With second option, we could able to compile the code but its not working.
Please help us.
Thanks,