引用: zbb9612 发表于 2018-6-19 00:56
BCP是navigator device,进出的数据包都由QMSS进行队列管理,所以只需要将数据包压送到队列,BCP会根据优先级的配置进行队列的处理。简单来说应用程序需要做的是根据应用分配好BCP的TX及RX资源,配置相应的优先级,而不需要由应用程序完成更多的资源调度管理。具体请参考BCP手册3.2.3关于queue mapping and prioritization ...
感谢Andy Yin 的解答,在EVM板上,仅在core0上运行bcp例程没问题,如果在core0和core1上同时运行,仅core0能正常通过,core1未通过,发现core1已经把输入数据送给了BCP,中断没有起来。bcp的TX和RX分别有8个channel,修改后core0和core1的TX和RX分别用了不同的channel和Queue,但是core1还是没能正常运行,请问是否还有什么细节地方没有注意到?请给予帮助。(单核到双核测试,主要修改如下:1、MultiProc.setConfig(null, ["CORE0", "CORE1"]); 2、txCfg.txQNum += CSL_chipReadReg (CSL_CHIP_DNUM)。)
测试的的提示信息如下:
[C66xx_0] **************************************************
[C66xx_0] *************** BCP Testing Start ***************
[C66xx_0] **************************************************
[C66xx_0] Using BCP Driver version: 0x1000007 Version Info: BCP Driver Revision: 01.00.00.07:Oct 9 2012:10:11:03
[C66xx_0] [Core 0]: L1D cache size 0. L2 cache size 0.
[C66xx_1] **************************************************
[C66xx_1] *************** BCP Testing Start ***************
[C66xx_1] **************************************************
[C66xx_1] Using BCP Driver version: 0x1000007 Version Info: BCP Driver Revision: 01.00.00.07:Oct 9 2012:10:11:03
[C66xx_1] [Core 1]: L1D cache size 0. L2 cache size 0.
[C66xx_1] Waiting for Sys Init to be completed ...
[C66xx_0] [Core 0]: BCP instance 0 successfully initialized
[C66xx_0] [Core 0]: BCP driver successfully opened
[C66xx_0] Global FDQ 877 successfully setup with 64 descriptors
[C66xx_0]
[C66xx_0] -------------- LTE DL Test Start --------------
[C66xx_0] Rx FDQ 736 successfully setup with 62 descriptors
[C66xx_0] Flow 0 opened to send data to RxQ: 900
[C66xx_0] Tx FDQ 737 successfully setup with 2 descriptors
[C66xx_0] LTE DL Test: PASS
[C66xx_0]
[C66xx_0] -------------- BCP Testing Complete --------------
[C66xx_0] Num Test Failures = 0
[C66xx_0] Waiting for other cores to finish ...
[C66xx_1] [Core 1]: BCP driver successfully opened
[C66xx_1] Global FDQ 878 successfully setup with 64 descriptors
[C66xx_1]
[C66xx_1] -------------- LTE DL Test Start --------------
[C66xx_1] Rx FDQ 737 successfully setup with 62 descriptors
[C66xx_1] Flow 1 opened to send data to RxQ: 901
[C66xx_1] Tx FDQ 738 successfully setup with 2 descriptors
引用: zbb9612 发表于 2018-6-19 00:56
BCP是navigator device,进出的数据包都由QMSS进行队列管理,所以只需要将数据包压送到队列,BCP会根据优先级的配置进行队列的处理。简单来说应用程序需要做的是根据应用分配好BCP的TX及RX资源,配置相应的优先级,而不需要由应用程序完成更多的资源调度管理。具体请参考BCP手册3.2.3关于queue mapping and prioritization ...
感谢Andy Yin 的解答,在EVM板上,仅在core0上运行bcp例程没问题,如果在core0和core1上同时运行,仅core0能正常通过,core1未通过,发现core1已经把输入数据送给了BCP,中断没有起来。bcp的TX和RX分别有8个channel,修改后core0和core1的TX和RX分别用了不同的channel和Queue,但是core1还是没能正常运行,请问是否还有什么细节地方没有注意到?请给予帮助。(单核到双核测试,主要修改如下:1、MultiProc.setConfig(null, ["CORE0", "CORE1"]); 2、txCfg.txQNum += CSL_chipReadReg (CSL_CHIP_DNUM)。)
测试的的提示信息如下:
[C66xx_0] **************************************************
[C66xx_0] *************** BCP Testing Start ***************
[C66xx_0] **************************************************
[C66xx_0] Using BCP Driver version: 0x1000007 Version Info: BCP Driver Revision: 01.00.00.07:Oct 9 2012:10:11:03
[C66xx_0] [Core 0]: L1D cache size 0. L2 cache size 0.
[C66xx_1] **************************************************
[C66xx_1] *************** BCP Testing Start ***************
[C66xx_1] **************************************************
[C66xx_1] Using BCP Driver version: 0x1000007 Version Info: BCP Driver Revision: 01.00.00.07:Oct 9 2012:10:11:03
[C66xx_1] [Core 1]: L1D cache size 0. L2 cache size 0.
[C66xx_1] Waiting for Sys Init to be completed ...
[C66xx_0] [Core 0]: BCP instance 0 successfully initialized
[C66xx_0] [Core 0]: BCP driver successfully opened
[C66xx_0] Global FDQ 877 successfully setup with 64 descriptors
[C66xx_0]
[C66xx_0] -------------- LTE DL Test Start --------------
[C66xx_0] Rx FDQ 736 successfully setup with 62 descriptors
[C66xx_0] Flow 0 opened to send data to RxQ: 900
[C66xx_0] Tx FDQ 737 successfully setup with 2 descriptors
[C66xx_0] LTE DL Test: PASS
[C66xx_0]
[C66xx_0] -------------- BCP Testing Complete --------------
[C66xx_0] Num Test Failures = 0
[C66xx_0] Waiting for other cores to finish ...
[C66xx_1] [Core 1]: BCP driver successfully opened
[C66xx_1] Global FDQ 878 successfully setup with 64 descriptors
[C66xx_1]
[C66xx_1] -------------- LTE DL Test Start --------------
[C66xx_1] Rx FDQ 737 successfully setup with 62 descriptors
[C66xx_1] Flow 1 opened to send data to RxQ: 901
[C66xx_1] Tx FDQ 738 successfully setup with 2 descriptors
举报