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.

C66x_h264hpvenc cannot run much time

Dear TI Experts,

Following is my working enviorenment:

Board:EVMK2H V3.0

Software:CCS5.4

Example:C66x_h264hpvenc_01_00_03_00_ELF

I tested the stability of the example on the k2h,and the dsp stopped running when I encoded about 10000~30000 frames(the framesToEncode of encoder.cfg was set  to 100000 ).

For running fastly , I commented the reading and writing files.

I just encoded the one same  frame of YUV 420P data, and tested some more senarios, for example:

1.input:1920x1200       output: high profile, no B frame                result: only encoded 18700 frames

2.input:1920x1200       output: high profile, include I P B frame                result: only encoded 35000 frames

3.input:352X288      output: high profile, include I P B frame                result: only encoded 59500 frames

4.input:1920x1200      output: Baseline profile, include I P B frame                result: only encoded 18700 frames

5.input:1920x1200      output: Baseline profile, include I P B frame, there were two  testcases   and the framesToEncode = 10000           

result: the first testcase  encoded 10000 frames, and the second testcase encode 8700.(this step I wanted  to initialize again, but the same result)

The most result is 18700, and there is a core maybe core7 or core5 abort.   Following is my console print:

numFramesEncoded : 18400
numFramesEncoded : 18500
numFramesEncoded : 18600
numFramesEncoded : 18700
[C66xx_7] ?????????????
xdc.runtime.Error.raise: terminating execution

The above is core7 abort.

another one:

numFramesEncoded : 59400
numFramesEncoded : 59500
[C66xx_2] ??

xdc.runtime.Error.raise: terminating execution

The above were core2 abort.I printed every 100 frames encoded,for runing fastly.

The third:

numFramesEncoded : 7700
numFramesEncoded : 7800
numFramesEncoded : 7900
numFramesEncoded : 8000
numFramesEncoded : 8100
numFramesEncoded : 8200
numFramesEncoded : 8300
numFramesEncoded : 8400
numFramesEncoded : 8500
numFramesEncoded : 8600
[C66xx_1] >mmm>mm>mm>mm>mm>mm>mm>mm>m>mmm������?xdc.runtime.Error.raise: terminating execution
[C66xx_0] >mmm>mm>mm>mm>mm>mm>mm>mm>m>mmm������?xdc.runtime.Error.raise: terminating execution
[C66xx_2] >mmm>mm>mm>mm>mm>mm>mm>mm>m>mmm������?[C66xx_3] >mmm>mm>mm>mm>mm>mm>mm>mm>m>mmm������?[C66xx_4] >mmm>mm>mm>mm>mm>mm>mm>mm>m>mmm������?[C66xx_6] >mmm>mm>mm>mm>mm>mm>mm>mm>m>mmm������?[C66xx_7] >mmm>mm>mm>mm>mm>mm>mm>mm>m>mmm������?[C66xx_2] xdc.runtime.Error.raise: terminating execution
[C66xx_3] xdc.runtime.Error.raise: terminating execution
[C66xx_4] xdc.runtime.Error.raise: terminating execution
[C66xx_6] xdc.runtime.Error.raise: terminating execution
[C66xx_7] xdc.runtime.Error.raise: terminating execution

The following is my ccs picture when the dsp aborted: