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.

fatal error #10009: no input files



I have been struggling to import a legacy CCS v3.3 project to CCS v6 now for several days.  After running into numerous errors and reading feedback on the forum I decided it would probably be easier to simply make a new project, manually add the source files, and then manually enter my project/build settings. 

I created a new CCS project without Main.cpp.  I then "imported" the source files by selecting "file system" as the resource and pointed to my source code folder.I setup the new project/build settings the same as my V3.3 project.

Now when I attempt to build the project I get a "fatal error #10009: no input files" error when 'Invoking: C2000 Linker'.

Is there some linker path that I missed that needs to be set, how do I fix this issue?

Below are the last few output lines from the Console window

'Building file: ../Source/ADC/convert_i.c'

'Invoking: C2000 Compiler'

"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/include" --include_path="C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/Source" --advice:performance=all -g --define=DEBUG --define=LARGE_MODEL --quiet --diag_warning=225 --section_sizes=on --display_error_number --diag_suppress=179 --issue_remarks --diag_wrap=off --preproc_with_compile --preproc_dependency="Source/ADC/convert_i.pp" --obj_directory="Source/ADC" "../Source/ADC/convert_i.c"

"../Source/ADC/convert_i.c", line 265: remark #2142-D: comparison between signed and unsigned operands

FILE: Source/ADC/convert_i.obj

CODE size (bytes): 202

CONST size (bytes): 260

DATA size (bytes): 34

'Finished building: ../Source/ADC/convert_i.c'

' '

'Building file: ../Source/ADC/delayline.c'

'Invoking: C2000 Compiler'

"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/include" --include_path="C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/Source" --advice:performance=all -g --define=DEBUG --define=LARGE_MODEL --quiet --diag_warning=225 --section_sizes=on --display_error_number --diag_suppress=179 --issue_remarks --diag_wrap=off --preproc_with_compile --preproc_dependency="Source/ADC/delayline.pp" --obj_directory="Source/ADC" "../Source/ADC/delayline.c"

FILE: Source/ADC/delayline.obj

CODE size (bytes): 105

'Finished building: ../Source/ADC/delayline.c'

' '

'Building file: ../Source/ADC/iir32.asm'

'Invoking: C2000 Compiler'

"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/include" --include_path="C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/Source" --advice:performance=all -g --define=DEBUG --define=LARGE_MODEL --quiet --diag_warning=225 --section_sizes=on --display_error_number --diag_suppress=179 --issue_remarks --diag_wrap=off --preproc_with_compile --preproc_dependency="Source/ADC/iir32.pp" --obj_directory="Source/ADC" "../Source/ADC/iir32.asm"

'Finished building: ../Source/ADC/iir32.asm'

' '

'Building file: ../Source/ADC/meas_gf.c'

'Invoking: C2000 Compiler'

"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/include" --include_path="C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/Source" --advice:performance=all -g --define=DEBUG --define=LARGE_MODEL --quiet --diag_warning=225 --section_sizes=on --display_error_number --diag_suppress=179 --issue_remarks --diag_wrap=off --preproc_with_compile --preproc_dependency="Source/ADC/meas_gf.pp" --obj_directory="Source/ADC" "../Source/ADC/meas_gf.c"

FILE: Source/ADC/meas_gf.obj

CODE size (bytes): 689

CONST size (bytes): 121

DATA size (bytes): 112

'Finished building: ../Source/ADC/meas_gf.c'

' '

'Building target: C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/Debug/TradeWinds.out'

'Invoking: C2000 Linker'

"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/bin/cl2000" -v28 -ml -mt --advice:performance=all -g --define=DEBUG --define=LARGE_MODEL --quiet --diag_warning=225 --section_sizes=on --display_error_number --diag_suppress=179 --issue_remarks --diag_wrap=off -z -m""C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/DebugTradeWinds.map" --warn_sections -i"C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/Debug/Object" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/include" --reread_libs --display_error_number --issue_remarks --diag_wrap=off --xml_link_info="C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/DebugTradeWinds_linkInfo.xml" --rom_model -o "C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/Debug/TradeWinds.out" "../TradeWinds_lnk.cmd" "./Source/util/sig_gen.obj" "./Source/util/zc.obj" "./Source/ZVCross/Zvcross.obj" "./Source/System/Data_Log.obj" "./Source/System/Debounce.obj" "./Source/System/Fan.obj" "./Source/System/Mon24V.obj" "./Source/System/Relay.obj" "./Source/System/SS.obj" "./Source/System/diagnostics.obj" "./Source/System/gf_cal.obj" "./Source/System/watchdog.obj" "./Source/Param/Param.obj" "./Source/Param/Registers.obj" "./Source/Overload/Overload.obj" "./Source/Math/Filter.obj" "./Source/Math/Math.obj" "./Source/Math/Median.obj" "./Source/Math/Rand_Num.obj" "./Source/Math/average.obj" "./Source/Math/crc.obj" "./Source/Math/itoa.obj" "./Source/Math/mediansmooth.obj" "./Source/Math/sqrt.obj" "./Source/Main/dsp_init.obj" "./Source/Main/main.obj" "./Source/Main/task.obj" "./Source/Main/version.obj" "./Source/MC/Calc.obj" "./Source/MC/Damping.obj" "./Source/MC/Fire.obj" "./Source/MC/MC.obj" "./Source/MC/MCTest.obj" "./Source/MC/Notch.obj" "./Source/MC/Ramp.obj" "./Source/MC/Sample.obj" "./Source/MC/WireSeq.obj" "./Source/Lib/DSP280x_MemCopy.obj" "./Source/Fram/FRAM.obj" "./Source/Fram/FRAM_blocks.obj" "./Source/Fram/FRAM_calibration.obj" "./Source/Fram/FRAM_data.obj" "./Source/Fram/FRAM_fault_log.obj" "./Source/Fram/FRAM_test.obj" "./Source/Fram/FRAM_warranty.obj" "./Source/Fram/McBSP.obj" "./Source/Faults/Fault_Detection.obj" "./Source/Faults/faults.obj" "./Source/Drivers/CPU_Timers.obj" "./Source/Drivers/Event_Manager.obj" "./Source/Drivers/GPIO.obj" "./Source/Drivers/Interrupts.obj" "./Source/Drivers/PIE.obj" "./Source/Drivers/System_Control.obj" "./Source/Drivers/Timers.obj" "./Source/Drivers/Vectors.obj" "./Source/Drivers/XInterrupts.obj" "./Source/Device/DSP280x_CSMPasswords.obj" "./Source/Device/DSP280x_CodeStartBranch.obj" "./Source/Device/DSP280x_usDelay.obj" "./Source/Comm/Report.obj" "./Source/Comm/SCI.obj" "./Source/Comm/SPI.obj" "./Source/Comm/serial.obj" "./Source/Bypass/Bypass.obj" "./Source/Bypass/SoftClose.obj" "./Source/ADC/ADC.obj" "./Source/ADC/Meas_vi.obj" "./Source/ADC/SineTable.obj" "./Source/ADC/Temperature.obj" "./Source/ADC/ZCD.obj" "./Source/ADC/convert_i.obj" "./Source/ADC/delayline.obj" "./Source/ADC/iir32.obj" "./Source/ADC/meas_gf.obj" "../Source/Lib/rts2800_ml.lib" -l"libc.a"

fatal error #10009: no input files

>> Compilation failure

gmake: *** [C:/Accurev/ICD_TRADEWINDS/TradeWinds/CodeDSP/Project/Debug/TradeWinds.out] Error 1

gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • I don't know the cause of the error.  I see two things in that linker command worth commenting on.  

    Steve Toebe said:
    "../TradeWinds_lnk.cmd"

    What's in this file?  If it is just the MEMORY and SECTIONS directive, that's normal, don't worry about it.  But if you see anything else, then copy-n-paste that into your next post.

    This next bit comes from the very end ...

    Steve Toebe said:
    "../Source/Lib/rts2800_ml.lib" -l"libc.a"

    You specify the RTS library two times.  You only need one.  Remove rts2800_ml.lib from your project.  The syntax -l libc.a tells the linker to automatically choose the correct library for you, and to get it from the -i entry that specifies the location of the compiler tools.  Note this -i entry is auto-maintained for you by CCS.  

    I don't know that this will fix your problem.  But you need to address it anyway.

    Thanks and regards,

    -George

  • Thanks George,
    I corrected the RTC issue but I still get the #10009 error.


    The TradeWinds_lnk.cmd file contents are below, this file was setup by another developer but as far as I can see it appears to be ok

    MEMORY
    {
    PAGE 0: /* program memory */

    RAML0 : origin = 0x008000, length = 0x001000
    OTP : origin = 0x3D7800, length = 0x000400
    FLASHD : origin = 0x3E8000, length = 0x008000
    FLASHB : origin = 0x3F0000, length = 0x004000
    FLASHA : origin = 0x3F4000, length = 0x003f7e
    CRC : origin = 0x3F7F7E, length = 0x000002
    CSM_RSVD : origin = 0x3F7F80, length = 0x000076
    BEGIN : origin = 0x3F7FF6, length = 0x000002
    CSM_PWL : origin = 0x3F7FF8, length = 0x000008

    ROM : origin = 0x3FF000, length = 0x000FC0
    RESET : origin = 0x3FFFC0, length = 0x000002
    VECTORS : origin = 0x3FFFC2, length = 0x00003E

    PAGE 1 : /* data memory */

    RAMM0 : origin = 0x000000, length = 0x000400
    BOOT_RSVD : origin = 0x000400, length = 0x000080
    RAMM1 : origin = 0x000480, length = 0x000380
    RAML1 : origin = 0x009000, length = 0x001000

    DEV_EMU : origin = 0x000880, length = 0x000180
    FLASH_REGS : origin = 0x000A80, length = 0x000060
    CSM : origin = 0x000AE0, length = 0x000010
    XINTF : origin = 0x000B20, length = 0x000020
    CPU_TIMER0 : origin = 0x000C00, length = 0x000008
    CPU_TIMER1 : origin = 0x000C08, length = 0x000008
    CPU_TIMER2 : origin = 0x000C10, length = 0x000008
    PIE_REGS : origin = 0x000CE0, length = 0x000020
    PIE_VECT : origin = 0x000D00, length = 0x000100

    ECAN_A : origin = 0x006000, length = 0x000100
    ECAN_AMBOX : origin = 0x006100, length = 0x000100

    SYSTEM : origin = 0x007010, length = 0x000012
    WATCHDOG : origin = 0x007022, length = 0x00000E
    SPI_A : origin = 0x007040, length = 0x000010
    SCI_A : origin = 0x007050, length = 0x000010
    XINTRUPT : origin = 0x007070, length = 0x000010
    GPIOMUX : origin = 0x0070C0, length = 0x000020
    GPIODAT : origin = 0x0070E0, length = 0x000020
    ADC : origin = 0x007100, length = 0x000020
    EV_A : origin = 0x007400, length = 0x000040
    EV_B : origin = 0x007500, length = 0x000040
    SPI_B : origin = 0x007740, length = 0x000010
    SCI_B : origin = 0x007750, length = 0x000010
    MCBSP_A : origin = 0x007800, length = 0x000040

    RAMH0 : origin = 0x3F8000, length = 0x002000

    CSM_PWL : origin = 0x3F7FF8, length = 0x000008
    }


    SECTIONS
    {
    /* Allocate program areas: */
    .cinit : > FLASHA PAGE = 0
    .pinit : > FLASHA, PAGE = 0
    .text : > FLASHD PAGE = 0
    codestart : > BEGIN PAGE = 0
    RAM_Functions : LOAD = FLASHD,
    RUN = RAML0,
    LOAD_START(_RAM_Functions_Load_Start),
    LOAD_END(_RAM_Functions_Load_End),
    RUN_START(_RAM_Functions_Run_Start),
    PAGE = 0

    Flash_Init_Function : LOAD = FLASHD,
    RUN = RAML0,
    LOAD_START(_Flash_Init_Function_Load_Start),
    LOAD_END(_Flash_Init_Function_Load_End),
    RUN_START(_Flash_Init_Function_Run_Start),
    PAGE = 0

    csmpasswds : > CSM_PWL PAGE = 0
    csm_rsvd : > CSM_RSVD PAGE = 0

    /* Allocate uninitalized data sections: */
    .stack : > RAMM0 PAGE = 1
    .bss : > RAMH0 PAGE = 1
    .ebss : > RAMH0 PAGE = 1
    .esysmem : > RAMH0 PAGE = 1

    /* Initalized sections go in Flash. For SDFlash to program these, they
    * must be allocated to page 0 */
    .econst : > FLASHA PAGE = 0
    .switch : > FLASHA PAGE = 0

    Data_Log_Section : > RAMH0 PAGE = 1
    CRC : > CRC, PAGE = 0

    /* .reset is a standard section used by the compiler. It contains the the
    * address of the start of _c_int00 for C Code. When using the boot ROM
    * this section and the CPU vector table is not needed. Thus the default
    * type is set here to */

    .reset : > RESET, PAGE = 0, TYPE = DSECT
    vectors : > VECTORS PAGE = 0, TYPE = DSECT


    /* Allocate Peripheral Frame 0 register structures */
    Emulation_Regs_File : > DEV_EMU, PAGE = 1
    Flash_Regs_File : > FLASH_REGS, PAGE = 1
    CSM_Regs_File : > CSM, PAGE = 1
    XINTF_Regs_File : > XINTF, PAGE = 1
    CPU_Timer0_Regs_File: > CPU_TIMER0, PAGE = 1
    CPU_Timer1_Regs_File: > CPU_TIMER1, PAGE = 1
    CPU_Timer2_Regs_File: > CPU_TIMER2, PAGE = 1
    PIE_Regs_File : > PIE_REGS, PAGE = 1
    Vector_Table_File : > PIE_VECT, PAGE = 1

    /* Allocate Peripheral Frame 2 register structures */
    ECanaRegsFile : > ECAN_A, PAGE = 1
    ECanaMboxesFile : > ECAN_AMBOX PAGE = 1

    /* Allocate Peripheral Frame 1 register structures */
    Sys_Ctrl_Regs_File : > SYSTEM, PAGE = 1
    Watchdog_Regs_File : > WATCHDOG, PAGE = 1
    SPI_Regs_File : > SPI_A, PAGE = 1
    SCI_A_Regs_File : > SCI_A, PAGE = 1
    XInterrupt_Regs_File: > XINTRUPT, PAGE = 1
    GPIO_Mux_Regs_File : > GPIOMUX, PAGE = 1
    GPIO_Data_Regs_File : > GPIODAT PAGE = 1
    ADC_Regs_File : > ADC, PAGE = 1
    EVA_Regs_File : > EV_A, PAGE = 1
    EVB_Regs_File : > EV_B, PAGE = 1
    SCI_B_Regs_File : > SCI_B, PAGE = 1
    McBSP_Regs_File : > MCBSP_A, PAGE = 1

    /*** Code Security Module Register Structures ***/
    CSM_Password_File : > CSM_PWL, PAGE = 1
    }


    Steve
  • Unfortunately, we don't know what causes the problem.  The same problem occurs in this thread.  I'm not clear on how that person fixed the problem.  I think they re-created the entire CCS project from scratch.  If that doesn't work for you, then the only path forward I see is for you to send us your project so we can reproduce the problem and investigate the cause.

    Thanks and regards,

    -George