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.

Problems when using C6run with OpenMax

Other Parts Discussed in Thread: TVP7002

Hi,

I am using EZSDK 5.02.02.60 on board DM8168.

I am using C6RUN(00.98.00.00) with OpenMax(05.02.00.15) .

My program will down after worked  1min~4 hours, with the error like below.

Assertion at Line no: 1737 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_00_02_80-r4i/syslink_2_00_02_80/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/MessageQ.c: (MessageQ_module->heaps [heapId] != NULL) : failed
Assertion at Line no: 2880 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_00_02_80-r4i/syslink_2_00_02_80/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/ti81xx/Platform.c: (entry.isValid == TRUE) : failed
Assertion at Line no: 301 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_00_02_80-r4i/syslink_2_00_02_80/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Linux/IpcDrv.c: (status >= 0) : failed
Unable to handle kernel paging request at virtual address db792004
pgd = d1aa8000
[db792004] *pgd=92b73011, *pte=00000000, *ppte=00000000
Internal error: Oops: 7 [#1]
last sysfs file: /sys/devices/platform/musb-ti81xx.0/musb-hdrc.0/usb1/1-1/devnum
Modules linked in: cmemk bufferclass_ti omaplfb pvrsrvkm ti81xxhdmi ti81xxfb vpss syslink ipv6
CPU: 0 Not tainted (2.6.37 #1)
PC is at DM8168DSP_halResetCtrl+0x8c/0x128 [syslink]
LR is at DM8168DSP_halResetCtrl+0x38/0x128 [syslink]
pc : [<bf065a3c>] lr : [<bf0659e8>] psr: 80000013
sp : d199f210 ip : 00000000 fp : d199f22c
r10: 00000000 r9 : d199e000 r8 : bf142c6c
r7 : 400a27b0 r6 : 00000000 r5 : db792000 r4 : 00000000
r3 : db792000 r2 : db792000 r1 : 00050000 r0 : bf0e0482
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 91aa8019 DAC: 00000015
Process PSeriesEBMain (pid: 1106, stack limit = 0xd199e2e8)
Stack: (0xd199f210 to 0xd19a0000)
f200: 00000000 00000000 bf142c6c d7fc3000
f220: d199f24c d199f230 bf0668fc bf0659bc bf142c6c 00000009 d7fc0000 d7fd8000
f240: d199f26c d199f250 bf04bc04 bf066858 6e657265 00646563 d72a9000 d7fd8000
f260: d199f294 d199f270 bf04f204 bf04bb9c 00746174 d1a0a000 00000009 00000000
f280: d1a0a000 00000009 d199fef4 d199f298 bf051da4 bf04f110 c008e0a6 400a27b0
f2a0: 7a737000 614e5342 7300656d 61657241 6d657449 52565000 5f565253 4f525245
f2c0: 61680052 656c646e 69750072 52493233 69740051 735f656d 6563696c 5f616900
f2e0: 6d697463 75720065 6e696e6e 5f640067 5f627472 64726168 696d696c 69750074
f300: 54503233 6c615645 4d006469 4c55444f 54535f45 5f455441 494d4f43 7400474e
f320: 5f636576 65736162 73617400 69735f6b 7300657a 7269645f 626f0074 7463656a
f340: 696b0073 6e61635f 006c6563 74655262 5f737100 6f757175 63006174 5f726f74
f360: 745f6e66 7a737000 656d614e 5f475000 6f747075 65746164 52565000 5f565253
f380: 544d454d 5f455059 4e4b4e55 004e574f 53525650 455f5652 524f5252 414e555f
f3a0: 5f454c42 415f4f54 485f4444 4c444e41 69730045 745f657a 74757000 6572705f
f3c0: 61745f76 62006b73 646e6550 46676e69 00656572 6665726b 52565000 5f565253
f3e0: 4f525245 41465f52 44454c49 5f4f545f 59504f43 4741505f 70005345 5f656761
f400: 65657274 5f6c6600 65707974 474d4900 5552545f 73700045 72616853 79536465
f420: 6e49636e 694c6f66 65007473 726f7078 706f5f74 74617265 736e6f69 474d4900
f440: 4c41465f 73004553 66746174 736d0073 655f7869 6c62616e 69006465 5f74696e
f460: 5f646970 6100736e 49435062 6f736552 65637275 73556e49 6c660065 6572625f
f480: 745f6b61 00656d69 5f474d49 43524f46 4c415f45 004e4749 706f7473 645f7300
f4a0: 70007665 78654e73 004d4b74 74616462 6d6d0061 756f635f 6800746e 74617769
f4c0: 765f7265 6572006d 74003273 626d7568 6c6f7000 4473006c 654d7665 79726f6d
f4e0: 6f666e49 474d4900 5245565f 5f594649 54534554 5f6c6600 6970736e 52570064
f500: 545f5041 5f455059 5f544547 52455355 4741505f 6d005345 655f6973 6c62616e
f520: 65006465 746e6576 6d697400 00745f65 53525650 4d5f5652 4c424d45 7670004b
f540: 61746144 69786500 6c750074 6f796542 6e45646e 64644164 69724f72 696c0067
f560: 50006576 52535256 52455f56 5f524f52 53594850 4444415f 53534552 4358455f
f580: 53444545 4232335f 64005449 62735f71 616d6d00 65735f70 7370006d 756e694c
f5a0: 6d654d78 61657241 73667100 6c626e5f 7500736b 00444969 65726874 665f6461
f5c0: 6975006e 79533233 6548636e 44497061 5f646200 00766564 75736572 6e5f656d
f5e0: 7172696f 63727300 73726576 006e6f69 5256505f 5f565253 4e52454b 4d5f4c45
f600: 495f4d45 5f4f464e 73706100 69766544 6f436563 6e616d6d 74614464 43500061
f620: 54535f49 45525f44 52554f53 00534543 69726570 7100646f 61746f75 006e656c
f640: 6d654d73 006b6c42 5f696370 6e616863 5f6c656e 665f6f69 657a6f72 6c75006e
f660: 65747942 505f0073 52535256 55515f56 5f455545 4f464e49 7063005f 6f635f75
f680: 755f7970 5f726573 68676968 65676170 52565000 5f565253 4f525245 454d5f52
f6a0: 59524f4d 5345545f 41465f54 44454c49 4d427000 746e6f43 00747865 76657270
f6c0: 736f705f 52565000 5f565253 4f525245 4e555f52 454c4241 5f4f545f 5f544547
f6e0: 54535953 435f4d45 4b434f4c 49767000 61445253 50006174 52535256 52455f56
f700: 5f524f52 42414e55 545f454c 45445f4f 4f525453 56455f59 00544e45 665f6173
f720: 7367616c 50534f00 48636f72 72507361 72537669 696e4976 56500074 56525352
f740: 5252455f 535f524f 454e4543 564e495f 44494c41 57655f00 4d706172 79546d65
f760: 005f6570 5f757063 61656c63 73755f72 685f7265 70686769 00656761 72657375
f780: 6d616e5f 61707365 70006563 484d4273 00706165 5f697261 62616e65 0064656c
f7a0: 63616e69 65766974 7461725f 50006f69 52535256 52455f56 5f524f52 444e4148
f7c0: 545f454c 5f455059 4d53494d 48435441 75716400 6f5f746f 61726570 6e6f6974
f7e0: 5f730073 74627573 00657079 735f7066 65746174 5f564b00 5346464f 535f5445
f800: 43555254 41545f54 616c0047 735f7473 6e696769 50006f66 52535256 52455f56
f820: 5f524f52 49564544 505f4543 5245574f 4148435f 5f45474e 4c494146 00455255
f840: 76697270 5f657461 61746164 6e667000 c04aa450 d2810040 90851ceb 000004aa
f860: d2810038 00000001 d199f89c d199f878 c00644e4 c018e974 d23d8044 d23d9080
f880: c04aa408 00000001 d23d90b0 00000000 d199f8c4 d199f8a0 c0064628 c006444c
f8a0: c04aa408 d23d9080 00000001 00000000 c04aa970 00000001 44042500 d7fd8000
f8c0: d3694b00 00000000 c04aa970 00000001 d199f8fc d199f8e0 c0062a54 c0063fbc
f8e0: 00000001 d23d9080 c04aa408 00000000 d199f924 d199f900 c006578c c0062a30
f900: c004ff54 80000193 d185bf5c c04aa964 00000000 00000001 d199f934 d199f928
f920: c00657d8 d23d8038 d199f95c d199f938 c018ea70 c018e87c c04aa450 d23d803c
f940: a692dd6b 000004aa d23d8038 00000001 d199f984 d199f960 c00644e4 c018e974
f960: d23d8044 d23d9080 c04aa408 00000001 d23d90b0 00000000 d3694b00 d23d90b0
f980: d3694b30 c04aa408 d3694b00 d23d90b0 d199f9c4 d199f9a0 c006403c c0061fa0
f9a0: c04aa408 c036d380 d3694b00 00000000 c04aa970 00000001 d199f9e4 d199f9c8
f9c0: c0062a54 c0063fbc 00000001 d23d9080 c04aa408 00000000 d199fa0c d23d9378
f9e0: d199fa14 d199f9f0 c018ea70 c018e87c c04aa450 d23d9380 a692dd6b 000004aa
fa00: d23d9378 25cbcdfc d199fa3c d199fa18 c00644e4 c018e974 d23d9384 d3694840
fa20: c04aa408 00000001 d3694870 25cc40dc d199fa64 d199fa40 c006574c c0061f7c
fa40: d199fa6c a0000193 c04abdc4 bf1d9a6c c04abdc4 c04abdc4 d199fa74 d199fa68
fa60: c006580c c0065734 d199fa84 d199fa78 c0079714 c0065800 d199faa4 d199fa88
fa80: c0079774 c0079700 00000088 c04abdc4 d189dc00 c04abdc4 d199fad4 d199faa8
faa0: c0079a4c c0079724 00000001 00000000 80000113 bf1cae30 d199e000 c04faa8c
fac0: c04fa68c c04fa88c d199faec d199fad8 c0079ab8 c00798b8 c04f9c80 00000100
fae0: d199fafc d199faf0 c0079b00 c0079a90 d199fb0c d199fb00 bf1cae4c c0079af0
fb00: d199fb54 d199fb10 c00725d0 bf1cae3c 25cbcdfc 00004150 25cbcdfc c04fa48c
fb20: d199fb20 d199fb20 c0191014 d199e000 00000100 00000004 d199fb54 d199fb48
fb40: d199e000 00000100 d199fb8c d199fb58 c006cee0 c006cd50 d199fb74 d199fb68
fb60: c005069c 00000043 00000000 00000000 00000000 c04d960b 00000105 00000108
fb80: d199fb9c d199fb90 c006cf4c c006359c d199fbb4 d199fba0 c0038080 c006cf04
fba0: ffffffff fa200000 d199fc74 d199fbb8 c0366bb4 c003800c c04aa998 09b83251
fbc0: 00000001 60000013 c04aa954 c014f497 00000000 00000000 c04d960b 00000105
fbe0: 00000108 d199fc74 d199fbd8 d199fc00 c006861c c0068c48 20000013 ffffffff
fc00: d199fc1c 00000001 60000013 0000010b c0191014 c018f888 d199fed0 d199fd95
fc20: 00000002 bf10ed8b ffffffff bf10ed97 d199fed0 d199fda2 d199fc8c d199fda2
fc40: d199fed0 c0191da0 ffffffff d199fca4 c014f497 ffffffff 00000006 400a279c
fc60: d199e000 00000000 d199fc8c d199fc78 c0364cec c0068924 d199e000 d199fc94
fc80: d199febc d199fca0 bf07c7d4 c0364cd8 d199fca4 bf10ed97 2e660358 00000000
fca0: d199fcbc 413e313c 72657373 6e6f6974 20746120 656e694c 3a6f6e20 31303320
fcc0: 206e6920 6377732f 732f656f 632f6b64 656e2f6d 2f617274 67617261 6d742d6f
fce0: 6f772f70 642f6b72 3631386d 76652d78 6f6e2d6d 6c2d656e 78756e69 756e672d
fd00: 69626165 2d69742f 6c737973 2d6b6e69 30305f32 5f32305f 722d3038 732f6934
fd20: 696c7379 325f6b6e 5f30305f 385f3230 61702f30 67616b63 742f7365 79732f69
fd40: 6e696c73 74752f6b 2f736c69 736f6c68 6c6e6b2f 6e694c2f 2e2f7875 2e2e2f2e
fd60: 2f2e2e2f 2e2f2e2e 2e2e2f2e 2f69742f 6c737973 2f6b6e69 2f637069 736f6c68
fd80: 6c6e6b2f 6e694c2f 492f7875 72446370 3a632e76 74732820 73757461 203d3e20
fda0: 3a202930 69616620 0a64656c 00000000 d199fde4 d199fdc0 bf073dc4 bf07272c
fdc0: dc277000 00000008 bf07d4f8 000003e8 00000000 ffffffff d199fea4 d199fde8
fde0: bf062314 bf072678 ffffffff bf0de751 d199fe24 d199fe00 bf074200 bf07272c
fe00: bf0742a0 bf072678 c0038080 d72c4000 00000000 db35a000 d199fe3c d199fe28
fe20: bf09e2cc bf07418c db354000 00000000 d199fe5c d199fe40 bf093248 bf07272c
fe40: 00000000 dc007500 dc007500 dc007500 d199fe94 d199fe60 00000000 00000000
fe60: 00000000 00000001 00000080 00000001 00000000 c01cf35a 400a2774 00000011
fe80: babe0002 00000000 00000000 bf142c6c 400a279c ffffffff d199fecc d199fea8
fea0: bf095ea8 d199fec4 ffffffff 400a279c d199fef4 d199fed0 bf0cf1f0 bf07c794
fec0: d199fef4 d199fed0 bf0cf3cc bf072678 c014f497 00000000 d1a0a000 00000009
fee0: 00000009 400a27b0 d199ff04 d199fef8 c00cbe68 bf050d30 d199ff74 d199ff08
ff00: c00cc578 c00cbe4c d199ff34 d199ff18 00000000 00000000 fffffffd 00000000
ff20: d199ff54 d199ff30 c0368c8c c003e170 d357a01c d3694b00 00000017 d3487b80
ff40: d199e000 00000000 d199ff6c 00000000 400a27b0 c008e0a6 00000009 d1a0a000
ff60: d199e000 00000000 d199ffa4 d199ff78 c00cc610 c00cc084 d199ffac 00000001
ff80: c0365404 400a27b0 00000000 00000000 00000036 c0042f48 00000000 d199ffa8
ffa0: c0042da0 c00cc5c4 400a27b0 00000000 00000009 c008e0a6 400a27b0 00000001
ffc0: 400a27b0 00000000 00000000 00000036 40201e88 401fd8e0 40201ed8 400a27e4
ffe0: c008e0a6 400a2780 400d5464 40937aec 60000010 00000009 6c635f72 5f6b636f
Backtrace: 
[<bf0659b0>] (DM8168DSP_halResetCtrl+0x0/0x128 [syslink]) from [<bf0668fc>] (DM8168DSPPROC_stop+0xb0/0x140 [syslink])
r5:d7fc3000 r4:bf142c6c
[<bf06684c>] (DM8168DSPPROC_stop+0x0/0x140 [syslink]) from [<bf04bc04>] (Processor_stop+0x74/0xf8 [syslink])
r5:d7fd8000 r4:d7fc0000
[<bf04bb90>] (Processor_stop+0x0/0xf8 [syslink]) from [<bf04f204>] (ProcMgr_stop+0x100/0x1c0 [syslink])
r5:d7fd8000 r4:d72a9000
[<bf04f104>] (ProcMgr_stop+0x0/0x1c0 [syslink]) from [<bf051da4>] (ProcMgrDrv_ioctl+0x1080/0x1dd8 [syslink])
r6:00000009 r5:d1a0a000 r4:00000000
[<bf050d24>] (ProcMgrDrv_ioctl+0x0/0x1dd8 [syslink]) from [<c00cbe68>] (vfs_ioctl+0x28/0x44)
r8:400a27b0 r7:00000009 r6:00000009 r5:d1a0a000 r4:00000000
[<c00cbe40>] (vfs_ioctl+0x0/0x44) from [<c00cc578>] (do_vfs_ioctl+0x500/0x540)
[<c00cc078>] (do_vfs_ioctl+0x0/0x540) from [<c00cc610>] (sys_ioctl+0x58/0x7c)
[<c00cc5b8>] (sys_ioctl+0x0/0x7c) from [<c0042da0>] (ret_fast_syscall+0x0/0x30)
r8:c0042f48 r7:00000036 r6:00000000 r5:00000000 r4:400a27b0
Code: e3540002 059f408c 1a000009 ea000012 (e5952004) 
---[ end trace a8c410fcc6fdea88 ]---
omap_i2c omap_i2c.1: rpm_resume flags 0x4
omap_i2c omap_i2c.1: omap_pm_runtime_resume
omap_i2c omap_i2c.1: rpm_resume returns 0
omap_i2c omap_i2c.1: rpm_suspend flags 0x0
omap_i2c omap_i2c.1: omap_pm_runtime_suspend
omap_i2c omap_i2c.1: rpm_suspend returns 0
omap_i2c omap_i2c.1: rpm_resume flags 0x4
omap_i2c omap_i2c.1: omap_pm_runtime_resume
omap_i2c omap_i2c.1: rpm_resume returns 0
omap_i2c omap_i2c.1: rpm_suspend flags 0x0
omap_i2c omap_i2c.1: omap_pm_runtime_suspend
omap_i2c omap_i2c.1: rpm_suspend returns 0
omap_i2c omap_i2c.1: rpm_resume flags 0x4
omap_i2c omap_i2c.1: omap_pm_runtime_resume

Q1,Is there any advises about this problem?

Q2, what means about the error on omap_i2c1?  

Is it the error message about VPSS? BTW, we didn't use any Encode/decode chip such as TVP7002 on our board.

Regards,

lei

  • Hi Lei,

         Actually the problem is the initial Assert messages, not the i2c. you might not get good support with this post, as the EZSDK stopped supporting C6Run in later releases. & the one you are referring old release. But i hope below info will guide you in this.

         With this EZSDK release there is a known issue that CodecEngine (c6run is based on CE) and OMX can not run concurrently, & you will see the above behavior.

         Below steps would ensure to run them concurrently. You might probably need to move latest version of EZSDK at http://software-dl.ti.com/dsps/dsps_public_sw/ezsdk/latest/index_FDS.html before doing this.

         1. Ensure that C6Run memory allocation is as per the EZSDK memory map (OMX is already as per this memory map, EZSDK memory map at http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map.

         2. Update the C6Run DSP side cfg file with the below changes

              2.1 C6Run DSP side CFG file any reference to Shared Region 1 must be modified to use Shared region 0 itself, As Shared region1 is used by OMX.

              2.2 The above change must be done at Linux side also

         3. Rebuild C6Run and execute.

         Even with above change we have noticed that the shutdown (Startup is fine) of one of the above app fails, fix for that will be provided in next EZSDK release.

    Thanks & Regards

    Velan

  • Hi Velan,

    Thank you for you reply.

    We found that a memory leak bug was fixed in UIA 1.01.01.14,

    (SDOCM00093458 Memory leak in UIA) 

    Should I update UIA to latest release in EZSDK 5.04?

    Regards,

    Lei

  • Hi Velan,

    Velan said:

      2. Update the C6Run DSP side cfg file with the below changes

              2.1 C6Run DSP side CFG file any reference to Shared Region 1 must be modified to use Shared region 0 itself, As Shared region1 is used by OMX.

    Do you mean config.mak file under C6run install folder?

    Here is the config.mak file in C6run 0.98.03.03

    PLATFORM=TI816x
    C6RUN_INSTALL_DIR=/media/ezsdk/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/C6Run_0_98_03_03
    IPC=syslink
    DSPOS=sysbios6
    GPPOS=linux
    SHAREDMEM=cmem
    DSP_REGION_BASE_ADDR=0x96C00000
    DSP_REGION_CMEM_SIZE=0x02000000
    DSP_REGION_CODE_SIZE=0x01500000

    I didn't find the config about the Share Region you said,

    can you tell me which file should I make those changes?

    Velan said:
         1. Ensure that C6Run memory allocation is as per the EZSDK memory map (OMX is already as per this memory map, EZSDK memory map at http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map.

    And I found there are 3 Share Regions in EZSDK Memory Map page.

    Can you tell me which one is the Share Region 0?

    Thank you .

    Regards,

    Lei

  • Hi Velan,

    this thread is near to  the subject of this yet unanswered thread. Your answer spends much hope, but for me it is somewhat too unconcretely. The memory map settings are spread out over so much *.cfg, *.bld, *.xs configuration files... although a lot of that probably just has to be obverloaded somehow, it is not even simple to get an overview over all that. (In my case I fight to get a CodecEngine-based application (ARM/DSP) running concurrently to an OMX application (ARM/HDVPIC - H.264 compression), we already use EZSDK 5.04.00.11. 

    Velan said:
    Even with above change we have noticed that the shutdown (Startup is fine) of one of the above app fails, fix for that will be provided in next EZSDK release.

    That lets me hope, but: when will that release be available? And, much more, will then possibly the whole problem be solved, and running CodecEngine concurrently with OMX applications then is no longer a problem? And currently we care around problems which then no longer will exist?

    Last not least I want to mention this thread:

    How to use codec engine or C6Run component together with omx component in ezsdk5.03?

    Maybe it will help you, Lei, we are currently analyzing the hints from there, but not yet solved the problem. If I know more, I'll post it here.

    Kind regards,
    Joern.

  • Hi Joern,

    Thank you very much for your help.

    Joern said:
    The memory map settings are spread out over so much *.cfg, *.bld, *.xs configuration files...

    Do you mean that the C6Run/CodecEngine cannot work concurrently with OMX application because of some resouce (Share Region or something) conflict in EZSDK 5.03 or 5.04.

    And to fix this I should modify the config files in C6Run/CodecEngine as the page below you mentioned.

    Joern said:

    In our program, we just use OMX to capture from cameras,

    so if  we change OMX to V4L2 , that problem will be not exsit, am I right?

    Regards,

    Lei

  • Hi Lei,

    Lei Wong said:
    Do you mean that the C6Run/CodecEngine cannot work concurrently with OMX application because of some resouce (Share Region or something) conflict in EZSDK 5.03 or 5.04.

    Yes, all information puzzle pieces I've seen until now lead me to that assumption. Most concrete concerning that is the mentioned thread.

    Lei Wong said:
    In our program, we just use OMX to capture from cameras, so if  we change OMX to V4L2 , that problem will be not exist, am I right?

    I am not sure about that. But I'd assume that also the Video4Linux driver will bring some memory map settings, which might conflict as well. However, we're using OMX not only for capturing (in the end via an V4L driver, too), but also to control an H.264 encoder. So in each case we need to know about the exact reason for the problem. The mentioned thread gave us a concrete hint, but for some reason I've found that thread only in the very last few days, so yet we haven't that tried out completely. If we should find to any progress concerning that, then of course I'll post it here.

    But until then it was very kind if some of the most helpful TI people concerning EZSDK/CodecEngine/Syslink, like Janet, Rahul, Ramsey or Chris  (sorry if I forgot somebody, but these four I've always in my mind) might give some hints.

    Kind regards,
    Joern.

  • Lei,

    The people you mention are all on the SysLink team. We provide the low level IPC implementation. Other products such as C6Run, OMX, V4L2, all build on top of SysLink. Each of these products have their own resource requirements (e.g. memory map, shared regions, etc). These products are typically developed for specific markets (audio, video, medical) and are not designed with for foresight needed to integrate them into one application.

    Unfortunately, there is little advice we can offer regarding the integration of these products. We will try to address specific questions, but our expertise is focused on SysLink, not these products.

    ~Ramsey

  • Hi Joern,

    Joern said:

    Do you mean that the C6Run/CodecEngine cannot work concurrently with OMX application because of some resouce (Share Region or something) conflict in EZSDK 5.03 or 5.04.

    Yes, all information puzzle pieces I've seen until now lead me to that assumption. Most concrete concerning that is the mentioned thread.

    [/quote]

    As I transplant C6RUN 0.98.0.0 to ezsdk 5.04, the program may stop after about 15 minutes without any massage, and sometimes it can work more than 2 hours without any error, though I didn't change any share memory settings in the source code.

    I use fprintf to print out debug messages from DSP, and I found that the program often stopped before the DSP function return or before the DSP function start.

    Do you have any idea about this problem?

    Regards,

    Lei