TI中文支持网
TI专业的中文技术问题搜集分享网站

DM6467,算法运行几次后突然中断了?

程序可以运行,但是处理几帧视频之后就突然停止了。CE_DEBUG=2如下:

 Enter Choice : @6,755,814us: [+0 T:0x419c4b60] ti.sdo.ce.video.VIDENC – VIDENC_
process> Enter (handle=0x6d9a0, inBufs=0x419c44a0, outBufs=0x419c4490, inArgs=0x
419c447c, outArgs=0x419c44b0)
@6,755,995us: [+5 T:0x419c4b60] CV – VISA_allocMsg> Allocating message for messa
geId=0x0003f69d
@6,756,138us: [+0 T:0x419c4b60] CV – VISA_call(visa=0x6d9a0, msg=0x41157880): me
ssageId=0x0003f69d, command=0x0
[DSP] @23,570,969tk: [+5 T:0x8fa49cec] CN – NODE> 0x8fa49bf0(videnc_copy#1) call
(algHandle=0x8fa49c38, msg=0x8fe05880); messageId=0x0003f69d
[DSP] @23,571,125tk: [+0 T:0x8fa49cec] OM – Memory_cacheInv> Enter(addr=0x87ab20
00, sizeInBytes=706560)
[DSP] @23,571,873tk: [+0 T:0x8fa49cec] OM – Memory_cacheInv> return
[DSP] @23,571,954tk: [+0 T:0x8fa49cec] OM – Memory_cacheInv> Enter(addr=0x87f6a0
00, sizeInBytes=706560)
[DSP] @23,572,700tk: [+0 T:0x8fa49cec] OM – Memory_cacheInv> return
[DSP] @23,572,781tk: [+0 T:0x8fa49cec] ti.sdo.ce.video.VIDENC – VIDENC_process>
Enter (handle=0x8fa49c38, inBufs=0x8fa4c0bc, outBufs=0x8fa4c0c8, inArgs=0x8fe059
b8, outArgs=0x8fe059bc)
[DSP] @23,572,978tk: [+5 T:0x8fa49cec] CV – VISA_enter(visa=0x8fa49c38): algHand
le = 0x8fa49c68
[DSP] @23,573,084tk: [+0 T:0x8fa49cec] ti.sdo.ce.alg.Algorithm – Algorithm_activ
ate> Enter(handle=0x8fa49c68)
[DSP] @23,573,196tk: [+0 T:0x8fa49cec] ti.sdo.ce.alg.Algorithm – Algorithm_activ
ate> return
[DSP] @23,573,291tk: [+0 T:0x8fa49cec] ti.sdo.ce.examples.codecs.videnc_copy – V
IDENCCOPY_TI_process(0x88000258, 0x8fa4c0bc, 0x8fa4c0c8, 0x8fe059b8, 0x8fe059bc)
[DSP] @23,575,746tk: [+2 T:0x8fa49cec] ti.sdo.ce.examples.codecs.videnc_copy – V
IDENCCOPY_TI_process> ACPY3 Processed 706560 bytes.
[DSP] @23,575,870tk: [+5 T:0x8fa49cec] CV – VISA_exit(visa=0x8fa49c38): algHandl
e = 0x8fa49c68
[DSP] @23,575,977tk: [+0 T:0x8fa49cec] ti.sdo.ce.alg.Algorithm – Algorithm_deact
ivate> Enter(handle=0x8fa49c68)
[DSP] @23,576,086tk: [+0 T:0x8fa49cec] ti.sdo.ce.alg.Algorithm – Algorithm_deact
ivate> return
[DSP] @23,576,180tk: [+0 T:0x8fa49cec] ti.sdo.ce.video.VIDENC – VIDENC_process>
Exit (handle=0x8fa49c38, retVal=0x0)
[DSP] @23,576,298tk: [+0 T:0x8fa49cec] OM – Memory_cacheWb> Enter(addr=0x87f6a00
0, sizeInBytes=706560)
[DSP] @23,577,046tk: [+0 T:0x8fa49cec] OM – Memory_cacheWb> return
[DSP] @23,577,128tk: [+5 T:0x8fa49cec] CN – NODE> returned from call(algHandle=0
x8fa49c38, msg=0x8fe05880); messageId=0x0003f69d
@6,760,344us: [+0 T:0x419c4b60] CE – Engine_fwriteTrace> returning count [1977]
@6,760,442us: [+0 T:0x419c4b60] CV – VISA_call Completed: messageId=0x0003f69d,
command=0x0, return(status=0)
@6,760,551us: [+5 T:0x419c4b60] CV – VISA_freeMsg(0x6d9a0, 0x41157880): Freeing
message with messageId=0x0003f69d
@6,760,655us: [+0 T:0x419c4b60] ti.sdo.ce.video.VIDENC – VIDENC_process> Exit (h
andle=0x6d9a0, retVal=0x0)
@6,779,180us: [+0 T:0x419c4b60] ti.sdo.ce.video.VIDENC – VIDENC_process> Enter (
handle=0x6d8f0, inBufs=0x419c44a0, outBufs=0x419c4490, inArgs=0x419c447c, outArg
s=0x419c44b0)
@6,779,483us: [+5 T:0x419c4b60] CV – VISA_allocMsg> Allocating message for messa
geId=0x0002edc0
@6,779,630us: [+0 T:0x419c4b60] CV – VISA_call(visa=0x6d8f0, msg=0x41156880): me
ssageId=0x0002edc0, command=0x0
[DSP] @23,662,657tk: [+5 T:0x8fa47774] CN – NODE> 0x8fa47260(videnc_copy#0) call
(algHandle=0x8fa47318, msg=0x8fe04880); messageId=0x0002edc0
[DSP] @23,662,815tk: [+0 T:0x8fa47774] OM – Memory_cacheInv> Enter(addr=0x878000
00, sizeInBytes=706560)
[DSP] @23,663,574tk: [+0 T:0x8fa47774] OM – Memory_cacheInv> return
[DSP] @23,663,664tk: [+0 T:0x8fa47774] OM – Memory_cacheInv> Enter(addr=0x87d640
00, sizeInBytes=706560)
[DSP] @23,664,411tk: [+0 T:0x8fa47774] OM – Memory_cacheInv> return
[DSP] @23,664,496tk: [+0 T:0x8fa47774] ti.sdo.ce.video.VIDENC – VIDENC_process>
Enter (handle=0x8fa47318, inBufs=0x8fa49b44, outBufs=0x8fa49b50, inArgs=0x8fe049
b8, outArgs=0x8fe049bc)
[DSP] @23,664,669tk: [+5 T:0x8fa47774] CV – VISA_enter(visa=0x8fa47318): algHand
le = 0x8fa47348
[DSP] @23,664,778tk: [+0 T:0x8fa47774] ti.sdo.ce.alg.Algorithm – Algorithm_activ
ate> Enter(handle=0x8fa47348)
[DSP] @23,664,895tk: [+0 T:0x8fa47774] ti.sdo.ce.examples.codecs.videnc_copy – V
IDENCCOPY_TI_deactivate(0x88000258)
[DSP] @23,665,005tk: [+0 T:0x8fa47774] ti.sdo.ce.examples.codecs.videnc_copy – V
IDENCCOPY_TI_activate(0x88000250)
[DSP] @23,665,115tk: [+0 T:0x8fa47774] ti.sdo.ce.alg.Algorithm – Algorithm_activ
ate> return
[DSP] @23,665,211tk: [+0 T:0x8fa47774] ti.sdo.ce.examples.codecs.videnc_copy – V
IDENCCOPY_TI_process(0x88000250, 0x8fa49b44, 0x8fa49b50, 0x8fe049b8, 0x8fe049bc)
[DSP] @23,717,227tk: [+2 T:0x8fa47774] ti.sdo.ce.examples.codecs.videnc_copy – V
IDENCCOPY_TI_process> ACPY3 Processed 706560 bytes.
[DSP] @23,717,354tk: [+5 T:0x8fa47774] CV – VISA_exit(visa=0x8fa47318): algHandl
e = 0x8fa47348
[DSP] @23,717,466tk: [+0 T:0x8fa47774] ti.sdo.ce.alg.Algorithm – Algorithm_deact
ivate> Enter(handle=0x8fa47348)
[DSP] @23,717,581tk: [+0 T:0x8fa47774] ti.sdo.ce.alg.Algorithm – Algorithm_deact
ivate> return
[DSP] @23,717,677tk: [+0 T:0x8fa47774] ti.sdo.ce.video.VIDENC – VIDENC_process>
Exit (handle=0x8fa47318, retVal=0x0)
[DSP] @23,717,794tk: [+0 T:0x8fa47774] OM – Memory_cacheWb> Enter(addr=0x87d6400
0, sizeInBytes=706560)
[DSP] @23,718,542tk: [+0 T:0x8fa47774] OM – Memory_cacheWb> return
[DSP] @23,718,624tk: [+5 T:0x8fa47774] CN – NODE> returned from call(algHandle=0
x8fa47318, msg=0x8fe04880); messageId=0x0002edc0
@7,039,183us: [+0 T:0x419c4b60] CE – Engine_fwriteTrace> returning count [2207]
@7,039,282us: [+0 T:0x419c4b60] CV – VISA_call Completed: messageId=0x0002edc0,
command=0x0, return(status=0)
@7,039,389us: [+5 T:0x419c4b60] CV – VISA_freeMsg(0x6d8f0, 0x41156880): Freeing
message with messageId=0x0002edc0
@7,039,492us: [+0 T:0x419c4b60] ti.sdo.ce.video.VIDENC – VIDENC_process> Exit (h
andle=0x6d8f0, retVal=0x0)      程序就停在这里不动了  什么原因呢?

Louis:

    从日志上看,应该是DDR的内存分配失败。建议看一下内存是不是不够了,还是有内存泄露。

Regards,

Louis

changquan wang:

回复 Louis:

Louis,你好!

很感谢你的回答。

由于另外一些事情,这个课题停了一段时间。现在又重新开始做。我们要添加自己的算法,先构建videocopy,但是又遇到问题。

程序进不了DSP。我在另一个帖子里,描述了这个问题。

http://www.deyisupport.com/question_answer/f/39/p/19148/63877.aspx#63877

望不吝赐教,谢谢!

 

赞(0)
未经允许不得转载:TI中文支持网 » DM6467,算法运行几次后突然中断了?
分享到: 更多 (0)