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.

6678DSP_SRIO

Hi,

I am working on 6678 SRIO_LoopbackDioISRexampleproject. I created my own custom project as a new empty RTSC project and added a new RTSC Configuration file. I was going through SRIO_LoopbackDioISRexampleproject and it generates  linker file(.cmd file) in the Debug folder of  SRIO_LoopbackDioISRexampleproject. How that .cmd file is generated, as that cmd file has references to "loopbackDioIsr_pe66.oe66". Is it through .MAK file with makefile?. Please clarify me.

Thank You,

VSagar 

  • HI,

    Both(loopbackDioIsr.cmd and loopbackDioIsr_pe66.oe66) are indepentent. Please take a look at below wiki link.

    http://processors.wiki.ti.com/index.php/Files_in_CCS_Projects#Linker_command_files

    Yes, the .MAK file is a makefile.

    Thanks,

  • Hi Ganapathi,

    Thanks for the reply. The "ti.drv.srio.ae66" file which was refenced in .cmd file generated from .cfg file was in C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\srio\lib. If I want to modify the ti.drv.srio.ae66 how I can do?  Is there any reference project for four dsp's connected through SRIO switch? LoopbackDIOIsr and TputBenchmarking are not working for DSP's on the same board.

    Thank You,

    VSagar

  • Hi,

    MCSDK SRIO Throughput test code support SRIO switch. Better to try this SRIO example for your testing.

    MCSDK Path: C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\SRIO_TputBenchmarkingTestProject

    Refer section "5.4 Single EVM looped back externally using an external SRIO switch" and "9.3 Setting up C-S-C connection mode (core to core, with a SRIO switch)" on SRIO_Benchmarking_Example_Code_Guide document.

    Doc Path: \ti\pdk_C6678_1_1_2_6\packages\ti\drv\srio\test\tput_benchmarking\docs\SRIO_Benchmarking_Example_Code_Guide.

    Please take a look at below thread for SRIO lib rebuild.

    http://e2e.ti.com/support/embedded/tirtos/f/355/t/170312.aspx

    Thanks,

  • Hi Ganapathi,

    Thanks for the reply. I am trying to communicate between two DSP's that are connected through SRIO switch. I have created my own custom project by taking LoopbackDioISRexample project as reference. I am able to do the Initializations(enable srio, systeminit, sriodeviceinit) and port is OK. I am struck at Srio_start function. I went step by step and found out that Qmssprogramaccumulator is not happening. I compared with Tputbenchmarking example and it is poll based and also Appmanagedcfg. LoopbackDioISRexample is Drvmanagedcfg. Why Qmssaccumulator is not configuring? Can you please help

    Thank You,

    Vsagar 

  • The result I am getting from Qmssprogramaccumulator is 6 which is defined as QMSS_ACC_INVALID_QUEUE_NUMBER. Where I am going wrong?

    Thanks

  • Hi,

    I went inside programAccumulator and it is writing channel and command in word0  and that is 81 for Acc_cmd for channel enable and FF for cor number (81FF writing in cmd.word0). But in register(reg) all the other three words are same as cmd.word 1 to3 but word0 only it is showing 6000FF. I am not getting how 81FF is becoming 6000ff in register(reg)?

    Thanks