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.

Compiler/TMS320F28379D: Some .obj and .d files are not found

Part Number: TMS320F28379D

Tool/software: TI C/C++ Compiler

Hello there,

Current situation:
On a project (which i have already build several times) i now get messages, that some .obj and .d Files can´t be found.
I don´t really have an idea how to address this, since at least .obj Files are at the stage of linking - so the compiler has probably
run through? I don´t know what .d Files are.
Are there suggestions?
I found this, but i don´t know what the "FileRelay.cmd" File is, where to find it and if it applies to my case...
e2e.ti.com/.../53341

The background:
this morning after holiday i faced problems when trying to start the debugger which i couldn´t resolve.
Also i noticed that CCS started up with showing an "Eclipse Mars" screen. That was different to when i left.
After a while i reinstalled code composer studio.
Then i had the message the project was build with a different compiler than installed.
Even after changing to an installed compiler, it didn´t work. I read to reimport the project to the
workspace.
So i exportet it, deletet the original folder in the workspace and importet the previously exportet.
Now i have the above describted situation.

best regards!

  • Hm... i think that none of the classes are build and .obj files are created.
    The debug folder dosn´t contain ANY obj. Files...

    I don´t know if it is important, the makefile (created automatically) is

    ################################################################################
    # Automatically-generated file. Do not edit!
    ################################################################################
    
    SHELL = cmd.exe
    
    CG_TOOL_ROOT := C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.6.LTS
    
    GEN_OPTS__FLAG := 
    GEN_CMDS__FLAG := 
    
    ORDERED_OBJS += \
    "./F2837xD_Adc.obj" \
    "./F2837xD_CodeStartBranch.obj" \
    "./F2837xD_CpuTimers.obj" \
    "./F2837xD_DBGIER.obj" \
    "./F2837xD_DefaultISR.obj" \
    "./F2837xD_Dma.obj" \
    "./F2837xD_ECap.obj" \
    "./F2837xD_EPwm.obj" \
    "./F2837xD_EQep.obj" \
    "./F2837xD_Emif.obj" \
    "./F2837xD_GlobalVariableDefs.obj" \
    "./F2837xD_Gpio.obj" \
    "./F2837xD_I2C.obj" \
    "./F2837xD_Ipc.obj" \
    "./F2837xD_Ipc_Driver.obj" \
    "./F2837xD_Ipc_Driver_Lite.obj" \
    "./F2837xD_Ipc_Driver_Util.obj" \
    "./F2837xD_Mcbsp.obj" \
    "./F2837xD_PieCtrl.obj" \
    "./F2837xD_PieVect.obj" \
    "./F2837xD_Sci.obj" \
    "./F2837xD_Spi.obj" \
    "./F2837xD_SysCtrl.obj" \
    "./F2837xD_TempSensorConv.obj" \
    "./F2837xD_Upp.obj" \
    "./F2837xD_sci_io.obj" \
    "./F2837xD_sdfm_drivers.obj" \
    "./F2837xD_struct.obj" \
    "./F2837xD_usDelay.obj" \
    "./main.obj" \
    "./Classes_ALGO/AvrgClass.obj" \
    "./Classes_ALGO/DcLinkCntrl.obj" \
    "./Classes_ALGO/OnePhaseBase.obj" \
    "./Classes_ALGO/OnePhsSysInput.obj" \
    "./Classes_ALGO/RmsClass.obj" \
    "./Classes_ALGO/SysCommons.obj" \
    "./Classes_ALGO/ThreePhaseBase.obj" \
    "./Classes_ALGO/ThreePhsSysInput.obj" \
    "./Classes_ALGO/ThreePhsSysOutput.obj" \
    "./Classes_ALGO/Transform.obj" \
    "./Classes_IO/ADCSource.obj" \
    "./Classes_IO/DACSink.obj" \
    "./Classes_IO/EEPROM24xx04.obj" \
    "./Classes_IO/EXTADC.obj" \
    "./Classes_IO/EXTADCMAX11605.obj" \
    "./Classes_IO/GPIO.obj" \
    "./Classes_IO/IOExpander.obj" \
    "./Classes_IO/ModBusRAMdeco.obj" \
    "./Classes_IO/PWMsink.obj" \
    "./Classes_IO/UARTsrcSnk.obj" \
    "./Classes_IO/UselessClass.obj" \
    "./Classes_IO/adc.obj" \
    "./Classes_IO/dac.obj" \
    "./Classes_IO/serialUART.obj" \
    "../2837x_FLASH_lnk_cpu1.cmd" \
    "C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/cmd/F2837xD_Headers_nonBIOS_cpu1.cmd" \
    $(GEN_CMDS__FLAG) \
    -llibc.a \
    
    -include ../makefile.init
    
    RM := DEL /F
    RMDIR := RMDIR /S/Q
    
    # All of the sources participating in the build are defined here
    -include sources.mk
    -include subdir_vars.mk
    -include Classes_ALGO/subdir_vars.mk
    -include Classes_IO/subdir_vars.mk
    -include subdir_rules.mk
    -include Classes_ALGO/subdir_rules.mk
    -include Classes_IO/subdir_rules.mk
    -include objects.mk
    
    ifneq ($(MAKECMDGOALS),clean)
    ifneq ($(strip $(S_DEPS)),)
    -include $(S_DEPS)
    endif
    ifneq ($(strip $(S_UPPER_DEPS)),)
    -include $(S_UPPER_DEPS)
    endif
    ifneq ($(strip $(S62_DEPS)),)
    -include $(S62_DEPS)
    endif
    ifneq ($(strip $(C64_DEPS)),)
    -include $(C64_DEPS)
    endif
    ifneq ($(strip $(ASM_DEPS)),)
    -include $(ASM_DEPS)
    endif
    ifneq ($(strip $(CC_DEPS)),)
    -include $(CC_DEPS)
    endif
    ifneq ($(strip $(SV7A_DEPS)),)
    -include $(SV7A_DEPS)
    endif
    ifneq ($(strip $(S55_DEPS)),)
    -include $(S55_DEPS)
    endif
    ifneq ($(strip $(C67_DEPS)),)
    -include $(C67_DEPS)
    endif
    ifneq ($(strip $(CLA_DEPS)),)
    -include $(CLA_DEPS)
    endif
    ifneq ($(strip $(C??_DEPS)),)
    -include $(C??_DEPS)
    endif
    ifneq ($(strip $(CPP_DEPS)),)
    -include $(CPP_DEPS)
    endif
    ifneq ($(strip $(S??_DEPS)),)
    -include $(S??_DEPS)
    endif
    ifneq ($(strip $(C_DEPS)),)
    -include $(C_DEPS)
    endif
    ifneq ($(strip $(C62_DEPS)),)
    -include $(C62_DEPS)
    endif
    ifneq ($(strip $(CXX_DEPS)),)
    -include $(CXX_DEPS)
    endif
    ifneq ($(strip $(C++_DEPS)),)
    -include $(C++_DEPS)
    endif
    ifneq ($(strip $(ASM_UPPER_DEPS)),)
    -include $(ASM_UPPER_DEPS)
    endif
    ifneq ($(strip $(K_DEPS)),)
    -include $(K_DEPS)
    endif
    ifneq ($(strip $(C43_DEPS)),)
    -include $(C43_DEPS)
    endif
    ifneq ($(strip $(INO_DEPS)),)
    -include $(INO_DEPS)
    endif
    ifneq ($(strip $(S67_DEPS)),)
    -include $(S67_DEPS)
    endif
    ifneq ($(strip $(SA_DEPS)),)
    -include $(SA_DEPS)
    endif
    ifneq ($(strip $(S43_DEPS)),)
    -include $(S43_DEPS)
    endif
    ifneq ($(strip $(OPT_DEPS)),)
    -include $(OPT_DEPS)
    endif
    ifneq ($(strip $(PDE_DEPS)),)
    -include $(PDE_DEPS)
    endif
    ifneq ($(strip $(S64_DEPS)),)
    -include $(S64_DEPS)
    endif
    ifneq ($(strip $(C_UPPER_DEPS)),)
    -include $(C_UPPER_DEPS)
    endif
    ifneq ($(strip $(C55_DEPS)),)
    -include $(C55_DEPS)
    endif
    endif
    
    -include ../makefile.defs
    
    # Add inputs and outputs from these tool invocations to the build variables 
    EXE_OUTPUTS += \
    MSC_C_CPU_0.out \
    
    EXE_OUTPUTS__QUOTED += \
    "MSC_C_CPU_0.out" \
    
    BIN_OUTPUTS += \
    MSC_C_CPU_0.hex \
    
    BIN_OUTPUTS__QUOTED += \
    "MSC_C_CPU_0.hex" \
    
    
    # All Target
    all: MSC_C_CPU_0.out secondary-outputs
    
    dependents:
    	-cd C:/ProjekteJustus/MSC/uController/WorkspacesDoubleCore/MSC_C_CPU_1/Debug && $(MAKE) clean all
    
    # Tool invocations
    MSC_C_CPU_0.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS) C:/ProjekteJustus/MSC/uController/WorkspacesDoubleCore/MSC_C_CPU_1/Debug/MSC_C_CPU_1.out
    	@echo 'Building target: $@'
    	@echo 'Invoking: C2000 Linker'
    	"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.6.LTS/bin/cl2000" -v28 -ml -mt --tmu_support=tmu0 --float_support=fpu32 -O2 --fp_mode=relaxed --advice:performance=all -g --define=CPU1 --define=_FLASH --define=_LAUNCHXL_F28379D --display_error_number --diag_warning=225 --diag_wrap=off -z -m"MSC_C_CPU_0.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.6.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.6.LTS/include" --reread_libs --display_error_number --diag_wrap=off --xml_link_info="MSC_C_CPU_0_linkInfo.xml" --rom_model -o "MSC_C_CPU_0.out" $(ORDERED_OBJS)
    	@echo 'Finished building target: $@'
    	@echo ' '
    
    MSC_C_CPU_0.hex: $(EXE_OUTPUTS)
    	@echo 'Invoking: C2000 Hex Utility'
    	"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.6.LTS/bin/hex2000" --intel --binary -o "MSC_C_CPU_0.hex" $(EXE_OUTPUTS__QUOTED)
    	@echo 'Finished building: $@'
    	@echo ' '
    
    # Other Targets
    clean:
    	-$(RM) $(EXE_OUTPUTS__QUOTED)$(BIN_OUTPUTS__QUOTED)
    	-$(RM) "main.d" "Classes_ALGO\AvrgClass.d" "Classes_ALGO\DcLinkCntrl.d" "Classes_ALGO\OnePhaseBase.d" "Classes_ALGO\OnePhsSysInput.d" "Classes_ALGO\RmsClass.d" "Classes_ALGO\SysCommons.d" "Classes_ALGO\ThreePhaseBase.d" "Classes_ALGO\ThreePhsSysInput.d" "Classes_ALGO\ThreePhsSysOutput.d" "Classes_ALGO\Transform.d" "Classes_IO\ADCSource.d" "Classes_IO\DACSink.d" "Classes_IO\EEPROM24xx04.d" "Classes_IO\EXTADC.d" "Classes_IO\EXTADCMAX11605.d" "Classes_IO\GPIO.d" "Classes_IO\IOExpander.d" "Classes_IO\ModBusRAMdeco.d" "Classes_IO\PWMsink.d" "Classes_IO\UARTsrcSnk.d" "Classes_IO\UselessClass.d" 
    	-$(RM) "F2837xD_Adc.d" "F2837xD_CpuTimers.d" "F2837xD_DefaultISR.d" "F2837xD_Dma.d" "F2837xD_ECap.d" "F2837xD_EPwm.d" "F2837xD_EQep.d" "F2837xD_Emif.d" "F2837xD_GlobalVariableDefs.d" "F2837xD_Gpio.d" "F2837xD_I2C.d" "F2837xD_Ipc.d" "F2837xD_Ipc_Driver.d" "F2837xD_Ipc_Driver_Lite.d" "F2837xD_Ipc_Driver_Util.d" "F2837xD_Mcbsp.d" "F2837xD_PieCtrl.d" "F2837xD_PieVect.d" "F2837xD_Sci.d" "F2837xD_Spi.d" "F2837xD_SysCtrl.d" "F2837xD_TempSensorConv.d" "F2837xD_Upp.d" "F2837xD_sci_io.d" "F2837xD_sdfm_drivers.d" "F2837xD_struct.d" "Classes_IO\adc.d" "Classes_IO\dac.d" "Classes_IO\serialUART.d" 
    	-$(RM) "F2837xD_Adc.obj" "F2837xD_CodeStartBranch.obj" "F2837xD_CpuTimers.obj" "F2837xD_DBGIER.obj" "F2837xD_DefaultISR.obj" "F2837xD_Dma.obj" "F2837xD_ECap.obj" "F2837xD_EPwm.obj" "F2837xD_EQep.obj" "F2837xD_Emif.obj" "F2837xD_GlobalVariableDefs.obj" "F2837xD_Gpio.obj" "F2837xD_I2C.obj" "F2837xD_Ipc.obj" "F2837xD_Ipc_Driver.obj" "F2837xD_Ipc_Driver_Lite.obj" "F2837xD_Ipc_Driver_Util.obj" "F2837xD_Mcbsp.obj" "F2837xD_PieCtrl.obj" "F2837xD_PieVect.obj" "F2837xD_Sci.obj" "F2837xD_Spi.obj" "F2837xD_SysCtrl.obj" "F2837xD_TempSensorConv.obj" "F2837xD_Upp.obj" "F2837xD_sci_io.obj" "F2837xD_sdfm_drivers.obj" "F2837xD_struct.obj" "F2837xD_usDelay.obj" "main.obj" "Classes_ALGO\AvrgClass.obj" "Classes_ALGO\DcLinkCntrl.obj" "Classes_ALGO\OnePhaseBase.obj" "Classes_ALGO\OnePhsSysInput.obj" "Classes_ALGO\RmsClass.obj" "Classes_ALGO\SysCommons.obj" "Classes_ALGO\ThreePhaseBase.obj" "Classes_ALGO\ThreePhsSysInput.obj" "Classes_ALGO\ThreePhsSysOutput.obj" "Classes_ALGO\Transform.obj" "Classes_IO\ADCSource.obj" 
    	-$(RM) "Classes_IO\DACSink.obj" "Classes_IO\EEPROM24xx04.obj" "Classes_IO\EXTADC.obj" "Classes_IO\EXTADCMAX11605.obj" "Classes_IO\GPIO.obj" "Classes_IO\IOExpander.obj" "Classes_IO\ModBusRAMdeco.obj" "Classes_IO\PWMsink.obj" "Classes_IO\UARTsrcSnk.obj" "Classes_IO\UselessClass.obj" "Classes_IO\adc.obj" "Classes_IO\dac.obj" "Classes_IO\serialUART.obj" 
    	-$(RM) "F2837xD_CodeStartBranch.d" "F2837xD_DBGIER.d" "F2837xD_usDelay.d" 
    	-@echo 'Finished clean'
    	-@echo ' '
    
    secondary-outputs: $(BIN_OUTPUTS)
    
    .PHONY: all clean dependents
    .SECONDARY:
    C:/ProjekteJustus/MSC/uController/WorkspacesDoubleCore/MSC_C_CPU_1/Debug/MSC_C_CPU_1.out:
    
    -include ../makefile.targets
    
    

  • user4221161 said:
    On a project (which i have already build several times) i now get messages, that some .obj and .d Files can´t be found.

    Could you please do a Rebuild of the project and save off the build log to a text file, then attach the file here?

    Also which exact version of CCS are you using?

  • I think, this thread can be closed.
    I had to go on today so i created a new project from scratch and copied the files into the
    directory.