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/PROCESSOR-SDK-C6748: Advice needed regarding upgrading from SDK C6713 to SDK-C6748

Part Number: PROCESSOR-SDK-C6748


Tool/software: Code Composer Studio

Hi

I work for a University where we run a DSP course using a 100 or so the spectrum digital 6713 units to teach our students. As part of our upgrade to Windows 10 we have found that the 6713 does not work with CCS V8 as the DSP/BIOS tool seems to be failing at the compilation stage. 

It was suggested to one of my colleagues to upgrade to the C6748 kits so we purchased a kit recently for evaluation. It seems that it is packaged with CCS V5 so one of my questions is will the 6748 work with CCS V8 and thus windows 10?

Do you have some support we can use to quickly upgrade our lab/lectures for the students. We need to know how its going to affect the lecture notes and laboratory assignments. 

thanks in anticipation

Danny Harvey 

Technical Services manager 

Department of Electrical Engineering

Imperial College

  • Hi David,
    From strictly a tools perspective, the C6713 (in addition to the C6748) is supported by CCSv8 (which supports Windows 10).

    What are the DSP/BIOS compiler errors that you see?

    Thanks
    ki
  • Hi Kin

    I have DSP Bios 5.42.2.10 loaded, Win 10 CCS v8

    The latest set of errors whilst trying a dsk6713 are:


    [E0003] Invalid octal constant specified dsp_bios_cfg.s62 /RTDSP/Debug line 12 C/C++ Problem
    gmake: *** [dsp_bios_cfg.obj] Error 1 RTDSP    C/C++ Problem
    gmake: Target 'all' not remade because of errors. RTDSP    C/C++ Problem

    if I take a look in dsp_bios_cfg.s62 there is a line  

    .copy confbeg.s62 that seems to be throwing the error.

    please note whilst trying to fix this I followed this post

    https://e2e.ti.com/support/processors/f/791/t/686202?CCS-TMS320C6711D-Building-a-new-project-using-DSP-BIOS-v-5-42-01-09-with-CCS-v8-0-0

    by following this instruction:

    The workaround I found is to modify the c6x1x.cdb (or intermediate .s62) to change avgformat :: "%.2f" to avgformat :: "%g".

    that enabled my to get it one step further to the current set of faults.

    other issues - it keeps popping up a window asking me to Enable XDC Tools?

    I then type in the box provided c:\ti\xdctools_3_50_07_20_core

    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    Just to put you in the picture, we run a DSP course for about 100 degree students every year here at Imperial College using the Spectrum DSK6713. In order for out lab assignments to work the set up must be seamless - we cannot have the students fixing faults in configuration files, or filling in pointless pop up windows, it would look extremely unprofessional.

    By Christmas I have to get either the 6713 running  or the 6748 (with all the lab assignment sheets edited for whatever CCS/DSP board we end up using) or if I decide to ditch TI completely then some other DSP that gives good support. In any eventuality we will be moving on to some hardware that is more recent such as your 6748 units (or other supplier).

    My decision to stay with TI is not helped by reading this, pointing me to go look at Spectrum Digitals web site for support (which is still on CCS v 3.1!!):

    RTOS: TI-RTOS Forum is now Read-only

    Guru 71700 points
    ToddMullanix

    Tool/software: TI-RTOS

    The TI-RTOS forum is now closed to new posts.  Since TI-RTOS is now included in the majority of TI's Software Development Kits (SDKs) for MCUs and Processors, the TI-RTOS questions are now routed through the device forums (whose teams produce those SDKs) instead of having a dedicated TI-RTOS forum. This allows for more device-specific answers and will lessen the chance of having to move the thread to another forum.

    When you do create a new thread, please specify the device you are using in order to get a list of the relevant device forum destinations, so you can pick the most appropriate one.

    Please note that TI-RTOS engineers are still involved in answering threads.

     

    Considering the pressure I am under, and the amount we have invested in TI (and may do in the future hardware upgrade) I would appreciate some support in getting everything set up seamlessly.

    Is it possible for you to send some one over to Imperial College in the UK to help sort this out?

    Regards

    Danny Harvey

    Technical Services Manager

    Department Of Electrical Engineering

    Imperial College

     

  • Hi Daniel,

    Can you try using XDCtools 3_23_05_61? You can download it here: software-dl.ti.com/.../index_FDS.html

    Install it in c:\ti and restart CCS. CCS will location it and ask you to install it. Then have you DSP/BIOS project use this version.

    Todd
  • I have just tried that and get same errors (see screenshot) - although regarding your last statement -  do I have to do anything specific to point the project toward the XDCtools 3_23_05_61?

  • Daniel,

    Can you do a clean and then build? Then copy/paste the entire build output to a file and attach the file (please don't copy/paste the contents into a reply...it makes it harder to read). There is some information above the error you posted that I'm interested in.

    Todd
  • Hi Todd

    I have done this - output from console in text file below. Note, the second time I build, it gives different errors which now includes the error that can be fixed by switching  th %2f in

     .asg "%.2f inst", _avgformat

    to %g

    as detailed in this thread:

    e2e.ti.com/.../2529775

    Note as this code will be used by students in a computing lab I cant really have them filtering through code and fixing bugs.

    I have included the second text file from the second build too.

    thanks for the help btw!

    Danny

    **** Build of configuration Debug for project RTDSP ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "../dsp_bios_.tcf"
    Invoking: TConf
    "C:/ti/bios_5_42_02_10/xdctools/tconf" -b -Dconfig.importPath="C:/ti/bios_5_42_02_10/packages;" "../dsp_bios_.tcf"
    Finished building: "../dsp_bios_.tcf"
     
    Building file: "dsp_bios_cfg.s??"
    Invoking: C6000 Compiler
    "C:/ti/ccsv8/tools/compiler/c6000_7.4.24/bin/cl6x" -mv6200 --abi=coffabi -g --include_path="Y:/DepartmentTechnicalServices/CCS/DansRTDSPlab/lab2try4/RTDSP" --include_path="C:/ti/ccsv8/C6000/dsk6713/include" --include_path="C:/ti/ccsv8/C6000/csl/include" --include_path="C:/ti/ccsv8/tools/compiler/c6000_7.4.24/include" --include_path="Y:/DepartmentTechnicalServices/CCS/DansRTDSPlab/lab2try4/RTDSP/Debug" --include_path="C:/ti/bios_5_42_02_10/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_02_10/packages/ti/rtdx/include/c6000" --define="_DEBUG" --define="CHIP_6713" --diag_wrap=off --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="dsp_bios_cfg.d_raw"  "dsp_bios_cfg.s??"
    4 Assembly Errors, No Assembly Warnings
     
    >> Compilation failure
    subdir_rules.mk:26: recipe for target 'dsp_bios_cfg.obj' failed
    "dsp_bios_cfg.s62", ERROR!   at line 885: [E0003] Invalid constant specification
    		SWI_Obj 1, KNL_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
     
    "dsp_bios_cfg.s62", REMARK   at line 885: [R0001] After symbol substitution the line became:
    		SWI_Obj 1, KNL_swi, 0, _KNL_run, 00H, 00H, 00H, 00H, 01H, 00H, 02H, %g inst, %g inst, %.2f inst, _filtmaxmult, _filtsummult, _unittype
     
    "dsp_bios_cfg.s62", ERROR!   at line 918: [E0003] Invalid constant specification
    		TSK_Obj 1, TSK_idle, 0, _iFXN, _iARG0, _iARG1, _iARG2, _iARG3, _iARG4, _iARG5, _iARG6, _iARG7, _iAUTOSTK, _iMANSTK, _iSTKSZ, _iSTKSEG, _iPRI, _iENV, _iEXITFLAG, _iUSETSKNAME, _iSTATREG, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
     
    "dsp_bios_cfg.s62", REMARK   at line 918: [R0001] After symbol substitution the line became:
    		TSK_Obj 1, TSK_idle, 0, IDL_F_loop, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 01H, null, 0400H, IRAM, 00H, 00H, 01H, 00H, 00H, 00H, 02H, %g inst, %g inst, %.2f inst, _filtmaxmult, _filtsummult, _unittype
     
    "dsp_bios_cfg.s62", ERROR!   at line 975: [E0003] Invalid constant specification
    		STS_Obj 1, IDL_busyObj, 0, _prev, _filter, _maxformat, _sumformat, _avgformat, _op, _uType, _iA, _iB, _iC, _prevlow
     
    "dsp_bios_cfg.s62", REMARK   at line 975: [R0001] After symbol substitution the line became:
    		STS_Obj 1, IDL_busyObj, 0, 00H, 01H, %g, %g, %.2f, _op, _uType, _iA, _iB, _iC, _prevlow
     
    "confend.s62", ERROR!   at line 12: [E0003] Invalid octal constant specified
    	        VERS_create VERS$DATE, VERS$CDB, VERS$TREE, VERS$CDBRELATIVEPATH
     
    "confend.s62", REMARK   at line 12: [R0001] After symbol substitution the line became:
    	        VERS_create Tue Oct 02 09:00:24 2018, VERS$CDB, VERS$TREE, VERS$CDBRELATIVEPATH
     
     
    Errors in Source - Assembler Aborted
    gmake: *** [dsp_bios_cfg.obj] Error 1
    Building file: "dsp_bios_cfg_c.c"
    Invoking: C6000 Compiler
    "C:/ti/ccsv8/tools/compiler/c6000_7.4.24/bin/cl6x" -mv6200 --abi=coffabi -g --include_path="Y:/DepartmentTechnicalServices/CCS/DansRTDSPlab/lab2try4/RTDSP" --include_path="C:/ti/ccsv8/C6000/dsk6713/include" --include_path="C:/ti/ccsv8/C6000/csl/include" --include_path="C:/ti/ccsv8/tools/compiler/c6000_7.4.24/include" --include_path="Y:/DepartmentTechnicalServices/CCS/DansRTDSPlab/lab2try4/RTDSP/Debug" --include_path="C:/ti/bios_5_42_02_10/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_02_10/packages/ti/rtdx/include/c6000" --define="_DEBUG" --define="CHIP_6713" --diag_wrap=off --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="dsp_bios_cfg_c.d_raw"  "dsp_bios_cfg_c.c"
    Finished building: "dsp_bios_cfg_c.c"
     
    Building file: "../sine.c"
    Invoking: C6000 Compiler
    "C:/ti/ccsv8/tools/compiler/c6000_7.4.24/bin/cl6x" -mv6200 --abi=coffabi -g --include_path="Y:/DepartmentTechnicalServices/CCS/DansRTDSPlab/lab2try4/RTDSP" --include_path="C:/ti/ccsv8/C6000/dsk6713/include" --include_path="C:/ti/ccsv8/C6000/csl/include" --include_path="C:/ti/ccsv8/tools/compiler/c6000_7.4.24/include" --include_path="Y:/DepartmentTechnicalServices/CCS/DansRTDSPlab/lab2try4/RTDSP/Debug" --include_path="C:/ti/bios_5_42_02_10/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_02_10/packages/ti/rtdx/include/c6000" --define="_DEBUG" --define="CHIP_6713" --diag_wrap=off --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="sine.d_raw"  "../sine.c"
    Finished building: "../sine.c"
     
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****

    **** Build of configuration Debug for project RTDSP ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "dsp_bios_cfg.s62"
    Invoking: C6000 Compiler
    "C:/ti/ccsv8/tools/compiler/c6000_7.4.24/bin/cl6x" -mv6200 --abi=coffabi -g --include_path="Y:/DepartmentTechnicalServices/CCS/DansRTDSPlab/lab2try4/RTDSP" --include_path="C:/ti/ccsv8/C6000/dsk6713/include" --include_path="C:/ti/ccsv8/C6000/csl/include" --include_path="C:/ti/ccsv8/tools/compiler/c6000_7.4.24/include" --include_path="Y:/DepartmentTechnicalServices/CCS/DansRTDSPlab/lab2try4/RTDSP/Debug" --include_path="C:/ti/bios_5_42_02_10/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_02_10/packages/ti/rtdx/include/c6000" --define="_DEBUG" --define="CHIP_6713" --diag_wrap=off --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="dsp_bios_cfg.d_raw"  "dsp_bios_cfg.s62"
    4 Assembly Errors, No Assembly Warnings
     
    >> Compilation failure
    subdir_rules.mk:26: recipe for target 'dsp_bios_cfg.obj' failed
    "dsp_bios_cfg.s62", ERROR!   at line 885: [E0003] Invalid constant specification
    		SWI_Obj 1, KNL_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
     
    "dsp_bios_cfg.s62", REMARK   at line 885: [R0001] After symbol substitution the line became:
    		SWI_Obj 1, KNL_swi, 0, _KNL_run, 00H, 00H, 00H, 00H, 01H, 00H, 02H, %g inst, %g inst, %.2f inst, _filtmaxmult, _filtsummult, _unittype
     
    "dsp_bios_cfg.s62", ERROR!   at line 918: [E0003] Invalid constant specification
    		TSK_Obj 1, TSK_idle, 0, _iFXN, _iARG0, _iARG1, _iARG2, _iARG3, _iARG4, _iARG5, _iARG6, _iARG7, _iAUTOSTK, _iMANSTK, _iSTKSZ, _iSTKSEG, _iPRI, _iENV, _iEXITFLAG, _iUSETSKNAME, _iSTATREG, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
     
    "dsp_bios_cfg.s62", REMARK   at line 918: [R0001] After symbol substitution the line became:
    		TSK_Obj 1, TSK_idle, 0, IDL_F_loop, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 01H, null, 0400H, IRAM, 00H, 00H, 01H, 00H, 00H, 00H, 02H, %g inst, %g inst, %.2f inst, _filtmaxmult, _filtsummult, _unittype
     
    "dsp_bios_cfg.s62", ERROR!   at line 975: [E0003] Invalid constant specification
    		STS_Obj 1, IDL_busyObj, 0, _prev, _filter, _maxformat, _sumformat, _avgformat, _op, _uType, _iA, _iB, _iC, _prevlow
     
    "dsp_bios_cfg.s62", REMARK   at line 975: [R0001] After symbol substitution the line became:
    		STS_Obj 1, IDL_busyObj, 0, 00H, 01H, %g, %g, %.2f, _op, _uType, _iA, _iB, _iC, _prevlow
     
    "confend.s62", ERROR!   at line 12: [E0003] Invalid octal constant specified
    	        VERS_create VERS$DATE, VERS$CDB, VERS$TREE, VERS$CDBRELATIVEPATH
     
    "confend.s62", REMARK   at line 12: [R0001] After symbol substitution the line became:
    	        VERS_create Tue Oct 02 09:00:24 2018, VERS$CDB, VERS$TREE, VERS$CDBRELATIVEPATH
     
     
    Errors in Source - Assembler Aborted
    gmake: *** [dsp_bios_cfg.obj] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • Daniel,

    Which version of the compiler are you using?  If you are on 7.4.24 try using 7.4.23 or earlier.  See thread below for details.

    Judah

  • Hi Juda

    That has sorted the problem. Thank you very much! I can now compile code onto the DSK6713. It does have one more problem though - When I pause the 6713 its trying to locate C source code:

    I can fix this by putting the source code in the project directory, but would rather it be in another folder - how can I set this in my project/properties?

    thanks

    Danny

  • Hi Daniel,

    That's more of a CCS question. I'm going to mark this thread as resolved. Can you open a new thread (also in the CCS forum) regarding the source code discovery options?

    Todd