HI,
最近在调试6678 的QMSS,所用的demo是在C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_16\packages\ti\transport\ipc\examples\qmssIpcBenchmark,第一次跑demo的时候可以正常运行,如下:
[C66xx_0] ******************printStatistics end********************
[C66xx_0]
[C66xx_0] Throughput via upfront allocation: Allocate all messages up front, sync cores, send all messages from core 0 to core 1
[C66xx_0] ***********The sentmsgnum is 8000.**************
[C66xx_1] ********numReceived = 8000.*******
[C66xx_1] Core 1: Received a total of 8000 messages.
[C66xx_1] Core 1. msgs Received= 8000 time=10630048 (cycles - 10630 us). thrput=752587 [msgs/s]
[C66xx_1] cycles/msg = 1328
[C66xx_1] Core 1: Freeing 8000 MessageQ messages.
[C66xx_1] Core 1: Freed 8000 MessageQ messages.
在第二次跑demo的时候会出现如下问题:
[C66xx_0] ******************printStatistics end********************
[C66xx_0] ti.sdo.ipc.heaps.HeapMemMP: line 757: assertion failure: A_addrNotCacheAligned: Address is not cache aligned
[C66xx_0] xdc.runtime.Error.raise: terminating execution
意思是core0的地址没有对齐,但是我代码没做任何改动过。同样的代码第一次可以,第二次会有错误?请问这会是由什么问题造成的?
谢谢