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.

Migrating to CCSv6.1

Other Parts Discussed in Thread: SYSBIOS, ADS1251, TMS320C28346

I was asked by the TI compiler to post this error log here.

Only one of my build configurations don't work anymore, so this is the error log of the not working build configuration.

**** Build of configuration Devel for project THDA_SYSBIOS ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building target: THDA_SYSBIOS.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --float_support=fpu32 -g --define=BOARD_DELFINO --define=USE_DEVELOPMENT_VERSION --define=__DEBUG --diag_warning=225 --display_error_number -z --stack_size=0x300 -m"THDA_SYSBIOS.map" --warn_sections -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" -i"D:/projects/THDA/Firmware/GIT_repo_complete/Firmware/trunk/project/THDA_V10/hardware" --reread_libs --display_error_number --xml_link_info="THDA_SYSBIOS_linkInfo.xml" --rom_model -o "THDA_SYSBIOS.out" "./source/utility/math/cmath.obj" "./source/utility/math/goertzel.obj" "./source/utility/math/goertzel32.obj" "./source/utility/math/goertzel64.obj" "./source/utility/filter/window_filter_functions.obj" "./source/utility/convert.obj" "./source/utility/crc.obj" "./source/utility/debug.obj" "./source/frameworks/error_fw.obj" "./source/frameworks/mem_access_fw.obj" "./source/frameworks/timer_fw.obj" "./source/drivers/tms320c28346/can.obj" "./source/drivers/tms320c28346/ext_int.obj" "./source/drivers/tms320c28346/i2c.obj" "./source/drivers/tms320c28346/mcbsp.obj" "./source/drivers/tms320c28346/processor.obj" "./source/drivers/tms320c28346/pwm.obj" "./source/drivers/tms320c28346/sci.obj" "./source/drivers/tms320c28346/spi.obj" "./source/drivers/tms320c28346/timer.obj" "./source/drivers/tms320c28346/watchdog.obj" "./source/drivers/flash_AT45DB641E.obj" "./source/drivers/lm75_thermometer.obj" "./source/drivers/1wire/EEPROM-CDS2431.obj" "./source/drivers/1wire/i2c_to_1wire-CDS2482.obj" "./project/THDA_V10/app_selftest.obj" "./project/THDA_V10/calc.obj" "./project/THDA_V10/command_interface.obj" "./project/THDA_V10/lut.obj" "./project/THDA_V10/main.obj" "./project/THDA_V10/persistent_values.obj" "./project/THDA_V10/scale.obj" "./project/THDA_V10/state_machine.obj" "./project/THDA_V10/tasks.obj" "./project/THDA_V10/thda_value_calculation.obj" "./project/THDA_V10/thda_value_interface.obj" "./project/THDA_V10/hardware/HallSensor.obj" "./project/THDA_V10/hardware/SPIFLASH28_SPI_Flashprog_Library.obj" "./project/THDA_V10/hardware/adc_ADS1251.obj" "./project/THDA_V10/hardware/dac_AD5062_nano.obj" "./project/THDA_V10/hardware/digital_io.obj" "./project/THDA_V10/hardware/delfino/board_delfino.obj" "./project/THDA_V10/device_mode/mode_eis.obj" "./project/THDA_V10/device_mode/mode_global.obj" "./project/THDA_V10/device_mode/mode_interface.obj" "./project/THDA_V10/device_mode/mode_self_calibration.obj" "./project/THDA_V10/device_mode/mode_thda.obj" "./lib/v112/DSP2834x_headers/source/DSP2834x_GlobalVariableDefs.obj" "./lib/v112/DSP2834x_common/source/DSP2834x_CodeStartBranch.obj" "./lib/v112/DSP2834x_common/source/DSP2834x_DefaultIsr.obj" "./lib/v112/DSP2834x_common/source/DSP2834x_ECan.obj" "./lib/v112/DSP2834x_common/source/DSP2834x_PieCtrl.obj" "./lib/v112/DSP2834x_common/source/DSP2834x_PieVect.obj" "./lib/v112/DSP2834x_common/source/DSP2834x_SysCtrl.obj" "./lib/v112/DSP2834x_common/source/DSP2834x_usDelay.obj" "../lib/v112/DSP2834x_headers/cmd/DSP2834x_Headers_BIOS.cmd" "../lib/IQmath/IQmath_fpu32.lib" -l"configPkg/linker.cmd" -l"libc.a"
<Linking>
warning #16002-D: build attribute vendor section TI missing in
   "../lib/IQmath/IQmath_fpu32.lib<IQ24div.obj>": compatibility cannot be
   determined
warning #16002-D: build attribute vendor section TI missing in
   "../lib/IQmath/IQmath_fpu32.lib<IQ24sinPU.obj>": compatibility cannot be
   determined
warning #16002-D: build attribute vendor section TI missing in
   "../lib/IQmath/IQmath_fpu32.lib<IQ29sinPU.obj>": compatibility cannot be
   determined
warning #16002-D: build attribute vendor section TI missing in
   "../lib/IQmath/IQmath_fpu32.lib<IQ30cosPU.obj>": compatibility cannot be
   determined
warning #16002-D: build attribute vendor section TI missing in
   "../lib/IQmath/IQmath_fpu32.lib<IQ30div.obj>": compatibility cannot be
   determined
warning #16002-D: build attribute vendor section TI missing in
   "../lib/IQmath/IQmath_fpu32.lib<IQ30sinPU.obj>": compatibility cannot be
   determined
warning #16002-D: build attribute vendor section TI missing in
   "../lib/IQmath/IQmath_fpu32.lib<IQmathTables.obj>": compatibility cannot be
   determined
warning #10247-D: creating output section ".text" without a SECTIONS
   specification
warning #10247-D: creating output section ".econst" without a SECTIONS
   specification
warning #10247-D: creating output section ".cinit" without a SECTIONS
   specification
warning #10247-D: creating output section ".ebss" without a SECTIONS
   specification
warning #10247-D: creating output section ".switch" without a SECTIONS
   specification
warning #10247-D: creating output section "codestart" without a SECTIONS
   specification
warning #10247-D: creating output section "ramfuncs" without a SECTIONS
   specification
warning #10247-D: creating output section "IQmath" without a SECTIONS
   specification
warning #10247-D: creating output section "IQmathTables" without a SECTIONS
   specification
warning #10247-D: creating output section ".cio" without a SECTIONS
   specification
error #10265: no valid memory range(NULL) available for placement of ".text"
error #10099-D: program will not fit into available memory.  placement with
   alignment/blocking fails for section ".text" size 0xa331 page 0
error #10099-D: program will not fit into available memory.  run placement with
   alignment/blocking fails for section ".ebss" size 0x451b page 1.  Available
   memory ranges:
   DEV_EMU      size: 0x180        unused: 0xb0         max hole: 0xb0
   CSM          size: 0x10         unused: 0x0          max hole: 0x0
   XINTF        size: 0x20         unused: 0x2          max hole: 0x2
   CPU_TIMER0   size: 0x8          unused: 0x0          max hole: 0x0
   CPU_TIMER1   size: 0x8          unused: 0x0          max hole: 0x0
   CPU_TIMER2   size: 0x8          unused: 0x0          max hole: 0x0
   PIE_CTRL     size: 0x20         unused: 0x6          max hole: 0x6
   DMA          size: 0x200        unused: 0x120        max hole: 0x120
   MCBSPA       size: 0x40         unused: 0x1b         max hole: 0x1b
   MCBSPB       size: 0x40         unused: 0x1b         max hole: 0x1b
   ECANA        size: 0x40         unused: 0xc          max hole: 0xc
   ECANA_LAM    size: 0x40         unused: 0x0          max hole: 0x0
   ECANA_MOTS   size: 0x40         unused: 0x0          max hole: 0x0
   ECANA_MOTO   size: 0x40         unused: 0x0          max hole: 0x0
   ECANA_MBOX   size: 0x100        unused: 0x0          max hole: 0x0
   ECANB        size: 0x40         unused: 0xc          max hole: 0xc
   ECANB_LAM    size: 0x40         unused: 0x0          max hole: 0x0
   ECANB_MOTS   size: 0x40         unused: 0x0          max hole: 0x0
   ECANB_MOTO   size: 0x40         unused: 0x0          max hole: 0x0
   ECANB_MBOX   size: 0x100        unused: 0x0          max hole: 0x0
   EPWM9        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM1        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM2        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM3        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM4        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM5        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM6        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM7        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM8        size: 0x22         unused: 0x0          max hole: 0x0
   ECAP1        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP2        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP3        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP4        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP5        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP6        size: 0x20         unused: 0x0          max hole: 0x0
   EQEP1        size: 0x40         unused: 0x0          max hole: 0x0
   EQEP2        size: 0x40         unused: 0x0          max hole: 0x0
   EQEP3        size: 0x40         unused: 0x0          max hole: 0x0
   GPIOCTRL     size: 0x40         unused: 0x12         max hole: 0x12
   GPIODAT      size: 0x20         unused: 0x0          max hole: 0x0
   GPIOINT      size: 0x20         unused: 0x16         max hole: 0x16
   SYSTEM       size: 0x21         unused: 0x1          max hole: 0x1
   SPIA         size: 0x10         unused: 0x0          max hole: 0x0
   SCIA         size: 0x10         unused: 0x0          max hole: 0x0
   XINTRUPT     size: 0x10         unused: 0x0          max hole: 0x0
   ADC          size: 0x20         unused: 0x20         max hole: 0x20
   SCIB         size: 0x10         unused: 0x0          max hole: 0x0
   SCIC         size: 0x10         unused: 0x0          max hole: 0x0
   SPID         size: 0x10         unused: 0x0          max hole: 0x0
   I2CA         size: 0x40         unused: 0x1e         max hole: 0x1e
   CSM_PWL      size: 0x8          unused: 0x0          max hole: 0x0       
error #10099-D: program will not fit into available memory.  placement with
   alignment/blocking fails for section ".econst" size 0x396b page 0.
   Available memory ranges:

error #10099-D: program will not fit into available memory.  placement with
   alignment/blocking fails for section "IQmathTables" size 0xb50 page 0.
   Available memory ranges:

error #10099-D: program will not fit into available memory.  placement with
   alignment/blocking fails for section ".cinit" size 0x6d2 page 0.  Available
   memory ranges:

error #10099-D: program will not fit into available memory.  run placement with
   alignment/blocking fails for section ".stack" size 0x400 page 1.  Available
   memory ranges:
   DEV_EMU      size: 0x180        unused: 0xb0         max hole: 0xb0
   CSM          size: 0x10         unused: 0x0          max hole: 0x0
   XINTF        size: 0x20         unused: 0x2          max hole: 0x2
   CPU_TIMER0   size: 0x8          unused: 0x0          max hole: 0x0
   CPU_TIMER1   size: 0x8          unused: 0x0          max hole: 0x0
   CPU_TIMER2   size: 0x8          unused: 0x0          max hole: 0x0
   PIE_CTRL     size: 0x20         unused: 0x6          max hole: 0x6
   DMA          size: 0x200        unused: 0x120        max hole: 0x120
   MCBSPA       size: 0x40         unused: 0x1b         max hole: 0x1b
   MCBSPB       size: 0x40         unused: 0x1b         max hole: 0x1b
   ECANA        size: 0x40         unused: 0xc          max hole: 0xc
   ECANA_LAM    size: 0x40         unused: 0x0          max hole: 0x0
   ECANA_MOTS   size: 0x40         unused: 0x0          max hole: 0x0
   ECANA_MOTO   size: 0x40         unused: 0x0          max hole: 0x0
   ECANA_MBOX   size: 0x100        unused: 0x0          max hole: 0x0
   ECANB        size: 0x40         unused: 0xc          max hole: 0xc
   ECANB_LAM    size: 0x40         unused: 0x0          max hole: 0x0
   ECANB_MOTS   size: 0x40         unused: 0x0          max hole: 0x0
   ECANB_MOTO   size: 0x40         unused: 0x0          max hole: 0x0
   ECANB_MBOX   size: 0x100        unused: 0x0          max hole: 0x0
   EPWM9        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM1        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM2        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM3        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM4        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM5        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM6        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM7        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM8        size: 0x22         unused: 0x0          max hole: 0x0
   ECAP1        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP2        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP3        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP4        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP5        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP6        size: 0x20         unused: 0x0          max hole: 0x0
   EQEP1        size: 0x40         unused: 0x0          max hole: 0x0
   EQEP2        size: 0x40         unused: 0x0          max hole: 0x0
   EQEP3        size: 0x40         unused: 0x0          max hole: 0x0
   GPIOCTRL     size: 0x40         unused: 0x12         max hole: 0x12
   GPIODAT      size: 0x20         unused: 0x0          max hole: 0x0
   GPIOINT      size: 0x20         unused: 0x16         max hole: 0x16
   SYSTEM       size: 0x21         unused: 0x1          max hole: 0x1
   SPIA         size: 0x10         unused: 0x0          max hole: 0x0
   SCIA         size: 0x10         unused: 0x0          max hole: 0x0
   XINTRUPT     size: 0x10         unused: 0x0          max hole: 0x0
   ADC          size: 0x20         unused: 0x20         max hole: 0x20
   SCIB         size: 0x10         unused: 0x0          max hole: 0x0
   SCIC         size: 0x10         unused: 0x0          max hole: 0x0
   SPID         size: 0x10         unused: 0x0          max hole: 0x0
   I2CA         size: 0x40         unused: 0x1e         max hole: 0x1e
   CSM_PWL      size: 0x8          unused: 0x0          max hole: 0x0       
error #10099-D: program will not fit into available memory.  placement with
   alignment/blocking fails for section "IQmath" size 0x131 page 0.  Available
   memory ranges:

error #10099-D: program will not fit into available memory.  run placement with
   alignment/blocking fails for section ".cio" size 0x120 page 1.  Available
   memory ranges:
   DEV_EMU      size: 0x180        unused: 0xb0         max hole: 0xb0
   CSM          size: 0x10         unused: 0x0          max hole: 0x0
   XINTF        size: 0x20         unused: 0x2          max hole: 0x2
   CPU_TIMER0   size: 0x8          unused: 0x0          max hole: 0x0
   CPU_TIMER1   size: 0x8          unused: 0x0          max hole: 0x0
   CPU_TIMER2   size: 0x8          unused: 0x0          max hole: 0x0
   PIE_CTRL     size: 0x20         unused: 0x6          max hole: 0x6
   DMA          size: 0x200        unused: 0x120        max hole: 0x120
   MCBSPA       size: 0x40         unused: 0x1b         max hole: 0x1b
   MCBSPB       size: 0x40         unused: 0x1b         max hole: 0x1b
   ECANA        size: 0x40         unused: 0xc          max hole: 0xc
   ECANA_LAM    size: 0x40         unused: 0x0          max hole: 0x0
   ECANA_MOTS   size: 0x40         unused: 0x0          max hole: 0x0
   ECANA_MOTO   size: 0x40         unused: 0x0          max hole: 0x0
   ECANA_MBOX   size: 0x100        unused: 0x0          max hole: 0x0
   ECANB        size: 0x40         unused: 0xc          max hole: 0xc
   ECANB_LAM    size: 0x40         unused: 0x0          max hole: 0x0
   ECANB_MOTS   size: 0x40         unused: 0x0          max hole: 0x0
   ECANB_MOTO   size: 0x40         unused: 0x0          max hole: 0x0
   ECANB_MBOX   size: 0x100        unused: 0x0          max hole: 0x0
   EPWM9        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM1        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM2        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM3        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM4        size: 0x22     
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
    unused: 0x0          max hole: 0x0
   EPWM5        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM6        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM7        size: 0x22         unused: 0x0          max hole: 0x0
   EPWM8        size: 0x22         unused: 0x0          max hole: 0x0
   ECAP1        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP2        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP3        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP4        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP5        size: 0x20         unused: 0x0          max hole: 0x0
   ECAP6        size: 0x20         unused: 0x0          max hole: 0x0
   EQEP1        size: 0x40         unused: 0x0          max hole: 0x0
   EQEP2        size: 0x40         unused: 0x0          max hole: 0x0
   EQEP3        size: 0x40         unused: 0x0          max hole: 0x0
   GPIOCTRL     size: 0x40         unused: 0x12         max hole: 0x12
   GPIODAT      size: 0x20         unused: 0x0          max hole: 0x0
   GPIOINT      size: 0x20         unused: 0x16         max hole: 0x16
   SYSTEM       size: 0x21         unused: 0x1          max hole: 0x1
   SPIA         size: 0x10         unused: 0x0          max hole: 0x0
   SCIA         size: 0x10         unused: 0x0          max hole: 0x0
   XINTRUPT     size: 0x10         unused: 0x0          max hole: 0x0
   ADC          size: 0x20         unused: 0x20         max hole: 0x20

>> Compilation failure
   SCIB         size: 0x10         unused: 0x0          max hole: 0x0
   SCIC         size: 0x10         unused: 0x0          max hole: 0x0
   SPID         size: 0x10         unused: 0x0          max hole: 0x0
   I2CA         size: 0x40         unused: 0x1e         max hole: 0x1e
   CSM_PWL      size: 0x8          unused: 0x0          max hole: 0x0       
error #10099-D: program will not fit into available memory.  placement with
   alignment/blocking fails for section ".switch" size 0xa0 page 0.  Available
   memory ranges:

error #10099-D: program will not fit into available memory.  placement with
   alignment/blocking fails for section "ramfuncs" size 0x4 page 0.  Available
   memory ranges:

error #10099-D: program will not fit into available memory.  placement with
   alignment/blocking fails for section "codestart" size 0x2 page 0.  Available
   memory ranges:

"../lib/v112/DSP2834x_headers/cmd/DSP2834x_Headers_BIOS.cmd", line 110: warning #10097:
   memory range not found: PIEVECT on page 1
"../lib/v112/DSP2834x_headers/cmd/DSP2834x_Headers_BIOS.cmd", line 110: error #10099-D:
   program will not fit into available memory.  run placement with
   alignment/blocking fails for section "PieVectTableFile" size 0x100 page 1
../../master/ELFLNK/build.c:2454:internal fatal error #10251:
   ("PieVectTableFile:DSP2834x_GlobalVariableDefs.obj")

INTERNAL ERROR: C:\ti\ccsv6\tools\compiler\ti-cgt-c2000_6.4.6\bin\lnk2000.exe had an internal inconsistency and aborted

This is caused by a defect in the compiler itself. TI Customer
Support may be able to suggest a workaround to avoid this.

Upgrading to the newest version of the compiler may fix this problem.

Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue". Include this ENTIRE error message and a
copy of the .pp file created when option --preproc_with_comment
(-ppc) is used.

gmake: *** [THDA_SYSBIOS.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Unfortunately, you have multiple problems.  This ...

    Andreas Unterberger said:
    INTERNAL ERROR: C:\ti\ccsv6\tools\compiler\ti-cgt-c2000_6.4.6\bin\lnk2000.exe had an internal inconsistency and aborted

    ... is the most interesting one.  I'd appreciate if you would send us your CCS project.  That is the most practical way to find out how this happened.

    Of your remaining problems, I think you should focus on this set first ...

    Andreas Unterberger said:
    warning #10247-D: creating output section ".text" without a SECTIONS
       specification
    warning #10247-D: creating output section ".econst" without a SECTIONS
       specification
    warning #10247-D: creating output section ".cinit" without a SECTIONS
       specification
    warning #10247-D: creating output section ".ebss" without a SECTIONS
       specification
    warning #10247-D: creating output section ".switch" without a SECTIONS
       specification
    warning #10247-D: creating output section "codestart" without a SECTIONS
       specification
    warning #10247-D: creating output section "ramfuncs" without a SECTIONS
       specification
    warning #10247-D: creating output section "IQmath" without a SECTIONS
       specification
    warning #10247-D: creating output section "IQmathTables" without a SECTIONS
       specification
    warning #10247-D: creating output section ".cio" without a SECTIONS
       specification

    That says those output sections are being created and allocated to memory without any control from you.  These sections are almost certainly going to the wrong address.  The most likely cause is a missing linker command file.  Please compare this project with the one that is most similar, but builds correctly.  Does that working project refer to yet another linker command file?  It is likely this project needs to use that file too.  I'm confident that fixing this problem will cause most of the other problems to resolve as well.

    Thanks and regards,

    -George