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.

Video demo fail

Hi ,

   After I setenv for the EVM357, when running the demo: ./encode or ./encodedecode , the failure is : PAL camera connected but NTSC selected. But  decode demo can run normally.      bootcmd is: setenv bootargs nolock mem=30M console=ttyS0,115200n8 noinitrd root=/dev/nfs rw ip=172.16.76.39 nfsroot=172.16.76.28:/opt/nfs, video=dm64xxfb:output=pal

 Thanks for your reply!

Alan

   

  • There is a boot configuration dip switch (S1-10 according to schematics at http://support.spectrumdigital.com/boards/evmdm357/reva/files/EVMDM357_TechRef_RevA.pdf ) which may need to be set for the corresponding video format.

  • Juan, thanks for U reply.                                                                                                                                                                                                                                                        The board  is supplyed by TI's  third  party which have no S1 switch.  The demo in Nand Flash can run normally when booting in Flash, but cannot run when booting in NFS method(Error: PAL camera connected but NTSC selected).  Demo is the same.                                                                                                                       So, how to kill the error ?

  • which third party board is this?

    The dvsdk demos are written to work for our DM357 EVMs (built by Spectrum Digital); normally, boards sold separately by third parties are supported by those third parties and often include their own demos.  However, if it works from flash and not NFS (e.g no hardware dependancies), it would seem like something we may be able to help solve.  Video Sysfs User's Guide (should be included in the dvsdk under PSP_xx_xx_xx_xxx/docs ) describes setting video mode correctly in software which may help.  Another thing to keep in mind is that maybe demo residing in flash is different than demo is NFS file-system, looking thru the source code to figure out how NTSC/PAL mode is read may offer some hints.

     

  • third party is SEED.

  • Alan,

    Are you using u-boot and dvsdk provided for Spectrum Digital DM357 EVM?  If so I am guessing that some part of the software is trying to read S1-10 switch position to determine the hardware state (NTSC or PAL); if this is not available, it may be defaulting to PAL, which may lead to this error.  I assume that demo in flash is a different version and is probrably not checking for this.  That said, I would expect that SEED would take our latest dvsdk software and port it to work on their platform, you may want to contact them to see if they have a newer port than what you are using.  Otherwise, you may have to make the necessary code changes yourself.  If you are using u-boot and uImage from flash and the only difference is file-system (flash vs NFS), the first place I would look is in the demo source code.