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.

dsk5510 examples compiling...

Im trying to get an example working on my Spectrum digital dsk5510 board.

I have CCS 3.3 installed but every example I try there are problems after problems!

For example:

The LED example, just ends in chasing error after error:

[ledprd.tcf] "C:\tools\ccs33\bios_5_31_02\xdctools\tconf" -b -Dconfig.importPath="C:/tools/ccs33/bios_5_31_02/packages"  ledprd.tcf
js: "C:/tools/ccs33/bios_5_31_02/packages/ti/platforms/generic/Platform.tcp", line 57: org.mozilla.javascript.UniqueTag
    "C:/tools/ccs33/bios_5_31_02/xdctools/include/utils.tci", line 562
    "C:/tools/ccs33/bios_5_31_02/xdctools/include/utils.tci", line 791
    "./ledprd.tcf", line 10
js: "C:/tools/ccs33/bios_5_31_02/xdctools/include/utils.tci", line 834: exception from uncaught JavaScript throw: TypeError: Cannot call method "create" of undefined (C:/tools/ccs33/bios_5_31_02/xdctools/include/utils.tci#834)
    "./ledprd.tcf", line 10

All the examples have a cdb file and although the converter cdb2tcf remarks that it has been successful, non work afterwards with errors like:

Try and open tcf file in CCS 3.3 ->

js: "C:/tools/ccs33/bios_5_31_02/packages/ti/platforms/generic/Platform.tcp", line 57: org.mozilla.javascript.UniqueTag    "C:/tools/ccs33/bios_5_31_02/xdctools/include/utils.tci", line 562
    "C:/tools/ccs33/bios_5_31_02/xdctools/include/utils.tci", line 791
    "./clktest.tcf", line 10
    "./<stdin>", line 4
js: "C:/tools/ccs33/bios_5_31_02/xdctools/include/utils.tci", line 834: exception from uncaught JavaScript throw: TypeError: Cannot call method "create" of undefined (C:/tools/ccs33/bios_5_31_02/xdctools/include/utils.tci#834)    "./clktest.tcf", line 10
    "./<stdin>", line 4

Correct any script errors in C:/tools/ccs33/examples/dsk5510/bios/clktest/clktest.tcf
using the Configuration Tool or a text editor, if necessary.

TConf initialization arguments:
-e environment['config.importPath']='C:/tools/ccs33/bios_5_31_02/packages' -e environment['config.scriptName']='clktest.tcf'

Im used to linker command files but I cant even find any example to hack that have a working one, e.g. everything autogenerated overlaps.

Im really not having fun at the moment :(

 

Is there an example, somewhere, that I can download and *just* works with CCS 3.3 that will allow me to get started?


 

  • Hi Bob --

    Can you try updating to 5.41.11?   I just installed it into my CCSv3.3 installation and rebuilt the hello app for the dsk5510 without any problems.   You can find the examples in the <biosinstalldir>/packages/ti/bios/examples/basic/hello (etc) directory.

    Make sure that you download and install the CCSv3 version of the installer.

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

    After installing, you have to use the "CCS Component Manager" to specify the BIOS version to use with CCS.

    Regards,
    -Karl-