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.

TMS320C6722B: Import legacy project from C67xx to CCS 12.x

Part Number: TMS320C6722B
Hi Everyone

We have a project with CSS 3.1 which we imported according to
software-dl.ti.com/.../ccs_legacy-project-import.html And we have a problem, the project requires files such as <soc.h> SDK files,
and the question is where can I download the SDK for TM32C6722

We also do not have CCS version 3.x to copy the files :(
Maybe someone managed to do it?

Kind regards
 

  • Hello,

    And we have a problem, the project requires files such as <soc.h> SDK files,
    and the question is where can I download the SDK for TM32C6722

    I will bring this thread to the attention of the device experts

    We also do not have CCS version 3.x to copy the files :(

    CCS 3.3 is available for download from:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv3/CCS_3_3/exports/CCS_3.3.83.20_Platinum.zip

    Thanks

    ki

  • Hello,

    You can find some of the SW packages for C6722B on the product page here:
    https://www.ti.com/product/TMS320C6722B#software-development

    You can find the DSP/BIOS code here:

    https://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/bios/index.html

    Regards,

    Nick

  • Hi,
    Thanks for your help and link to CCS 3.3.
    Very helpful because there are Chip Support Library files for the C6000

    Regards,

    Radoslaw
  • Hi,
    Thanks for your help and links

    Regards,

    Radoslaw
  • Hi,
    In our project we have a system file #include <soc.h>

    We assume that these are DSP register definitions .

    also we have such definitions in the C code
    CSL_DMAX_0_REGS->LoMaxParam[0].WORD0=(Uint32)0;

    We have checked but file soc.h does not exist in CCS 3.3.

    so there is probably a second definition of "Chip Support Library" based on the "soc.h" file.

    Maybe someone knows where this system file came from?

    Thanks

  • Hello Radoslaw,

    From the device side, I've linked to the SDKs that I am aware of. For those older devices, there are often CSL-type code included separately in the CCS releases, but I do not have any knowledge about that.

    Do you have any information about the name of the code structure, etc in your old project that could tell us where to look for the code?

    Regards,

    Nick

  • so there is probably a second definition of "Chip Support Library" based on the "soc.h" file.

    The old CSL header files typically had a prefix of "csl". I don't recognize "soc.h"

    Please post your CCS 3.x *.pjt file so I can take a look at the include search paths. Perhaps there is a hint in there. 

  • Hi
    Thanks for the help,
    we have two *.pjt files,
    one for C6722 and the other for C6713 for simulation on dev board.
    
    Files below.
    
    The project was originally written in CCStudio_v3.1
    
    We checked the *.pjt files, but there are no other include folders except dsk.
    
    The soc.h file may be from version 3.1 or earlier.

    I assume it's probably best to rewrite the code using csl from CCS 3.3.

    Regards,
    Radoslaw



    ; Code Composer Project File, Version 2.0 (do not modify or remove this line)
    
    [Project Settings]
    ProjectDir="C:\Documents and Settings\XPMUser\Desktop\trr\"
    ProjectType=Executable
    CPUFamily=TMS320C67XX
    Tool="Compiler"
    Tool="CustomBuilder"
    Tool="DspBiosBuilder"
    Tool="Linker"
    Config="Release"
    
    [Source Files]
    Source="fun.s67"
    Source="INT_T0.c"
    Source="INT_T1.c"
    Source="lib\applySystemPatch.obj"
    Source="lib\c672xSystemPatchV2_00_00.lib"
    Source="lib\csl_C672x_intc.lib"
    Source="lib\dsplib\lib\dsp67x.lib"
    Source="main.c"
    Source="main_dek.c"
    Source="proj2.tcf"
    Source="periphery.c"
    Source="sim_sin.c"
    Source="coffs.c"
    Source="dod.cmd"
    Source="proj2cfg.cmd"
    
    [Generated Files]
    Source="proj2cfg.s62"
    Source="proj2cfg_c.c"
    
    ["Compiler" Settings: "Release"]
    Options=-g -ol1 -o3 -fr"$(Proj_dir)\Release\_obj" -fs".\Release\_asm" -ft".\Release\_tmp" -fb".\Release\_abs" -ff".\Release\_lst" -i"C:\Documents and Settings\XPMUser\Desktop\trr\inc" -d"CHIP_6722" -mv67p
    
    ["Linker" Settings: "Release"]
    Options=-c -m".\Release\proj2.map" -o".\Release\proj2.out" -w -x
    
    ["dod.cmd" Settings: "Release"]
    LinkOrder=1
    
    ["proj2cfg.cmd" Settings: "Release"]
    LinkOrder=2


    ; Code Composer Project File, Version 2.0 (do not modify or remove this line)
    
    [Project Settings]
    ProjectName="led"
    ProjectDir="E:\proj-2\DSP\DSP_02\"
    ProjectType=Executable
    CPUFamily=TMS320C67XX
    Tool="Compiler"
    Tool="CustomBuilder"
    Tool="DspBiosBuilder"
    Tool="Linker"
    Config="Debug"
    Config="Release"
    
    [Source Files]
    Source="C:\CCStudio_v3.1\c6000\cgtools\lib\rts6700.lib"
    Source="fun.s67"
    Source="INT_T0.c"
    Source="INT_T1.c"
    Source="main.c"
    Source="main_dek.c"
    Source="sym_sin.c"
    Source="simulation.cdb"
    Source="coffs.c"
    Source="dod_sym.cmd"
    
    [Generated Files]
    Source="simulationcfg.cmd"
    Source="simulationcfg.s62"
    Source="simulationcfg_c.c"
    
    ["Compiler" Settings: "Debug"]
    Options=-g -q -o3 -fr".\Debug\_obj" -fs".\Debug\_asm" -ft".\Debug\_tmp" -fb".\Debug\_abs" -ff".\Debug\_lst" -i"." -i"$(Install_dir)\c6000\dsk6713\include" -d"_DEBUG" -d"CHIP_6713" -d"SYM_MEAS" -ml3 -mv6710
    
    ["Compiler" Settings: "Release"]
    Options=-q -o3 -fr".\Release" -i"." -i"$(Install_dir)\c6000\dsk6713\include" -d"CHIP_6713" -ml3 -mv6710
    
    ["DspBiosBuilder" Settings: "Debug"]
    Options=-v6x
    
    ["DspBiosBuilder" Settings: "Release"]
    Options=-v6x
    
    ["Linker" Settings: "Debug"]
    Options=-q -c -m".\Debug\proj2.map" -o".\Debug\proj2.out" -x -i"$(Install_dir)\c6000\dsk6713\lib" -l"dsk6713bsl.lib"
    
    ["Linker" Settings: "Release"]
    Options=-q -c -o".\Release\led.out" -x -i"$(Install_dir)\c6000\dsk6713\lib" -l"dsk6713bsl.lib"
    
    ["simulationcfg.cmd" Settings: "Debug"]
    LinkOrder=1
    
    ["simulationcfg.cmd" Settings: "Release"]
    LinkOrder=1
    
    ["dod_sym.cmd" Settings: "Debug"]
    LinkOrder=1
    
    ["dod_sym.cmd" Settings: "Release"]
    LinkOrder=1



  • I noticed that the dsk6713bsl.lib library is being used. This comes from the C6713 DSK BSL package which I believe used to come from Spectrum Digital. Do you have this package? I wonder is soc.h is coming from there.

  • Unfortunately we do not have the evaluation kit and the accompanying CD.
    
    In this post
    
    e2e.ti.com/.../ccs-tmdsdsk6713-how-to-download-the-dsk- 6713-header-files
    
    there is mention of dsk but the link is dead.
    
    But the soc.h file probably comes from this set.


  • there is mention of dsk but the link is dead.

    Unfortunately Spectrum Digital is no longer in business hence the link is dead. I looked to see if I have a backup copy in my archives but I don't seem to have it either. Sorry.

  • Thanks for the help,


    We'll look for it and maybe we'll find the CD/eval on some local ebay.

    Regards,
    Radoslaw