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.

[Help] TMX320DM365 Digital Video Evaluation Module (Built-in Demo Problem)

Other Parts Discussed in Thread: THS7353

I recently purchased the TMDXEVM365 board and am suffering trouble out of the box.

I've followed the procedure listed in the TMX320DM365 Digital Video Evaluation Module BETA Setup Guide (2 page booklet).

The DIP switches SW4 / 5 are in their required positions and I have fed the unit various video inputs but no audio.  I've provided:

[Input] 2 Sony handycams via composite and Svideo

[Input] 1 video pattern generator providing composite, NTSC/PAL and Svideo (adjusting SW5 for NTSC/PAL)

 

In all cases, I get no output from the module to my video sink.  The RS232 dump states the following at the end of initializaiton:

 

audio_loopback: underrun occurred
ths7353_setvalue -start
ths7353_setvalue -end
ths7353_setvalue -start
setting data format
Detecting if driver supports COMPONENT
input.name = RAW
input.name = RAW-1
input.name = COMPOSITE
input.name = SVIDEO
input.name = COMPONENT
ths7353_setvalue -end
querystd, erorxxx, val = 1, val1 = 1
error: InitDevice:ioctl:VIDIOC_G_INPUT
Error in setting capture format
Failed to intialize capture
main : Leave

 

It appears the module is unable to lock/detect any video I am giving it.  I have attached the complete bootup log form rs232.

I believe I have followed the instructions to the letter but no dice.

  • can you try running just decode (instead of encodedecode), which does not require any input?  If this works, then the issue is the input source, if it does not, then it may be a configuration setting in u-boot, which we can help you trouble-shoot.

  • Is the module supposed to output something on the to the display to show the unit is up and running?

    I can see no activity on any of the output ports using an oscilloscope.

     

    I am fairly new to this platform and I have raided the included software folder that came with this and I don't see any projects other than "video_loopback_hd-720P" which I hope comes pre-loaded on the unit.

    Have you had a chance to take a look at the rs232 dump I included?  Second, how would I run decode?

  • Hello Juan,

    I hope you can urgently help me. I've completed a solution that boots montivista 100% of SD card on the DM365, without having a NAND flash chip. Once booted, I mount a USB harddrive ... and so on.  My problem is that when I execute the decode application, I get an error:

    DavinciDisplay DavinciDisplay.1: Not MMAP

    Error: Failed to decode video buffer.

     

    My comany needs to URGENTLY complete a product that plays MPEG4 videos to external TVs.

    Please help. I'm also now looking at the gstreamer libraries, to see if this can be used for our product.

    We need to be able to decode any type of mpeg4 file.

     

    Thank you

    Louis Putter

  • I am getting the same problem.

    Here is my bootarg:

     

    bootargs=console=ttyS0,115200n8 ip=10.1.1.176:10.1.1.171:10.1.1.53:255.255.255.0:gokhan:eth0:off noinitrd rw root=/dev/nfs quiet nfsroot=10.1.1.171:/home/gokhan/workdir/filesys, nolock mem=76M video=davincifb:vid0=0,2025K:vid1=0,1350K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal

    Anybody help pls.

  • My dm365 is working with the following bootargs: (after quite a struggle)

    bootargs console=ttyS0,115200n8 noinitrd rw ip=100.1.2.161 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=76M video=davincifb:vid0=0,2500K:vid1=0,2500K:osd0=720x576x16,2025K dm365_imp.oper_mode=0 davinci_capture.device_type=4 davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal

    I am also able to run encodedecode demo as well as encode and decode.

    In the DMAI directory under apps you should be able to run video_display, video_loopback and video_loopback_copy without hassles.  My hassle currently is trying to run video_loopback_blend on the dm365 as the code there is only for the dm6467.  Anyone who can help with blend.c that works for the dm365, help please.

     

  • gknight said:

    Is the module supposed to output something on the to the display to show the unit is up and running?

    Have you had a chance to take a look at the rs232 dump I included?  Second, how would I run decode?

    Hi gknight,

    The EVM does not have a hard-drive or storage device on which to include the software needed to run a demo.  It has NAND flash, which can store the boot-loader and perhaps the Linux Kernel, but I am not sure if the NAND flash is large enough to store the demo software as well nor do I believe it comes pre-loaded.  I got one of the real early EVMs and mines did not come preloaded with demos...does the setup guide suggest it should?

    When I click on your rs232 dump, I get a blank screen.  Not sure if this is a security block inside our firewall or if there is nothing in the file. 

    Finally, what we suggest on our software download page is that you follow the GSG available at http://wiki.davincidsp.com/index.php/DM365_Getting_Started_Guide which has intructions on how to install the software and run the demos.

  • Louis Putter said:

    Hello Juan,

    I hope you can urgently help me. I've completed a solution that boots montivista 100% of SD card on the DM365, without having a NAND flash chip. Once booted, I mount a USB harddrive ... and so on.  My problem is that when I execute the decode application, I get an error:

    DavinciDisplay DavinciDisplay.1: Not MMAP

    Error: Failed to decode video buffer.

    My comany needs to URGENTLY complete a product that plays MPEG4 videos to external TVs.

    Louis,

    The error above seems to be coming from the DMAI software package.   The decode demo included with the DVSDK should be able to play MPEG4, I have done this on my machine.  Where are you getting the MPEG4 file from?  Is this something that you generated with DM365?  I believe the EVMs by default do not support MPEG4 universal decode (only MPEG4 encoded with DM365), we should be coming out with a firmware upgrade to an MPEG4 universl decoder for DM365.. I will check if this is available already.