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.

Using Multicore Navigator with pdk_c667x_2_0_3

Other Parts Discussed in Thread: TMS320C6678

Hi all,

I'm trying to use The Multicore Navigator (QMSS and CPPI) on a C6678 DSP using the new SDK (v 03.01.00.06).

I started using the pdk_C6678_1_1_2_6 examples (the only available, if my info are correct) and tried to use them with the new version with the aid of the migration guide.

The problem is that libraries are changed and a lot of defines are not in their place (this is the problem found so far).

I was wondering if anybody has already done a similar migration because the migration guide doesn't tell where those defines have been moved.

Simpliest solution of course is to copy paste the defines in another .h file, but you understand it is a lot of work and it isn't a certain solution.

Any help would be very much appreciated.

PS: please find below some specifications:

DSP: TMS320C6678;

Evaluation board: TMSEVM6678LE;

CCS Version: 6.2.0.00050;

Compiler Version: v8.1.2.

SDK version: v 03.01.00.06

PDK version: v 2.0.3

Bios version: v 6.46.2.47

IPC version: v 3.43.2.04

  • Hi Fabrizio,

    I've forwarded this to the software experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Hi Tsvetolin,

    Any news on this?

    I would also like to notify that the cppiTestProject in the pdk_C6678_1_1_2_6 fails during execution.
    Also failures are not always the same: sometimes it stops waiting for a semaphore, others fails the tests with different error codes or a core crashes (from a first look for out of range pointing in memory or other memory related problems).

    Thank you for your support.

    Fabrizio
  • Fabrizio,

    You mentioned you are migrating your code from previous SDK. Can you specify what you were using before. If you were using MCSDK have you looked at the following Migration guide :
    processors.wiki.ti.com/.../MCSDK_to_Processor_SDK_Migration

    For migration from previous version of Processor SDK RTOS refer :
    processors.wiki.ti.com/index.php

    Also, I have run the cppiTestProject in the pdk_2_0_3 and can confirm that the same issue doesn`t occur with the test code in the new SDK. Please let us know if there is any header files related to QMSS and CPPI that are missing and we can help you locate the header file in the package.

    Regards,
    Rahul
  • Hi Rahul,

    I found no example projects in the pdk_2_0_3 so i tried to run the ones in the pdk_C6678_1_1_2_6 and trying migrating from it with the aid of the migration guide: I was firstly running the cppiExampleProject in the pdk_C6678_1_1_2_6 and then copy-paste portions of code in a project I created to use the pdk_2_0_3. I followed the migration guide and some things solved but still there is some work to do. I was wondering if anybody else has done a test like mine before.

    As I mentioned before, I found no example projects in pdk_2_0_3 and i was running also the cppiTestProject  in the pdk_C6678_1_1_2_6. That one fails for the reasons said in the other post. Could you please give me the path of the examples in the pdk_2_0_3?

    Thank you very much for your support!

    Fabrizio

  • Fabrizio,

    User are required to run the PdkProjectCreate script to generate the CCS projects for the examples in the new PDK. The steps to generate the exaamples is descibed here:
    processors.wiki.ti.com/.../Rebuilding_The_PDK

    Please ensure that you have setup the environment and done the CCS Discovery before you run the script. For cppi and qmss, you can use the following command line option from pdk_2_x_x\packages:

    CPPI Examples command line options:
    pdkProjectCreate.bat C6678 all little cppi dsp

    QM Examples command line options:
    pdkProjectCreate.bat C6678 all little qm dsp

    This will create a directory myExampleProjects under the pdk_2_x_x\packages and install the CCS projects for the driver examples which can then be imported into CCS work space.

    Regards,
    Rahul
  • Hi Rahul,

    I successfully generated the examples for the new sdk.

    As for the previous pdk, cppi_evmc6678_c66BiosExampleProject runs perfectly while cppi_evmc6678_C66BiosTestProject stops on a semaphore during initialization.

    I'm running both projects on the first 4 cores and here is the console output:

    [C66xx_2] **************************************************
    ***************** CPPI LLD Testing ***************
    **************************************************
    *******Test running on Core 2 *******************
    [C66xx_3] **************************************************
    ***************** CPPI LLD Testing ***************
    **************************************************
    *******Test running on Core 3 *******************
    [C66xx_0] **************************************************
    [C66xx_1] **************************************************
    [C66xx_0] ***************** CPPI LLD Testing ***************
    [C66xx_1] ***************** CPPI LLD Testing ***************
    [C66xx_0] **************************************************
    [C66xx_1] **************************************************
    [C66xx_0] *******Test running on Core 0 *******************
    [C66xx_1] *******Test running on Core 1 *******************

    when pausing the cores, they are stuck in the 

    static inline Uint8 CSL_semAcquireDirect (Uint8 semNum)

    function.

    Thank you for your support for the example generation, it was very useful for other tasks too!

    Fabrizio