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.
Hi Devang,
Do you have any console output when the DM814x board hangs?
Regards,
Pavel
Devang,
Please have a look in the below e2e threads, might be in help:
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/341096.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/135027/485599.aspx#485599
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/341282.aspx
http://e2e.ti.com/support/embedded/linux/f/354/t/168995.aspx
http://e2e.ti.com/support/embedded/linux/f/354/t/254362.aspx
Regards,
Pavel
Hi Pavel,
Thanks for your quick reply,
No, we are not getting any output on console on system hang up, we are getting only application prints like "short read, read -5 frames" before system hang up.
Thanks,
Devang
Hi Pavel,
Thanks for sharing e2e links, but we couldn't get any help from this links about this hang issue.
Our system is working fine with each resolution, but we are facing hang problem when we attenuate the video source signals.
Thanks,
Devang
Hi ,
I suggest you using CCS+Emulator to check if A8 core or M3 core is dead or not.
As the gs2971a is a SDI decoder, I doubt the signals output by gs2971a has something wrong so it makes the DM8148 hang. Check gs2971a datasheet , if it will stop output when weak signal detected, or the output format is not correct. This might cause the capture of DM8148 run into abnormal status. Do you have any logs when you attenuate the signal? I believe it could give us a clue.
BR,
Eason
Hi Eason,
We have checked using ICE debugger and we found that A8 core is working,
Please find attached log of our application & hdvpss for your reference,
root@dm814x-evm:/home/cvic# ./evm_streaming_app_a8host_debug.xv5T All parameters parsed ================================================================ PARSED PARAMS ================================================================ Encoded video output file : sample.h264 Encoder's Frame-Rate : 50 Video encoder's bit-Rate : 200000 Scaler enabled: 0 Scaled width : 1280 Scaled height : 720 De-interlacer enabled : 1 No of Frames to Encode : 10000 No of B-Frames : 0 No of P-Frames : 8000 Rate-control parameter preset : 1 Rate-control algorithm : 0 Initial QP value for I-Frame : -1 Initial QP value for P-Frame : -1 Initial QP offset for B-Frame : 4 QP max value for I-Frame : 36 QP max value for P-Frame : 44 QP max value for B-Frame : 44 Allow No of Frames to skip to achive disered bit-rate : 1 Inter-coding parameter preset : 0 Horizontal Search Range for P-Frames : 0 Vertical Search Range for P-Frames : 0 Horizontal Search Range for B-Frames Vertical Search Range for B-Frames : 0 Min Block size for P-Frames : 0 Min Block size for B-Frames : 0 Encoded audio output file : sample.aac No of Audio Channels : 2 Audio encoder's bit-Rate : 192000 Audio sample rate : 44100 ================================================================ RUNNING LIVE-U EVM STREAMING APPLICATION ================================================================ OMX_Init completed UIAClient is ready to send a UIA configuration command UIAClient received UIA_CONFIGURE_ACK UIAClient is done sending requests UIAClient is ready to send a UIA configuration command UIAClient received UIA_CONFIGURE_ACK UIAClient is done sending requests CVIC_LU200 Openeing 'sample.h264' file for writing encoded data Openeing 'sample.aac' file for writing encoded data capture compoenent is created Video detected successfully... : d detected std : 13 Detected video starndard : 1080P_60 Buffer Size computed: 3110400 set input port params (width = 1920, height = 1080)######## function IL_ClientSetCaptureParams line 1589 ########## enable capture output port got eventEnable/Disable Event dei compoenent is created set input port params (width = 1920, height = 1080) set output port params (width = 1920, height = 1080) set output port params (width = 1920, height = 1080) set number of channels set input resolution set output resolution enable dei input port got eventEnable/Disable Event enable dei output port 0 got eventEnable/Disable Event enable dei output port 1 got eventEnable/Disable Event encoder compoenent is created success OMX_IndexParamVideoAvc getparams success OMX_IndexParamVideoAvc setparams found handle 0x12b4a8 for component OMX.TI.VPSSM3.VFDC got display handle found handle 0x12f4b0 for component OMX.TI.VPSSM3.CTRL.DC Buffer Size computed: 1555200 set input port params (width = 1920, height = 1080)setting input and output memory type to defaultenable input port got eventEnable/Disable Event connect call for capture-Dei connect call for dei- encoder connect call for dei-display Capture outport buffers allocated got eventState changed to: OMX_StateIdle Capture is in IDLE state Dei input port use buffer done DEI outport buffers allocated got eventState changed to: OMX_StateIdle DEI is in IDLE state encoder input port use buffer done encoder outport buffers allocated got eventState changed to: OMX_StateIdle Encoder state IDLE got eventState changed to: OMX_StateIdle ctrl-dc state IDLE display buffers allocated waiting for IDLEgot eventState changed to: OMX_StateIdle display state IDLE got eventState changed to: OMX_StateExecuting display control state execute got eventState changed to: OMX_StateExecuting display state execute got eventState changed to: OMX_StateExecuting encoder state execute got eventState changed to: OMX_StateExecuting dei state execute got eventState changed to: OMX_StateExecuting capture state execute Component transitioned from Idle to Execute Here in the CVIC_LU200 case ################# using periodsize 1025 instead of 1024 file write thread created encode connect thread created dei connect thread created capture connect thread created display connect thread created executing the application now!! Camera Monitor event Camera Monitor event etb called
Thanks,
Devang
Hi Eason,
Yes you are right, sdi decoder(gs2971a) may be culprit but We have another custom board in which we captured video from VIN[1]A, And we have used same sdi decoder(gs2971a) in that board.
We tested same scenario on that board but we didn't observed this hang issue, capture video on port VIN[1]A while attenuate the video signals.
Is there any port specific settings in hdvpss capture driver for related this?
Thanks,
Devang
Would you let me know the RDK version of these 2 boards? Are they running the same SW ?
BR,
Eason
Hi Eason,
Yes, we are using same ezsdk version ezsdk_dm814x-evm_5_05_01_04 in these boards.
We are not using RDK.
Thanks,
Devang
Hi Eason,
Any update on this?
Please let me know if you have any query.
Thanks,
Devang