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.
Tool/software: Code Composer Studio
working with this lab, I got this error when rebuilding the project to upload it into the F28335 using CCSV6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
code:
extern void InitSysCtrl(void);
#include "DSP2833x_Device.h"
void main(void)
{
unsigned long i;
InitSysCtrl();
EALLOW;
GpioCtrlRegs.GPADIR.bit.GPIO31 =1; //output for LED LD2
GpioCtrlRegs.GPBDIR.bit.GPIO34 =1; //output for LED LD3
EDIS;
GpioDataRegs.GPACLEAR.bit.GPIO31=1;
GpioDataRegs.GPBSET.bit.GPIO34=1;
while(1)
{
GpioDataRegs.GPATOGGLE.bit.GPIO31=1; //toggle LD2
GpioDataRegs.GPBTOGGLE.bit.GPIO34=1; //toggle LD3
for(i=0; i<1000000; i++); //time delay
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
**** Build of configuration Debug for project trial1 ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_ADC_cal.asm'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --advice:performance=all -g --display_error_number --diag_warning=238 --diag_wrap=off --diag_error=225, 515 --verbose_diagnostics --issue_remarks --preproc_with_compile --preproc_dependency="DSP2833x_ADC_cal.d" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_ADC_cal.asm"
[515.]
>> Compilation failure
subdir_rules.mk:7: recipe for target 'DSP2833x_ADC_cal.obj' failed
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Command-line error #616: invalid error tag in diagnostic control option:
1 catastrophic error detected in this compilation.
Compilation terminated.
gmake: *** [DSP2833x_ADC_cal.obj] Error 1
'Building file: C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_CodeStartBranch.asm'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --advice:performance=all -g --display_error_number --diag_warning=238 --diag_wrap=off --diag_error=225, 515 --verbose_diagnostics --issue_remarks --preproc_with_compile --preproc_dependency="DSP2833x_CodeStartBranch.d" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_CodeStartBranch.asm"
[515.]
>> Compilation failure
subdir_rules.mk:14: recipe for target 'DSP2833x_CodeStartBranch.obj' failed
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Command-line error #616: invalid error tag in diagnostic control option:
1 catastrophic error detected in this compilation.
Compilation terminated.
gmake: *** [DSP2833x_CodeStartBranch.obj] Error 1
'Building file: C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/source/DSP2833x_GlobalVariableDefs.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --advice:performance=all -g --display_error_number --diag_warning=238 --diag_wrap=off --diag_error=225, 515 --verbose_diagnostics --issue_remarks --preproc_with_compile --preproc_dependency="DSP2833x_GlobalVariableDefs.d" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/source/DSP2833x_GlobalVariableDefs.c"
[515.]
>> Compilation failure
subdir_rules.mk:21: recipe for target 'DSP2833x_GlobalVariableDefs.obj' failed
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Command-line error #616: invalid error tag in diagnostic control option:
1 catastrophic error detected in this compilation.
Compilation terminated.
gmake: *** [DSP2833x_GlobalVariableDefs.obj] Error 1
'Building file: C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_SysCtrl.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --advice:performance=all -g --display_error_number --diag_warning=238 --diag_wrap=off --diag_error=225, 515 --verbose_diagnostics --issue_remarks --preproc_with_compile --preproc_dependency="DSP2833x_SysCtrl.d" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_SysCtrl.c"
[515.]
>> Compilation failure
subdir_rules.mk:28: recipe for target 'DSP2833x_SysCtrl.obj' failed
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Command-line error #616: invalid error tag in diagnostic control option:
1 catastrophic error detected in this compilation.
Compilation terminated.
gmake: *** [DSP2833x_SysCtrl.obj] Error 1
'Building file: C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_usDelay.asm'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --advice:performance=all -g --display_error_number --diag_warning=238 --diag_wrap=off --diag_error=225, 515 --verbose_diagnostics --issue_remarks --preproc_with_compile --preproc_dependency="DSP2833x_usDelay.d" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_usDelay.asm"
[515.]
>> Compilation failure
subdir_rules.mk:35: recipe for target 'DSP2833x_usDelay.obj' failed
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Command-line error #616: invalid error tag in diagnostic control option:
1 catastrophic error detected in this compilation.
Compilation terminated.
gmake: *** [DSP2833x_usDelay.obj] Error 1
'Building file: ../trial1.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --advice:performance=all -g --display_error_number --diag_warning=238 --diag_wrap=off --diag_error=225, 515 --verbose_diagnostics --issue_remarks --preproc_with_compile --preproc_dependency="trial1.d" "../trial1.c"
[515.]
>> Compilation failure
subdir_rules.mk:42: recipe for target 'trial1.obj' failed
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Command-line error #616: invalid error tag in diagnostic control option:
1 catastrophic error detected in this compilation.
Compilation terminated.
gmake: *** [trial1.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
any thoughts?
Hi,
The tutorial uses an older version of CCS than yours, and points to example files that were created for that release. In this case I strongly suggest you to try and use a newer version of controlSUITE or, if you have already installed it, point to a newer version of the device support.
The latest controlSUITE has up to version 142:
I also strongly suggest you to use the compiler version used by the original project - this will help overcome any possible problems.
For details on how to install a different version, please check the following references:
http://processors.wiki.ti.com/index.php/Updating_CCSv6
http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection
Hope this helps,
Rafael