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.

Problem with DSP/BIOS Video preview example on custom board

Other Parts Discussed in Thread: CCSTUDIO

I am doing video related project with DM6437 and asking help to DSP experts.

We made custom board based on DM6437 EVM schematics and it is working well.  Basically we just need the video feature of DM6437 EVM so we removed unnecessary part of schematic(audio, pci, ethernet, dip switch and so on) execpt video decoder because we need to get video input to DSP and need to make some modification on the video input and get it out via video encoder(DAC) of DSP.  Due to our lack of knowledge for DM6437, we tried not to make any difference other than removing unnecessary schematic parts in order to use the example code which is provided from DVSDK or DSP/BIOS without code modification.     In the beginning, I tried with non-bios based example that is in "C:\CCStudio_v3.3\boards\evmdm6437_v2\tests\video_loopback\video_loopback.pjt" and it was just working well. I can see the video out from the DSP.

Of course I needed to modify some part of the code that checks DIP switch. I had to fix the part to constant value rather than checking DIP switches. 

 Next step, I tried with DSP/BIOS based example that is in "C:\dvsdk_1_11_00_00\examples\video_preview\evmDM6437\video_preview.pjt" then I cannot get the video out from DSP.

I tried same code in EVM boards and I just can get the video out, but with my custom board, I can't get it.  This time I did same job to fix the some value related with DIP switches but I failed. Also I tried upgrading BIOS and DVSDK version but it was also not effective.

I think there should be somthing in BIOS in which checking the hardware But I can't get it because I am not familliar with it. Which part of hardware difference would make this problem?

Please someone help me with the problem and ir would be greatly appreciated.

Best regards,

Sangjoon Park   

  • Hi Sangjoon Park ,

    Could you please mention the BIOS PSP version from where you are refering the driver?

    In the mean time, verify the PINMUX settings and step through the application to find at which point the application could not proceed or comes back with an error.

    Thanks and Regards,

    Sandeep K

     

  • Hi, Sandeep Krishnaswarmy,

     

    I am using the BIOS Version 5.31.08 and I checked older version that it did not work with that either.

    Regarding the PINMUX settings, I left it as is in original example as below;

    sysModuleRegs -> PINMUX0    &= (0x005482A3u);
    sysModuleRegs -> PINMUX0    |= (0x005482A3u); 

    sysModuleRegs -> PINMUX1 &= (0xFFFFFFFEu);
    sysModuleRegs -> VPSS_CLKCTL = (0x18u);

    I also doubt that this settings affect to the functionality but I am not sure which part I have to look into it. That's why I left it as is.

    And when I execute the application, there is no error meassage nor the point that does not prceed.

    Certainly the circuit difference should make this problem, I think.

    So please help me to get through this problem. If you need the whole schematic, I can forward it to you via email.

    Thank you

    Sangjoon Park 

  • Hi Sangjoon Park,

    I need to know the BIOS PSP version so that I can go through the driver and the application to analyze the issue.

    Thanks and Regards,

    Sandeep K

  • Hi Sandeep Krishnaswamy,

    Where can I find the BIOS PSP version? I knew the BIOS 5.31.08 is what you want to know, isn't it?

    Please let me know how I can let you know about that. Sorry about my lack of knowledge.

    Best regards,

    Sangjoon Park

  • Hi, Sandeep Krishnaswamy,

    I have "pspdrivers_1_10_00" in the folder in which the "dvsdk_1_11_00_00" is installed.

    I think that's what you want to know, isn't it? If not, please let me know.

    Many thanks

    Best regards,

    Sangjoon Park

  • Sangjoon Park,

    Thats right.. I wanted to know the pspdrivers_1_10_00..

    In this "pspdrivers_1_10_00" folder, you can see the sample application for video previewer in the path "pspdrivers_1_10_00\packages\ti\sdo\pspdrivers\system\dm6437\bios\evmDM6437\video\sample\build\previewer_on_the_fly\psp_bios_prev_st_on_the_fly_example.pjt".

    To know more about the application, you can refer the user guide "\pspdrivers_1_10_00\packages\ti\sdo\pspdrivers\drivers\previewer\docs\BIOS_PREVIEWER_Driver_UserGuide.pdf", section 4.4.

    You can start with prebuilt binary and then you can go for custmizing the application and then building it. To build the application the Macro "PSP_VIDEO_PATH_ENABLE" needs to be defined.

    The application starts in start_vpss_test() function and then continous, the PINMUX settings can be found here itself. If the application does not work, then you can step through this code and then find out the point at which the application stalls or returns an error.  

    Thanks and Regards,

    Sandeep K

  • Thank you, Sandeep Krishnaswamy,

    I tried as your explanation that I rebuilt the project after enable "PSP_VIDEO_PATH_ENABLE" to be defined.

    But the result was fail. When I execute the prebuilt binary before defining "PSP_VIDEO_PATH_ENABLE" ,

    I get a error message as  "Error: Video port path is not enable in VPFE."

    Then I executed the rebuilt binary after define "PSP_VIDEO_PATH_ENABLE", I get no message.

    Where do I need to see next?

    Best regards,

    Sangjooon Park 

  • Hi Sangjooon Park,

    Sangjoon Park said:

    Where do I need to see next?

    The application starts in start_vpss_test() function and then continous, the PINMUX settings can be found here itself. If the application does not work, then you can step through this code and then find out the point at which the application stalls or returns an error.  

    Thanks and Regards,

    Sandeep K