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.

TDA4VM: Decoder failed after a very long time test

Part Number: TDA4VM

Dear experts,

I am asking this question on behalf of my customer.

They have tested with their decoder code for 2 days or more, and find that decoder will fail after long time test.

When the decoder failed, here is the log:

[   5976953]1581962015.070340 s: appDecodeTestCbFn: MM_CB_STRUNIT_PROCESSED done 
[   5976954]1581962015.071389 s: outbuf.buf_addr: d0cfa000, outbuf.size:3133440
[   5976955]1581962015.072331 s: ########## frame MM_DEC_Process callback, chId 0, time 16779132 ##########
[   5976956]1581962015.129158 s: Phy_shmem_resp_t, outbuf_addr:d0cfa000, resp.resp_addr: 3503267840, resp.resp_len: 0 
[   5976957]1581962015.130134 s: ########## frame MM_DEC_Process memcpy, chId 0, time 74582083 ##########
[   5976958]1581962015.134634 s: get para req message: a32ef018,length: 127681 ,data:  phy = c1c44000 phy_base = b5000000 
[   5976959]1581962015.135596 s: decode_server_cbk_req: image: height:1080 width:1920 counter:0 stop_flag:0 len:127681!
[   5976960]1581962015.140399 s: ########## frame MM_DEC_Process, chId 0, time 2488244 ##########
[   5976961]1581962015.144214 s: vxd_handle_single_msg_locked: found item d1d4d000 [destroy: 0]
[   5976962]1581962015.145199 s: vxd_handle_single_msg_locked: adding to done list, item: d1d4d000, msg_size: 7  ,items_done prev cead5014
[   5976963]1581962015.146204 s: vxd_handle_single_msg_locked:item =0xd1d4d000,prev = ce0010a4,next = ce0010a4, item msg_id = 26625, msg_id = 26625, not_last_msg = 0
[   5976964]1581962015.147273 s: stream_worker: item: d1d4d000, payload_size: 28, flags: 0x0
[   5976965]1581962015.148394 s: appDecodeTestCbFn: MM_CB_PICT_DECODED done 
[   5976966]1581962015.150710 s: appDecodeTestCbFn: MM_CB_PICT_DISPLAY done 
[   5976967]1581962015.151672 s: appDecodeTestCbFn: MM_CB_PICT_RELEASE done 
[   5976968]1581962015.152814 s: appDecodeTestCbFn: MM_CB_STRUNIT_PROCESSED done 
[   5976969]1581962015.153875 s: outbuf.buf_addr: d0ff7000, outbuf.size:3133440
[   5976970]1581962015.154822 s: ########## frame MM_DEC_Process callback, chId 0, time 16909988 ##########
[   5976971]1581962015.211612 s: Phy_shmem_resp_t, outbuf_addr:d0ff7000, resp.resp_addr: 3506401280, resp.resp_len: 0 
[   5976972]1581962015.212557 s: ########## frame MM_DEC_Process memcpy, chId 0, time 74647020 ##########
[   5976973]1581962017.142376 s: get para req message: a32ef018,length: 110098 ,data:  phy = c1c44000 phy_base = b5000000 
[   5976974]1581962017.143351 s: decode_server_cbk_req: image: height:1080 width:1920 counter:0 stop_flag:0 len:110098!
[   5976975]1581962017.149083 s: ########## frame MM_DEC_Process, chId 0, time 3388407 ##########
[   5976976]1581962018.020511 s: live signal count pro = 15@6665
[   5976977]1581962018.567512 s: live signal count pro = 1@6609
[   5976978]1581962019.147072 s: vxd_schedule_locked: msgs not empty when the HW is off!
[   5976979]1581962021.146208 s: device DWR(1000ms) expired: resetting!!!
[   5976980]1581962021.147220 s: stream_worker: item: d1d4d000, payload_size: 52, flags: 0x1
[   5976981]1581962021.148204 s: [TID=0x0019106F] [DECODE_FAILED]

And here is a normal log:

rtos_normal.log

They are using PSDKRA 6.2 but with some patches. Video_codec is similar to 7.0. I can provide more details to you if needed.

Please help to review the error log first. They will enable debug print and share more log next step. If needed, we can have webex to debug with JTAG.

[   5976978]1581962019.147072 s: vxd_schedule_locked: msgs not empty when the HW is off!
[   5976979]1581962021.146208 s: device DWR(1000ms) expired: resetting!!!
[   5976980]1581962021.147220 s: stream_worker: item: d1d4d000, payload_size: 52, flags: 0x1
[   5976981]1581962021.148204 s: [TID=0x0019106F] [DECODE_FAILED]

Thanks & Best Regards!

ZM