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.

Error code 20 with an example on CCS 3.2

Other Parts Discussed in Thread: CCSTUDIO

Hi,

On CCS 3.2, I simply tried to run a demo C:\CCStudio_v3.2\examples\evm5510\csl\timer\timer1_useBios\, after *.pjt is opened, the messages are showing below:

Running "C:\CCStudio_v3.2\examples\evm5510\csl\timer\timer1_useBios\cdb2tcf.bat"


Please wait . . .
Conversion  FAILED. This is the command execution log:
Application: C:\CCStudio_v3.2\examples\evm5510\csl\timer\timer1_useBios\timer1_u
seBios.cdb
Error: Seed file C:/CCStudio_v3.2/C5500/bios/include/c55xx.cdb cannot be found
Error code 20

cdb2tcf command FAILED.
Press any key to continue . . .


It looks that the seed file directory (C:/CCStudio_v3.2/C5500) is not correct. CCS 3.2 is loaded on a PC that doesn't have previous version installed presently or before. How to correct this ?

Thanks,

Yuhua

  • Hi Yuhua --

    Is it possible for you to update to a newer version of CCS?   If you are just starting on new project, you should probably start with newer CCS.   You should use CCSv3.3 or later.

    I would also recommend using the examples provided with BIOS as starting point.    We provide clk example with BIOS.   The examples you are trying to build are very old.   We updated to use .tcf files for configuration several (5+) years ago.  Not sure why you are having that update problem, but it worked for me in current CCSv3.3 installation.

    Regards,
    -Karl-

  • Hi, Karl,

    Thanks for your reply.

    Actually I am trying to migrate my project from CCS2.20 to CCS 4.1, but couldn't load *.out on CCS 4.1and didn't know what the problem is, so I am trying to break the big step (form CCS2.20 to CC4.1) into small steps (from CCS2.20 to CCS3.1, etc). Since it is CCS3.2 that started not to support CSL in DSP/BIOS, I thought it is better to have my project work on CCS3.2 and then move forward.

    I don't see examples for C55xx provided in BIOS coming with CCS 3.2, but I see some in CCS 3.3, I will use them as a sample.  CCStudio_v3.3\examples don't have .tcf files either, I guess they are not good to use.

    Yuhua

  • The main problem with CCS 3.2 is that it is not able to convert old *.cdb to new *.tcf and *.cdb automatically, it is trying to find directory C:/CCStudio_v3.2/C5500/bios/include/ which doesn't exist on CCS 3.2.

    The question is how to set the "seed" directory, it is %BIOS_INSTALL_DIR%\packages\ti\bios\config\cdb for CCS 3.2.

    Wiki document "Migrating from BIOS 4.9 to BIOS 5.x" (http://processors.wiki.ti.com/index.php/Migrating_from_BIOS_4.9_to_BIOS_5.x) doesn't mention how to migrate from CCS 3.1 to CCS 3.2, only from CCS 3.1 to CCS 3.3.

     

  • I think you should use CCS3.3 or go directly to 4.1.  Don't use CCS3.2.    3.2 was a limited release (if I recall correctly).

    There is a command line version of the 'cdb2tcf' tool which you can use to translate your existing .cdb files to .tcf.

    You'll need 5.41.03.17 or later which you can get here:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios/index.html

    See appendix A of SPRU007.  You can find cdb2tcf utility here:

    C:\Program Files\Texas Instruments\bios_5_41_07_24\packages\ti\bios\config\update

    Regards,
    -Karl-

     

  • Hi, Karl,

    Thanks for your help.

    I found the answer to "seed directory" from Q&A in "Migrating from BIOS 4.9 to BIOS 5.x", the question is different from mine, however, the answer applies to my question. It says "If you are using CCS 3.2, its installation does not supply the seed files used by the CDB2TCF tool to properly convert the CDB file." and provides two workarounds. After I updated DSP/BIOS to 5.30, I am able to convert *.cdb to *.tcf.

    I will move to CCS 3.3 / CCS 4.x as you suggested.

    Rebards,

    Yuhua