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.

C6670 BCP例程问题



在6670开发板上跑mcsdk 里面的BCP例程   C:\ti\pdk_C6670_1_1_2_6\packages\ti\drv\exampleProjects    主要跑的LTE  pdsch ,出现以下输出:

[C66xx_0] **************************************************
*************** BCP Example Start ****************
**************************************************
Using BCP Driver version: 0x1000100 Version Info: BCP Driver Revision: 01.00.01.00:Nov 19 2012:16:11:43
[Core 0]: L1D cache size 0. L2 cache size 0.
[Core 0]: BCP instance 0 successfully initialized
[Core 0]: BCP driver successfully opened
Global FDQ 877 successfully setup with 256 descriptors

-------------- LTE DL Test Start --------------
Rx FDQ 736 successfully setup with 62 descriptors
Flow 0 opened to send data to RxQ: 900
Tx FDQ 737 successfully setup with 2 descriptors
Error reading test vectors/populating packet
LTE DL Test: FAILED

-------------- BCP Testing Complete --------------
Num Test Failures = 1
**************************************************
****************** BCP Example End ***************
**************************************************
[Core 0]: BCP Example Unloaded successfully
BcpAlloc Cnt: 67 BcpFree Cnt: 66
CppiMalloc Cnt: 1 CppiFree Cnt: 0
QmssAlloc Cnt: 0 QmssFree Cnt: 0

  • Hi, 您好!

    读入测试数据的时候,发生错误,您可以看下存放数据的路径是否正确

    谢谢! 

  • 我看了一下路径     

    #ifdef BCP_EXAMPLE_DEBUG
    System_printf ("Cannot open data input file: ..\..\lte\pdsch_inforBits_0002.dat\n");
    #endif

    pdsch_inforBits_0002.dat这个文件是放在lte文件夹下的,然后我把这个文件夹拷贝到Bcp_exampleProject 工程下,还是出现相同问题,,是不是还需要在头文件中加进去?》?另外我还想问问怎么 L1D cache size 0. L2 cache size 0。 最后根据我输出的  是不是其他都是正确的呢?  只是现在还不能加载数据进去呢?谢谢!!

  • Hi, 您好!

    您改成绝对路径试试, 路径不要有空格

    是的,就是数据没有加载进去的问题

    cache size是可以配置的,没有问题

    谢谢!

  • 还是不行啊!

    警告:Invalid project path: Duplicate path entries found (/Bcp_testProject [Include path] isSystemInclude:true includePath:C:/ti/pdk_C6670_1_1_2_6/packages), path: [/Bcp_testProject]. Bcp_testProject pathentry Path Entry Problem

    代码:

    if ((pTestCfgFile = fopen("..\\..\\lte\\pdsch_inforBits_0002.dat\n","r")) == NULL)
    {
    #ifdef BCP_TEST_DEBUG
    Bcp_osalLog ("Cannot open data input file: ..\..\lte\pdsch_inforBits_0002.dat\n");

    或者要不我把工程传你,你帮我跑一下

  • 还是不行啊!

    警告:Invalid project path: Duplicate path entries found (/Bcp_testProject [Include path] isSystemInclude:true includePath:C:/ti/pdk_C6670_1_1_2_6/packages), path: [/Bcp_testProject]. Bcp_testProject pathentry Path Entry Problem

    代码:

    if ((pTestCfgFile = fopen("..\\..\\lte\\pdsch_inforBits_0002.dat\n","r")) == NULL)
    {
    #ifdef BCP_TEST_DEBUG 
    Bcp_osalLog ("Cannot open data input file: ..\..\lte\pdsch_inforBits_0002.dat\n");

    或者要不我把工程传你,你帮我跑一下

  • 现在那个警告已经去除了。但是输出还是:Error reading test vectors/populating packet ,麻烦帮忙看看到底是什么问题,例程跑的就是C:\ti\pdk_C6670_1_1_2_6\packages\ti\drv\exampleProjects\Bcp_exampleProject

    完整输出如下:

    *************** BCP Example Start ****************
    **************************************************
    Using BCP Driver version: 0x1000100 Version Info: BCP Driver Revision: 01.00.01.00:Nov 19 2012:16:11:43
    [Core 0]: L1D cache size 0. L2 cache size 0.
    [Core 0]: BCP instance 0 successfully initialized
    [Core 0]: BCP driver successfully opened
    Global FDQ 877 successfully setup with 256 descriptors

    -------------- LTE DL Test Start --------------
    Rx FDQ 736 successfully setup with 62 descriptors
    Flow 0 opened to send data to RxQ: 900
    Tx FDQ 737 successfully setup with 2 descriptors
    Error reading test vectors/populating packet
    LTE DL Test: FAILED

    -------------- BCP Testing Complete --------------
    Num Test Failures = 1
    **************************************************
    ****************** BCP Example End ***************
    **************************************************
    [Core 0]: BCP Example Unloaded successfully
    BcpAlloc Cnt: 67 BcpFree Cnt: 66
    CppiMalloc Cnt: 1 CppiFree Cnt: 0
    QmssAlloc Cnt: 0 QmssFree Cnt: 0