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.

CCSV5.1 - click on CCSV3.3 CDB, asks for "Specify XDC installation directory"

Hello,

I'm trying to import a Legacy V3.3 project into V5.1.  Anytime clicking on the legacy CDB file, in the project window, it asks for  "Specify XDC installation directory" in a pop-up dialog, with -xdcroot= prior to the entry box.  What should I be telling it, the V3.3 XDC or V5.1 XDC directory?  Either one so far has just resulted in CCSV5.1 hanging up.  I have to kill gconf.exe in Windoze Task Manger to do anything else.

Not having a ton of luck importing a V3.3 project, in either V4 or V5.1.  CDB conversion seems to be the biggest problem so far.

Please advise.

Robert

  • Robert,

    Does your project have a .tcf file alongside the .cdb file? If so, this is the correct DSP/BIOS configuration file that carries the configuration information of your system. Check this FAQ entry that talks about the pop-up dialog box.

    The standalone .cdb files were used by DSP/BIOS versions 4.9 and older, but they are still used by newer DSP/BIOS releases as companion to the .tcf files. CCSv3.3. came with DSP/BIOS 5.31.02 but minimally supported DSP/BIOS 4.9x and performed the conversion appropriately.

    If you don't have a .tcf file, then you will have to convert your project to BIOS 5.x using CCSv3.3 (CCSv5 does not support this conversion). Check:

    http://processors.wiki.ti.com/index.php/Migrating_from_BIOS_4.9_to_BIOS_5.x

     Hope this helps,

    Rafael

  • It does have a work.tcf file alongside it, but yet when opening it, I see comments about it being a seed file for work.cdb, from c:/<an old directory no longer existing>/c6000/bios/include/4.82.150/c6x1x.cdb.  And when text editing work.cdb, I see "c6x1x.cdb 4.90.270".  So it cleary is not BIOS 5.x.

    Even though I put <an old directory no longer existing> above, I may still have the contents around, just not with the same directory off of root C.

    I read the FAQ entry, but what it's suggesting is not obvious.  Is that even still applicable, given the information above?

    Please advise further.

    Robert

  • Robert,

    No, the FAQ entry is only valid for BIOS5.x files. The information you sent clearly indicates the .cdb file is for version 4.90.270 (shipped with CCSv3.1), therefore a conversion must be made to a BIOS 5.x before the project can be imported to CCSv5.

    If you still have CCSv3.3 installed in your system, you can convert it from BIOS4.9 to BIOS 5.x automatically (I strongly recommend installing BIOS 5.33.06 from the Update Advisor and then performing the conversion, as this is the latest version).

    Also, I found the old command-line conversion utility installed in my CCSv5 (cdb2tcf.exe, installed in <CCS_INSTALL_DIR>\bios_5_41_10_36\packages\ti\bios\config\update) and I tested it in one of my old .cdb files. Check the attached text file with the procedure I followed (straight from the DOS command line, therefore adjust the installation paths and project paths to your install).

    At the end of the file there are some tips on how to fill the message boxes when double-clicking on the .tcf file.

    Keep in mind the conversion I did was for a very simple file, but depending on your project you will have to check additional dependencies on the Chip Support Library (CSL) and other details mentioned in the migration guide I sent before. For a more informed help on these additional details I strongly suggest you ask the experts at the BIOS forum.

    Hope this helps,

    Rafael

    ==================================================================
    === Procedure to convert the file to TCF from the command line ===
    ==================================================================
    
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    
    C:\>set BIOS_INSTALL_DIR=C:\CCS_5_1_0_08000\bios_5_41_10_36
    
    C:\>cd \CCS_5_1_0_08000\bios_5_41_10_36\packages\ti\bios\config\update
    
    C:\CCS_5_1_0_08000\bios_5_41_10_36\packages\ti\bios\config\update>dir
     Volume in drive C has no label.
     Volume Serial Number is 082E-220F
    
     Directory of C:\CCS_5_1_0_08000\bios_5_41_10_36\packages\ti\bios\config\update
    
    09/22/2011  05:04 PM    <DIR>          .
    09/22/2011  05:04 PM    <DIR>          ..
    09/22/2011  05:04 PM    <DIR>          4.90.270
    09/22/2011  05:04 PM    <DIR>          4.90.280
    01/20/2011  07:35 PM         5,692,217 cdb2tcf
    01/20/2011  07:35 PM           126,976 cdb2tcf.exe
    01/20/2011  07:35 PM        12,258,229 update.zip
                   3 File(s)     18,077,422 bytes
                   4 Dir(s)  22,729,363,456 bytes free
    
    C:\CCS_5_1_0_08000\bios_5_41_10_36\packages\ti\bios\config\update>cdb2tcf
    usage: cdb2tcf [-h] [-d] [-i <customImport>.tci <customSeed>.cdb] [-l <logfile>]
     [-a <verbosity level>] <application>.cdb
    
    C:\CCS_5_1_0_08000\bios_5_41_10_36\packages\ti\bios\config\update>cd \CCStudio_v
    3.1\examples\sim62xx\bios\bigTime.bak\
    
    C:\CCStudio_v3.1\examples\sim62xx\bios\bigTime.bak>dir
     Volume in drive C has no label.
     Volume Serial Number is 082E-220F
    
     Directory of C:\CCStudio_v3.1\examples\sim62xx\bios\bigTime.bak
    
    09/28/2011  10:25 AM    <DIR>          .
    09/28/2011  10:25 AM    <DIR>          ..
    01/13/2005  03:18 PM         1,056,871 bigTime.cdb
    01/13/2005  03:18 PM             8,098 bigTime.cpp
    01/13/2005  03:18 PM             1,498 bigTime.h
    12/24/2001  05:21 AM               882 bigTime.pjt
    01/13/2005  03:18 PM             7,582 bigTimecfg.cmd
    01/13/2005  03:18 PM             1,377 bigTimecfg.h
    01/13/2005  03:18 PM             5,155 bigTimecfg.h62
    01/13/2005  03:18 PM            40,446 bigTimecfg.s62
    01/13/2005  03:18 PM               909 bigTimecfg_c.c
    01/13/2005  03:18 PM             2,045 makefile
                  10 File(s)      1,124,863 bytes
                   2 Dir(s)  22,728,388,608 bytes free
    
    C:\CCStudio_v3.1\examples\sim62xx\bios\bigTime.bak>cd ..
    
    C:\CCStudio_v3.1\examples\sim62xx\bios\bigTime.bak>\CCS_5_1_0_08000\bios_5_41_10
    _36\packages\ti\bios\config\update\cdb2tcf bigTime.cdb
    Application: bigTime.cdb
    Original seed file: c:/ccs_5_1_0_08000/bios_5_41_10_36/packages/ti/bios/config/u
    pdate/4.90.270/c6xxx.cdb
    Loading application CDB file
    Device name: 6201
    Catalog: ti.catalog.c6000
    Generating CSL files
    Unloading the application CDB file
    Loading original seed: c:/ccs_5_1_0_08000/bios_5_41_10_36/packages/ti/bios/confi
    g/update/4.90.270/c6xxx.cdb
    Finding user changes
    Loading new seed file
    New seed: c:/ccs_5_1_0_08000/bios_5_41_10_36/packages/ti/bios/config/cdb/c6xxx.c
    db
    Applying changes
    Warning: Field CSLNAME no longer exists in cdb file.
    Saving original bigTime.cdb in bigTime.cdb.Wed_Sep_28_10.26.41_2011
    Creating TCF file: C:/CCStudio_v3.1/examples/sim62xx/bios/bigTime.bak/bigTime.tc
    f
    Tconf search path information is required for running the generated tcf file.
    The search path info for the Tconf.exe command line has been saved in
    tcfopts.dat.
    
    C:\CCStudio_v3.1\examples\sim62xx\bios\bigTime.bak>dir
     Volume in drive C has no label.
     Volume Serial Number is 082E-220F
    
     Directory of C:\CCStudio_v3.1\examples\sim62xx\bios\bigTime.bak
    
    09/28/2011  10:26 AM    <DIR>          .
    09/28/2011  10:26 AM    <DIR>          ..
    01/13/2005  03:18 PM         1,056,871 bigTime.cdb.Wed_Sep_28_10.26.41_2011
    01/13/2005  03:18 PM             8,098 bigTime.cpp
    01/13/2005  03:18 PM             1,498 bigTime.h
    12/24/2001  05:21 AM               882 bigTime.pjt
    09/28/2011  10:26 AM             2,512 bigTime.tcf
    01/13/2005  03:18 PM             7,582 bigTimecfg.cmd
    01/13/2005  03:18 PM             1,377 bigTimecfg.h
    01/13/2005  03:18 PM             5,155 bigTimecfg.h62
    01/13/2005  03:18 PM            40,446 bigTimecfg.s62
    01/13/2005  03:18 PM               909 bigTimecfg_c.c
    01/13/2005  03:18 PM             2,045 makefile
    09/28/2011  10:26 AM               112 tcfopts.dat
                  12 File(s)      1,127,487 bytes
                   2 Dir(s)  22,728,404,992 bytes free
    
    C:\CCStudio_v3.1\examples\sim62xx\bios\bigTime.bak>
    
    ========================================================================
    === Contents of tcfopts.dat - file created automatically by the tool ===
    ========================================================================
    # Add the following to the Tconf command line
    -Dconfig.importPath="c:/ccs_5_1_0_08000/bios_5_41_10_36/packages"
    
    =========================================================================
    === Paths required to be passed when double-clicking on the .tcf file ===
    =========================================================================
    Keep in mind the paths to the CCS installation directory and the BIOS version below
    may differ from your installation. This is just a reference:
    
    - If/when a dialog box shows "Specify XDC Tools Root Directory":
      C:\CCS_5_1_0_08000\xdctools_3_22_02_27
    
    - If/when a dialog box shows "Set Import File Search Path":
      Give the directory shown above in the tcfopts.dat
      c:/ccs_5_1_0_08000/bios_5_41_10_36/packages
    
    
    

  • Rafael,

    Thanks for the additional information, and example file.  I had CCSv3.3 installed on a previous computer that died, but it's not installed on my present one (although I have the directories).

    I tried to run the command line procedure.  Initially cdb2tcf complained that there was already a work.tcf file existing, which was part of my original CCSV3.3 project, along with the work.cdb I'm trying to convert.  So I just deleted that old work.tcf.  Not sure if that was ok? ... seems it was there for a reason.

    But then I had the problem shown below.  I confirmed that the c6x1x.cdb file is not in the directory where cdb2tcf says it's expected (only in the 4.90.270 directory).

    Please advise.

    Robert

    c:\work>c:\ti\bios_5_41_10_36\packages\ti\bios\config\update\cdb2tcf work.cdb
    Application: work.cdb
    Original seed file: c:/ti/bios_5_41_10_36/packages/ti/bios/config/update/4.90.270/c6x1x.cdb
    Loading application CDB file
    Device name: 6713
    Catalog: ti.catalog.c6000
    Generating CSL files
    Unloading the application CDB file
    Loading original seed: c:/ti/bios_5_41_10_36/packages/ti/bios/config/update/4.90.270/c6x1x.cdb
    Finding user changes
    Loading new seed file
    New seed: c:/ti/bios_5_41_10_36/packages/ti/bios/config/cdb/c6x1x.cdb
    Couldn't open c:/ti/bios_5_41_10_36/packages/ti/bios/config/cdb/c6x1x.cdb
    Error code 25

  • Robert,

    Strange, my BIOS 5.41.10.36 install has the <c6x1x.cdb> file in the same path shown above in your command line - maybe something wrong happened during install of the file became corrupt somehow and was deleted.

    Anywyays, check the attached file and see if this works for you.

    Cheers,

    Rafael

    c6x1x.zip
  • Rafael,

    With use of that c6x1x.cdb file, and the other information provided, I now have a tcf file for use in CCSV5.1 :).  So I'll mark this as answered for now.  Thanks for your help.  There are build and link problems with the imported CCSV3.3 project, but I'd likely generate a different post if not able to work through them.

    Cheers,

    Robert