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.

MSP430FR2672: CapTIvate generated code does not fit in MSP430

Part Number: MSP430FR2672
Other Parts Discussed in Thread: MATHLIB,

Hi, I use the CapTIvate GUI tool to configure a simple 5 buttun "self" touch. Generating the code works and can be loaded in CCS 12.

Build is perferforemd successfully, but linker causes error with memory size.

No idea why the code shall be so big.

Here is the error:

**** Build of configuration Debug for project CapTIvate_GEN2 ****

"C:\\ti\\ccs1250\\ccs\\utils\\bin\\gmake" -k -j 12 all -O
 
Building target: "CapTIvate_GEN2.out"
Invoking: MSP430 Linker
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=large --data_model=large -O1 --opt_for_speed=0 --align_for_power --use_hw_mpy=F5 --advice:hw_config="all" --define=__MSP430FR2672__ --define=TARGET_IS_MSP430FR2XX_4XX --define=_FRWP_ENABLE --define=_INFO_FRWP_ENABLE -g --gcc --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --large_memory_model --silicon_errata=CPU12 --silicon_errata=CPU13 --silicon_errata=CPU15 --silicon_errata=CPU18 --silicon_errata=CPU19 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 -z -m"CapTIvate_GEN2.map" --heap_size=160 --stack_size=256 --cinit_hold_wdt=on -i"C:/ti/ccs1250/ccs/ccs_base/msp430/include" -i"C:/ti/ccs1250/ccs/ccs_base/msp430/lib/FR2xx" -i"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/lib" -i"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --priority --reread_libs --define=_FRWP_ENABLE --define=_INFO_FRWP_ENABLE --diag_wrap=off --display_error_number --warn_sections --xml_link_info="CapTIvate_GEN2_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "CapTIvate_GEN2.out" "./main.obj" "./captivate/ADVANCED/CAPT_Manager.obj" "./captivate/BASE/CAPT_ISR.obj" "./captivate/COMM/CAPT_Interface.obj" "./captivate/COMM/FunctionTimer.obj" "./captivate/COMM/I2CSlave.obj" "./captivate/COMM/UART.obj" "./captivate_app/CAPT_App.obj" "./captivate_app/CAPT_BSP.obj" "./captivate_config/CAPT_UserConfig.obj" "../lnk_msp430fr2672.cmd" "../captivate/BASE/libraries/captivate_fr2676_family.lib" "../driverlib/MSP430FR2xx_4xx/libraries/driverlib_fr2676_family.lib" "../mathlib/libraries/IQmathLib.lib" "../mathlib/libraries/IQmathLib_CCS_MPY32_5xx_6xx_CPUX_large_code_large_data.lib" "../mathlib/libraries/QmathLib.lib" "../mathlib/libraries/QmathLib_CCS_MPY32_5xx_6xx_CPUX_large_code_large_data.lib"  -lfrwp_init.a -l"C:/_/05_Projects/BoSonic/GEN2/FW/CapTIvate/CapTIvate_GEN2/captivate/BASE/libraries/captivate_fr2676_family.lib" -l"C:/_/05_Projects/BoSonic/GEN2/FW/CapTIvate/CapTIvate_GEN2/driverlib/MSP430FR2xx_4xx/libraries/driverlib_fr2676_family.lib" -l"C:/_/05_Projects/BoSonic/GEN2/FW/CapTIvate/CapTIvate_GEN2/mathlib/libraries/QmathLib.lib" -l"C:/_/05_Projects/BoSonic/GEN2/FW/CapTIvate/CapTIvate_GEN2/mathlib/libraries/IQmathLib.lib" -llibc.a
<Linking>
"../lnk_msp430fr2672.cmd", line 128: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment fails for section "ALL_FRAM" size 0x24ce.  Available memory ranges:
 
   FRAM         size: 0x1f80       unused: 0x1f80       max hole: 0x1f80    
>> Compilation failure
makefile:177: recipe for target 'CapTIvate_GEN2.out' failed
error #10010: errors encountered during linking; "CapTIvate_GEN2.out" not built
gmake[1]: *** [CapTIvate_GEN2.out] Error 1
gmake[1]: Target 'secondary-outputs' not remade because of errors.
gmake: *** [all] Error 2
makefile:173: recipe for target 'all' failed

**** Build Finished ****

Any idea how to get ir running quickly?

Günter

**Attention** This is a public forum