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.

CCS/MSP430F5419: Linker problem after migrating project to CCS version 7

Part Number: MSP430F5419

Tool/software: Code Composer Studio

Hello all,

after migrating my project to CCS 7 I face a linker problem. It seems that there are some old settings that do not fit anymore. At that time, I build this project up with CCS4, I hat to set the large data and large memory model flags to get it work, since the code is quite huge. Now these settings seems not to be supportet any more.

Here is the output of the build console:

**** Build of configuration Debug for project joker2 ****

"C:\\ti\\ccs710\\ccsv7\\utils\\bin\\gmake" -k all
'Building target: joker2.out'
'Invoking: MSP430 Linker'
"C:/ti/ccs710/ccsv7/tools/compiler/ti-cgt-msp430_16.9.1.LTS/bin/cl430" -vmspx --data_model=large --use_hw_mpy=F5 --define=__MSP430F5419__ -g --printf_support=full --diag_warning=225 --abi=eabi --large_memory_model --silicon_errata=CPU15 --silicon_errata=CPU18 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 -z -m"joker2.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccs710/ccsv7/ccs_base/msp430/include" -i"C:/ti/ccs710/ccsv7/msp430/include" -i"C:/ti/ccs710/ccsv7/tools/compiler/ti-cgt-msp430_16.9.1.LTS/lib" -i"C:/ti/ccs710/ccsv7/tools/compiler/ti-cgt-msp430_16.9.1.LTS/include" -i"C:/ti/ccs710/ccsv7/ccs_base/msp430/lib/5xx_6xx_FRxx" --reread_libs --warn_sections --xml_link_info="joker2_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "joker2.out" "./beeper_jok2.obj" "./drv_adc_jok2.obj" "./drv_digi_poti_jok2.obj" "./drv_i2c_jok2.obj" "./drv_lcd_jok2.obj" "./drv_rtc_jok2.obj" "./drv_rtccntr_jok2.obj" "./drv_ser_epr_jok2.obj" "./drv_spi_jok2.obj" "./drv_timer_a.obj" "./dsr_functions_jok2.obj" "./dsr_jok2.obj" "./ls_u_aus_functions.obj" "./ls_und_ausgaenge.obj" "./main_jok2.obj" "./parameter_jok2.obj" "./symbole.obj" "./texte_jok2.obj" "./utilities.obj" "./zeit_mess_jok2.obj" "../lnk_msp430f5419.cmd"  -llibmath.a -llibc.a
<Linking>
"../lnk_msp430f5419.cmd", line 131: warning: Linker command file has no
   sections of type=VECT_INIT, but does contain .intXX sections.  This file may
   be out of date.  Generating interrupt pointers for all .intXX sections.  The
   default handler provided in the RTS will be used if no other handler is
   found.  It is recommend that you update your linker command file to the
   latest version.
warning: creating output section ".data" without a SECTIONS specification
"../lnk_msp430f5419.cmd", line 120: error: program will not fit into available
   memory.  placement with alignment fails for section ".cinit" size 0x78 .
   Available memory ranges:
   FLASH        size: 0xa380       unused: 0x0          max hole: 0x0       
error: errors encountered during linking; "joker2.out" not built

>> Compilation failure
makefile:160: recipe for target 'joker2.out' failed
gmake: *** [joker2.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Please help getting the right settings.

Thanks in advance,

Hans