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.

RapidIO Interface TMS320C6474 EVM

Other Parts Discussed in Thread: TMS320C6474, CCSTUDIO

Hello,

    I am working on a DSP EVM TMS320C6474 and want to implement Serial RapidIO Interface on this board. To implement it, I would like to use the DIO_LIB, which is a function library of TEXAS INSTRUMENT.

    My problem is the following issue : Tests present in the DIO_LIB need a specific library -> DirectIO_Debug_C6455.lib.

    When I build the testDIO_WriteNread I get this error : fatal error: #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201)

                                                                                                                    "C:/CCStudio_v3.3/C6000/csl/include/csl_chiphal.h"

    I think that the problem comes from the csl_chiphal.h because this file doesn't containt the C6474 specifications and normally the program test must be implemented on the TMS320C6474, so my EVM.

    Can someone help me for this problem.

    Thanks everyone

  • It is looking up the wrong csl file, you don't need to change the csl/include/* files. I assume your macro.ini (per documentation of dio lib, open docs/.html file) has the right paths to your installed device csl and you need to place this file in the cc/bin/ directory under CCS installation (where the CCS executable is actually present), not the bin/ directory (this common mistake can result in the looking up of the wrong csl file). The macro.ini is read by CCS when you start it.

  • Hi.

    I am having the same issue as above. i am also using the EVMC6474.

    I am trying to run the testDIO_writeNread example.

    I followed the Environment Setup instructions carefully and I did make sure to copy the macro.ini file to the C:\CCStudio_V3.3\cc\bin directory (as per the instructions), and NOT the C:\CCStudio_V3.3\bin directory (as commonly mistaken).

    I also followed the Test Procedure instructions for the project and made sure to choose the correct configuration (i.e. step 1: Debug_C6474). However, the DirectIO_lib.pjt does NOT want to build. Pretty much all of the .c files are failing to compile:

     

    Here is the content of my macro.ini file:

    CslDir6474=C:\CCS\C6474\Libraries\Chip_Support_Library

    CslIntDir=C:\CCS\C6474\Libraries\Interrupt_Controller_Library

    DirectIODir=C:\CCS\C6474\Libraries\SRIO_DIO_Library\lib

    The directories above refer to directories which I have created that contain the necessary library files
    What am I still doing wrong?
    Anyone out there who can help?
    Estian.

     

     

  • You seem to be doing everything right so it should work. There was a problem on our web-page for csl link of 6474 that it did not have complete release (and diolib complie will not find the headers needed) and so if you downloaded recently, you may have not seen the full release. It has been fixed now so please redownload the csl and try again.