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.

BCP Simulation on CCS

I am working on CCS Version 5.0.3

I have installed BIOS MCSDK version 2.0.0.11

I don't have 6670 EVM (because of backlog, there is a delay before i get one i ordered). I want to evaluate 6670 Hardware accerlerators particularly BCP.

Is it possible to do so on CCS simulator?. My query is whether CCS supports BCP simulation?. If yes, do i need to patch CCS to accomplish this.

What modifications are needed in example project BCP (\Texas Instruments\pdk_C6670_1_0_0_11\packages\ti\drv\exampleProjects\Bcp_testProject) to build and run BCP Test on CCS simulator.

Thanks

Sunit

 

  • Sunit,

    It is possible to run the BCP in the simulator.  There are some special compiler flags and instructions in the release notes.  After installing the MCSDK, you should find the release notes here:

     

    C:\Program Files\Texas Instruments\pdk_C6670_1_0_0_11\packages\ti\drv\bcp\docs\ReleaseNotes_BCPDriver.pdf

     

    Regards,

    Travis

     

  • tscheck,

    I am now facing  the same problem as Sunit did. Frankly, I didn't get any more information in "ReleaseNotes_BCPDriver.pdf" except for the need to enable the compiler

     flag SIMULATOR_SUPPORT.However my cpu still hangs here:

          /* Wait on data to be received from BCP and validate it. Poll on Rx queue for results. */
            while (Bcp_rxGetNumOutputEntries (hRx) == 0); 

    here are the console outputs:

    [TMS320C66x_0] **************************************************
    [TMS320C66x_0] *************** BCP Example Start ****************
    [TMS320C66x_0] **************************************************
    [TMS320C66x_0] Using BCP Driver version: 0x1000007 Version Info: BCP Driver Revision: 01.00.00.07:Dec  8 2011:11:49:51
    [TMS320C66x_0] [Core 0]: L1D cache size 0. L2 cache size 0.
    [TMS320C66x_0] [Core 0]: BCP instance 0 successfully initialized
    [TMS320C66x_0] [Core 0]: BCP driver successfully opened
    [TMS320C66x_0] Global FDQ 877 successfully setup with 256 descriptors
    [TMS320C66x_0]
    [TMS320C66x_0] -------------- Rel99 DL Test Start ---------------
    [TMS320C66x_0] Rx FDQ 736 successfully setup with 48 descriptors
    [TMS320C66x_0] Flow 0 opened to send data to RxQ: 900
    [TMS320C66x_0] Tx FDQ 737 successfully setup with 16 descriptors
    [TMS320C66x_0] Reading test configuration ...
    [TMS320C66x_0] Sending a packet of len: 104 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 104 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 80 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 80 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 80 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 80 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 64 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 64 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 64 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 64 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 116 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 96 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 96 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 96 to BCP ...
    [TMS320C66x_0] Sending a packet of len: 96 to BCP ...

    then the cpu hangs.What else should I do when running the Bcp_exampleProject on a simulator?

  • striker Qian,

    Have you solved your problem? My CPU also hangs at the same point.

  • I have noticed that the program hangs using the 6670 device, but it works with the 6618.

  • David, just as what you said,the program works with 6618 well but fails to run on 6670(simulation & emulation).I am so confused .Aren't the two dsps the same structure ?Or there're some other reasons? Temporarily I am working to develop software on  6618 simulator platforms.

  • Any IT Forum Fellow answer this question: C6670 has the same function as TCI6618 (from data manual yes they are same), or C6670 has some restriction?

    thanks