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.

Porting a DSP/BIOS based project from CCS3.1 (DSP/BIOS version: BIOS: cuda-4.90.02.10 ) under CCS5.x

Other Parts Discussed in Thread: TMS320F2812

Hello everybody,

I have an old project, targeting the TMS320F2812 device, developed with CCS3.1 / DSP/BIOS version 4.90..., and I have to come back to this project today to add some new features. If possible, I would like to continue on the project under the most recent CCS ( 5.x ), so I would like to port the project under this new environment.

In CCS5.x, there is no direct import from CCS3.1... so first I imported the original project under CCS3.3, then I imported this CCS3.3 project under CCS5.3... and, formally, it worked fine: my new project compiles with no error - but does not work: it crashes after some seconds of run. My first guess was a stack overflow problem - the project is a "real" DSP/BIOS project, uses all DSP/BIOS task types (task, periodic task, SWI, HWI) - and I checked the stack of all tasks, these are far from being overflow.

Then I came back to the CCS3.3 version - and discovered that it behaves in the same way ( crashes after some seconds of run ) than the CCS5.x version: so I concluded, that the root of the problem is located somewhere in the BIOS version: while the original software is using DSP/BIOS v 4.90, when ported under CCS3.3, I had to change the BIOS version to BIOS v5.31.02, proposed by CCS3.3. This new BIOS version comes with a new descriptor file ( .tcf instead of the original .cdb ), and in its own, structured directory, with some specific files, allowing to use it since CCS3.3... The old, v4.90 BIOS does not located in the same kind of directory - so I was unable to use it under the newer CCS-s.

Although the API of all these BIOS-es are the same ( otherwise the compiler could not compile my application ), for sure, there is/are some important differences, which makes my application to crash. Unfortunately I am unable to find out these differences.

So, today I am blocked. I think that there are two possible issues: ( in addition to staying with CCS3.1 / BIOS 4.9 :-) )

1/ Some of you can help me to point out the differences between the 4.9... 5.x BIOS versions and give me a hint how can I safely port my application under the new BIOS

2/ Some of you can help me to point out how I could use the former v4.9 BIOS under CCS5.x

Could you help me, please ?

Thanks and regards

Somogyi Tibor

  • Tibor,
    there is an executable cdb2tcf in the xdctools subdirectory of your DSP/BIOS installation. Its purpose is to convert CDB files to TCF scripts. There is a Setup Guide in the top directory of your DSP/BIOS installation. Look for the section "Converting CDB Files to TCF Files" for instructions.

    Try to use it and come back for help if you get stuck. Eventually, you'll get a working TCF script that can be used in CCS5, and then you can debug your crash problem if it's still there. BTW, even DSP/BIOS 5.31.02 is relatively old. There are newer versions of DSP/BIOS 5, and there is SYS/BIOS 6, which is where the new development happens.