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.

6678 QMSS DEMO 调试问题

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的地址没有对齐,但是我代码没做任何改动过。同样的代码第一次可以,第二次会有错误?请问这会是由什么问题造成的?

                                                                  谢谢

  • 您好,

    我在EVM6678LE上试了一下,再跑完一次后如果直接再次load out再run,确实存在你说的问题;为了保证DSP的正常执行,请在每次重新load时,对每个core分别执行CPU reset及system reset,然后再load out文件再执行,即可正常运行。