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/TMS320F28335: recipe for target 'build/Debug_ws200dsp/DSP2833x_DefaultIsr.obj' failed

Part Number: TMS320F28335

Tool/software: Code Composer Studio

Hi,

When I tried to build a project that was working before, I got the following errors. Any idea why this error happens? What can I check to eliminate this error?

It seems to be with the file DSP2833x_DefaultIsr.c, but I did not make any change to it. My code is version controlled by git, and I revert to the previous version which was working. But it does not work now. I doubt it is related to my settings in CCS. Not the code itself.

Please help me out.

Thanks,

**** Build of configuration Debug for project ...._DSP_GT ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O
 
Perform pre-build steps
"perl.exe" "C:/..../ws200dsp_stream/prebuild.pl"
 
Building file: "../build/Debug_ws200dsp/DSP2833x_DefaultIsr.asm"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --opt_for_speed=5 --include_path="C:/.....ws200dsp_stream/include" --include_path="C:/.....ws200dsp_stream/version_wsDCQC_GT" --include_path="C:/.....ws200dsp_stream/dmclib/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include" --advice:performance=all --define=DEBUG --define=LARGE_MODEL -g --diag_warning=225 --diag_wrap=off --display_error_number -k --asm_listing --c_src_interlist --preproc_with_compile --preproc_dependency="build/Debug_ws200dsp/DSP2833x_DefaultIsr.d_raw" --obj_directory="build/Debug_ws200dsp"  "../build/Debug_ws200dsp/DSP2833x_DefaultIsr.asm"
279 Assembly Errors, 1 Assembly Warning
 
>> Compilation failure
build/Debug_ws200dsp/subdir_rules.mk:23: recipe for target 'build/Debug_ws200dsp/DSP2833x_DefaultIsr.obj' failed
"../build/Debug_ws200dsp/DSP2833x_DefaultIsr.asm", WARNING! at line 8: [W0003] This file contains DWARF directives that can only be used in unmodified assembly files generated by the compiler; ignoring all DWARF directives
 DW$CU .dwtag  DW_TAG_compile_unit
 
"../build/Debug_ws200dsp/DSP2833x_DefaultIsr.asm", ERROR!   at line 47: [E0002] Invalid mnemonic specification
  .dwcfa 0x1d, -2
..................................................................
......................................................
"../build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.asm", ERROR!   at line 16156: [E0002] Invalid mnemonic specification
  .dwcfa 0x07, 32
 
"../build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.asm", ERROR!   at line 16157: [E0002] Invalid mnemonic specification
  .dwcfa 0x07, 33
 
"../build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.asm", ERROR!   at line 16158: [E0002] Invalid mnemonic specification
  .dwcfa 0x07, 34
 
"../build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.asm", ERROR!   at line 16159: [E0002] Invalid mnemonic specification
  .dwcfa 0x07, 35
 
"../build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.asm", ERROR!   at line 16160: [E0002] Invalid mnemonic specification
  .dwcfa 0x07, 36
 
"../build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.asm", ERROR!   at line 16161: [E0002] Invalid mnemonic specification
  .dwcfa 0x07, 37
 
"../build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.asm", ERROR!   at line 16162: [E0002] Invalid mnemonic specification
  .dwcfa 0x07, 38
 
"../build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.asm", ERROR!   at line 16163: [E0002] Invalid mnemonic specification
  .dwcfa 0x07, 39
 
"../build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.asm", ERROR!   at line 16164: [E0002] Invalid mnemonic specification
  .dwcfa 0x07, 40
 
 
Errors in Source - Assembler Aborted
gmake[1]: *** [build/Debug_wsDCQC_ISO/DSP2833x_GlobalVariableDefs.obj] Error 1
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
makefile:547: recipe for target 'all' failed
**** Build Finished ****
  • Ivan,

    It appears that CCS is misinterpreting the .asm files generated by the compiler (for source fiels DSP2833x_GlobalVariableDefs.c and DSP2833x_DefaultIsr.c) as user created assembly source files and passing it as a source file to the build. I'm not sure why that is happening though. 

    Could you try importing the project into a new workspace and try a clean build? If that does not help, please do a Rebuild of the project, save off the build log and attach it here. We may eventually need the project itself if we cannot make progress with the build log but let us start with the build log first. 

  • Hi,

    I tried to:

    (1) clean the project. The cleaning process does not pass, due to some errors that some files cannot be found.
    (2) change the workspace to a new file. The same error when building the projects.
    (3) delete all the files in the workspace and re-build. The same error.
    (4) I uninstall the CCS (Version 8.0) and re-install the latest version 8.2. No errors anymore.

    Although I do not know what happens, at least it is working now.

    Maybe it is a solution if others have the same error with mine, after other methods are exhausted.

    Thanks so much for your help this time.