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.

DM642 EVM Software

Other Parts Discussed in Thread: TMS320DM642, CCSTUDIO

Hello. I have the CCS v3.3 Platinum and DM642 board. The software that came with the shipped package is TMS320DM642 EVM Software CD-ROM for use with CCS 3.1. Then I can't run any example basically because 3.1 comes with .cdb and 3.3 comes with .tcf dsp/bios config file.

I've made some updates, I've installed DSP/BIOS 5.31.02, C6000 CSL version 2.31.00.13, but when I try to build the examples there is always a linking error.

Then I need the DM642 software for CCS v3.3. I haven't found in SpectrumDigital web a link to download it or an email to write to. Whan can I do to start working with this DSP?

Thanx.

Ed.

  • Can you please send across the link error?

    When you open a cdb file with CCSv3.3 and BIOS 5.x (double-click) the gconf tool should prompt you with a message about wanting to update the .cdb file to .tcf.   You should then use this updated .tcf file with BIOS 5.x.

    Have you successfully converted the .cdb file to .tcf?  Is the build system running 'tconf' to generate the configuration files?

    You should be able to use BIOS 5.31.02 with the original CSL that came on that CD.  Can you try with just changing the BIOS version first?  Then after successful build, you can consider update of the other components if necessary.

    Regards,
    -Karl-

  • Hi Karl, thank you for your reply.

    I run successfully the cdb2tcf and I have the .tcf file. I can see that configuration (double click over the tcf file) and all other files. The compilation seems good but linking. I have this if build options:

    -q -c -m"$(Proj_dir)\VGA_LOOPBACK\video_vga_loopback.map"
    -o"$(Proj_dir)\VGA_LOOPBACK\video_vga_loopback.out" -x -j
    -i"$(Install_dir)\boards\evmdm642\lib"
    -i"$(Install_dir)\boards\evmdm642\drivers\lib"
    -i"$(Install_dir)\boards\evmdm642\csl\lib"
    -i"$(Install_dir)\boards\evmdm642\csl\include"

    ande the output is (for vga.pjt):


    ---------------------------  vga.pjt - VGA_LOOPBACK  ---------------------------
    [video.tcf] "C:\CCStudio_v3.3\bios_5_31_02\xdctools\tconf" -b -Dconfig.importPath="C:/CCStudio_v3.3/bios_5_31_02/packages"  video.tcf

    [colorbarRGB.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/VGA_LOOPBACK" -i"C:/CCStudio_v3.3/boards/evmdm642/include" -i"C:/CCStudio_v3.3/boards/evmdm642/drivers/include" -i"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/tests" -i"C:/CCStudio_v3.3/boards/evmdm642/csl/include" -d"_DEBUG" -d"CHIP_DM642" -d"_LOOPBACK" -d"_VGA" -d"_NTSC" -ml3 -mv6400 -@"../VGA_LOOPBACK.lkf" "colorbarRGB.c"

    [video_rgb.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/VGA_LOOPBACK" -i"C:/CCStudio_v3.3/boards/evmdm642/include" -i"C:/CCStudio_v3.3/boards/evmdm642/drivers/include" -i"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/tests" -i"C:/CCStudio_v3.3/boards/evmdm642/csl/include" -d"_DEBUG" -d"CHIP_DM642" -d"_LOOPBACK" -d"_VGA" -d"_NTSC" -ml3 -mv6400 -@"../VGA_LOOPBACK.lkf" "video_rgb.c"

    [ycbcr422pl_to_rgb565_h.asm] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/VGA_LOOPBACK" -i"C:/CCStudio_v3.3/boards/evmdm642/include" -i"C:/CCStudio_v3.3/boards/evmdm642/drivers/include" -i"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/tests" -i"C:/CCStudio_v3.3/boards/evmdm642/csl/include" -d"_DEBUG" -d"CHIP_DM642" -d"_LOOPBACK" -d"_VGA" -d"_NTSC" -ml3 -mv6400 -@"../VGA_LOOPBACK.lkf" "ycbcr422pl_to_rgb565_h.asm"

    [videocfg.s62] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/VGA_LOOPBACK" -i"C:/CCStudio_v3.3/boards/evmdm642/include" -i"C:/CCStudio_v3.3/boards/evmdm642/drivers/include" -i"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/tests" -i"C:/CCStudio_v3.3/boards/evmdm642/csl/include" -d"_DEBUG" -d"CHIP_DM642" -d"_LOOPBACK" -d"_VGA" -d"_NTSC" -ml3 -mv6400 -@"VGA_LOOPBACK.lkf" "videocfg.s62"

    [videocfg_c.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/VGA_LOOPBACK" -i"C:/CCStudio_v3.3/boards/evmdm642/include" -i"C:/CCStudio_v3.3/boards/evmdm642/drivers/include" -i"C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/tests" -i"C:/CCStudio_v3.3/boards/evmdm642/csl/include" -d"_DEBUG" -d"CHIP_DM642" -d"_LOOPBACK" -d"_VGA" -d"_NTSC" -ml3 -mv6400 -@"VGA_LOOPBACK.lkf" "videocfg_c.c"

    [Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"VGA_LOOPBACK.lkf"
    <Linking>

    undefined                        first referenced
     symbol                              in file
    ---------                        ----------------
    _DAT_wait                        C:\\CCStudio_v3.3\\boards\\evmdm642\\examples\\video\\driver\\VGA_LOOPBACK\\colorbarRGB.obj
    _CACHE_clean                     C:\\CCStudio_v3.3\\boards\\evmdm642\\examples\\video\\driver\\VGA_LOOPBACK\\colorbarRGB.obj
    _DAT_copy                        C:\\CCStudio_v3.3\\boards\\evmdm642\\examples\\video\\driver\\VGA_LOOPBACK\\colorbarRGB.obj
    _CSLDM642_LIB_                   C:\\CCStudio_v3.3\\boards\\evmdm642\\examples\\video\\driver\\VGA_LOOPBACK\\video_rgb.obj
    _DAT_open                        C:\\CCStudio_v3.3\\boards\\evmdm642\\examples\\video\\driver\\VGA_LOOPBACK\\video_rgb.obj
    _CACHE_enableCaching             C:\\CCStudio_v3.3\\boards\\evmdm642\\examples\\video\\driver\\VGA_LOOPBACK\\video_rgb.obj
    __CSL_init                       C:\\CCStudio_v3.3\\boards\\evmdm642\\examples\\video\\driver\\VGA_LOOPBACK\\video_rgb.obj
    _CACHE_setL2Mode                 C:\\CCStudio_v3.3\\boards\\evmdm642\\examples\\video\\driver\\VGA_LOOPBACK\\video_rgb.obj
    _I2C_getConfig                   C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _I2C_start                       C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _I2C_rrdy                        C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _I2C_readByte                    C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _I2C_xrdy                        C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _I2C_bb                          C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _I2C_sendStop                    C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _I2C_writeByte                   C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _I2C_config                      C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_intFree                    C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_intClear                   C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_enableChannel              C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _IRQ_clear                       C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_intDisable                 C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _IRQ_disable                     C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_intAlloc                   C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_intHook                    C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_config                     C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _IRQ_globalRestore               C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_link                       C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_clearChannel               C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_close                      C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_open                       C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_intDispatcher              C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_freeTable                  C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _IRQ_globalDisable               C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _IRQ_map                         C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_disableChannel             C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_intEnable                  C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _IRQ_enable                      C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _EDMA_allocTable                 C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _DAT_fill                        C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _DAT_close                       C:/CCStudio_v3.3/boards/evmdm642/drivers/lib/vport.l64
    _I2C_outOfReset                  C:/CCStudio_v3.3/boards/evmdm642/lib/evmdm642bsl.lib
    _GPIO_open                       C:/CCStudio_v3.3/boards/evmdm642/lib/evmdm642bsl.lib
    _I2C_open                        C:/CCStudio_v3.3/boards/evmdm642/lib/evmdm642bsl.lib
    _EMIFA_config                    C:/CCStudio_v3.3/boards/evmdm642/lib/evmdm642bsl.lib
    _GPIO_pinRead                    C:/CCStudio_v3.3/boards/evmdm642/lib/evmdm642bsl.lib
    _GPIO_pinEnable                  C:/CCStudio_v3.3/boards/evmdm642/lib/evmdm642bsl.lib
    _GPIO_pinDirection               C:/CCStudio_v3.3/boards/evmdm642/lib/evmdm642bsl.lib
    _GPIO_pinWrite                   C:/CCStudio_v3.3/boards/evmdm642/lib/evmdm642bsl.lib
    >>   error: symbol referencing errors -
                'C:/CCStudio_v3.3/boards/evmdm642/examples/video/driver/VGA_LOOPBACK/video_vga_loopback.out' not built

  • Hi Ed --

    It looks like you are missing the csl library from your link.  I'm pretty sure that the missing symbols above come from the CSL library.    You can add this library to your project or make another .cmd file that includes the necessary -lcslxyz.lib option.  I don't know the name of the CSL library, but I would guess it resides in this directory (-i"$(Install_dir)\boards\evmdm642\csl\lib")

    -Karl-

  • Adding to Karl's post, these missing symbols are definitely from the CSL. In BIOS 4.90 the CSL was actually a part of the BIOS kernel and thus was automatically included into the project. For a number of reasons BIOS support of CSL was removed in BIOS 5, thus the user must include the CSL manually. You can find the default CSL in CCSv3.3 in the C:\CCStudio_v3.3\c6000\csl\lib directory. You'll want to choose one of the DM642 libs (i.e., cslDM642.lib).

  • Thank you Karl and Tim for your help. I can run now the vga.pjt. But the problem I have now is that I watch the monitor all green running vga.pjt (LOOPBACK)  or running scaling.pjt. I've checked spra932a and spraa57 but I think I have a misconfiguration or something like that. I got the camera and the monitor connected to dsp as shown in fig 1 in spra932a. Display mode set to VGA (tried SVGA too) in vga.pjt file video_rgb.c.

  • Hi,

    can u suggest some version for CCS, so that CCS should be compatible with DM642 , with matlab and also with  Ubuntu 10.04 (Lucid) ?

    regards,

    Nethaji.D

  • nethaji d said:

    Hi,

    can u suggest some version for CCS, so that CCS should be compatible with DM642 , with matlab and also with  Ubuntu 10.04 (Lucid) ?

    regards,

    Nethaji.D

    You asked the same question in two threads. This question was answered in the other thread.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/102050/359672.aspx#359672

    ki

     

  • Hello. I have got a problem

    >> D:\\CCS\\TMS320DM642\\111\\dm642\\link.cmd, line 3: error:
    can't find input file '..\lib\evmdm642bsl.lib'
    >> D:\\CCS\\TMS320DM642\\111\\dm642\\link.cmd, line 4: error:
    can't find input file '..\lib\dman.l62'

    Where can I find the libraries?