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.

TIDA-01081: TIDA-01081 - Errors generated by Code Composer Studio when building project

Part Number: TIDA-01081
Other Parts Discussed in Thread: MSP430F5172

Errors are reported by CCS when building the project from the files downloaded from the TI website. The version for the CCS is 20.4.0.13__1.10.0. 

The output from CCS after selecting Build All is given below:

[1]"D:\\ti\\ccs2040\\ccs\\utils\\bin\\gmake" -k -j 12 all -O

[2]Building target: "tida-01081.out"
[3]Invoking: MSP430 Linker
[4]"D:/ti/ccs2040/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx -O4 --opt_for_speed=5 --use_hw_mpy=F5 --define=__MSP430F5172__ --define=DEBUG_off --define=TRIGGER_GPIO -g --printf_support=nofloat --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --asm_listing -z -m"tida-01081.map" --heap_size=80 --stack_size=80 -i"D:/ti/ccs2040/ccs/ccs_base/msp430/include" -i"D:/ti/ccs2040/ccs/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"D:/ti/ccs2040/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/lib" -i"D:/ti/ccs2040/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="tida-01081_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "tida-01081.out" "./main.obj" "./sanity.obj" "./driverlib/MSP430F5xx_6xx/adc10_a.obj" "./driverlib/MSP430F5xx_6xx/adc12_a.obj" "./driverlib/MSP430F5xx_6xx/aes.obj" "./driverlib/MSP430F5xx_6xx/battbak.obj" "./driverlib/MSP430F5xx_6xx/comp_b.obj" "./driverlib/MSP430F5xx_6xx/crc.obj" "./driverlib/MSP430F5xx_6xx/ctsd16.obj" "./driverlib/MSP430F5xx_6xx/dac12_a.obj" "./driverlib/MSP430F5xx_6xx/dma.obj" "./driverlib/MSP430F5xx_6xx/eusci_a_spi.obj" "./driverlib/MSP430F5xx_6xx/eusci_a_uart.obj" "./driverlib/MSP430F5xx_6xx/eusci_b_i2c.obj" "./driverlib/MSP430F5xx_6xx/eusci_b_spi.obj" "./driverlib/MSP430F5xx_6xx/flashctl.obj" "./driverlib/MSP430F5xx_6xx/gpio.obj" "./driverlib/MSP430F5xx_6xx/lcd_b.obj" "./driverlib/MSP430F5xx_6xx/ldopwr.obj" "./driverlib/MSP430F5xx_6xx/mpy32.obj" "./driverlib/MSP430F5xx_6xx/oa.obj" "./driverlib/MSP430F5xx_6xx/pmap.obj" "./driverlib/MSP430F5xx_6xx/pmm.obj" "./driverlib/MSP430F5xx_6xx/ram.obj" "./driverlib/MSP430F5xx_6xx/ref.obj" "./driverlib/MSP430F5xx_6xx/rtc_a.obj" "./driverlib/MSP430F5xx_6xx/rtc_b.obj" "./driverlib/MSP430F5xx_6xx/rtc_c.obj" "./driverlib/MSP430F5xx_6xx/sd24_b.obj" "./driverlib/MSP430F5xx_6xx/sfr.obj" "./driverlib/MSP430F5xx_6xx/sysctl.obj" "./driverlib/MSP430F5xx_6xx/tec.obj" "./driverlib/MSP430F5xx_6xx/timer_a.obj" "./driverlib/MSP430F5xx_6xx/timer_b.obj" "./driverlib/MSP430F5xx_6xx/timer_d.obj" "./driverlib/MSP430F5xx_6xx/tlv.obj" "./driverlib/MSP430F5xx_6xx/ucs.obj" "./driverlib/MSP430F5xx_6xx/usci_a_spi.obj" "./driverlib/MSP430F5xx_6xx/usci_a_uart.obj" "./driverlib/MSP430F5xx_6xx/usci_b_i2c.obj" "./driverlib/MSP430F5xx_6xx/usci_b_spi.obj" "./driverlib/MSP430F5xx_6xx/wdt_a.obj" "./drv/adc.obj" "./drv/dac.obj" "./drv/i2c.obj" "./drv/pinmux.obj" "./drv/timer.obj" "./drv/uart.obj" "./drv/vt100.obj" "../lnk_msp430f5172.cmd"  -llibmath.a -llibc.a
[5]<Linking>
[6]"../lnk_msp430f5172.cmd", line 145: 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 ".const" size 0x678.  Available memory ranges:
[7]   FLASH        size: 0x7f80       unused: 0x4fc        max hole: 0x4fc
[8]error #10010: errors encountered during linking; "tida-01081.out" not built


[9]**** Build finished ****

 

  • Hi,

    I can confirm this is indeed the case with ti-cgt-msp430_21.6.1.LTS.

    To work around this, please change in the properties of the project: Build - MSP430 Compiler - Optimization - Speed vs size trade-offs to 4. Then it should compile.

    Best regards,

    Steffen