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.

RTOS/TMDSEVM572X: HDMI driver for RTOS

Part Number: TMDSEVM572X

Tool/software: TI-RTOS

I am using processor_sdk_rtos_am57xx_3_00_00_04 with ccsv6. In this examples of HDMI interface/communication is not given. 

in  page Doxygen path is given but that is not present. Is there any document for HDMI API description?As I am new to this technology if any example is present to understand the communication protocol for development.

Thanks,

Anjana Pathak

  • The RTOS team have been notified. They will respond here.
  • Anjana,

    The documentation that you are referring to corresponds to the latest version of the Processor SDK RTOS 3.2. The HDMI example in the VPS driver is provided in the latest SDK under the path pdk_am57xx_1_0_5\packages\ti\drv\vps\examples\dss

    Please download the latest SDK and build the VPS examples to test this functionality.

    Hope this helps.

    Regards,
    Rahul
  • Hi,

    We didn't give much details in the Wiki page you mentioned. But in the pdk_am57xx_1_0_4\packages\ti\drv\vps\examples\dss\displayDss\src, we have an example how to call the APIs to do display. The display can be either LCD panel or HDMI. The DispApp_TestParams structure defines it, e.g. ""DSS Video2 (YUY422I) -> TV -> HDMI@1080P60",".

    In the test, you can see it calls FVID2 API likes: fvid2_create()/start()/queue()/dequeue()/stop()/delete().

    Regards, Eric
  • Hi Rahul,

    I had downloaded latest SDK version given.

    But the HDMI example in latest version is for idkAM572x vps_loopbackExample_idkAM572x_armExampleProject. Will it work for evmAM572x?

    Thanks,

    Anjana Pathak

    e2e.ti.com/.../2069699

  • also in wiki page it is metioned that,
    Running Loopback example
    Make sure OV sensor and LCD Panel is connected to the board before running the binary. what is OV sensor?
  • Hi,

    OV sensor is the camera, it is used for video capture. If you test display (LCD, HDMI) only, you can use the DSS example. Loopback example means display what you captured in camera.

    The IDK EVM example doesn't work on GP EVM. You can use the DSS example for GP EVM.

    Regards, Eric
  • Thanks Eric..

    I will try and come up with another query :)

    Anjana Pathak

  • Hi,
    I build a project using DSS example and followed the instruction given at processors.wiki.ti.com/.../Processor_SDK_RTOS_VPS_DRIVERS .
    In this page it is mentioned
    Warning : Due to A15 MMU protection, memory load while CPU is running is not possible. Hence below workaround needs to be done for loading the test files.
    Power up the board
    Connect to A15 Core
    Load both tigf files into memory
    Do a CPU reset on A15
    Load example code for core type
    Run example code

    How do i load both tigf file into memory? which memory it is?
    I am using XDS200 debugger.

    Thanks,
    Anjana Pathak
  • Hi,

    When you run the example, it prompts you to load the .tigf files via CCS scripting console (CCS view ---->scripting console), the loading command is printed from the UART/CCS console, the command has the file name/location and what memory address to load, just run the example and you will see.

    Regards, Eric
  • Hi,

    After compling when i was loading the dss program it took time to load, as shown in screenshot below

    and after program loaded through XDS200 debugger, i run it in debug mode it gave the following error on CCs console

    Please helpme out where i am going wrong? is there any issue with project property as i had replaced the main file from the vps_idkAM572xExaomple_project with DSSDisplay_Main.c file.

    Thanks,

    Anjana Pathak 

  • Hi,

    Please download the latest 3.2 release software-dl.ti.com/.../index_FDS.html and try. You use AM572x IDK EVM and CCS 6.1.3, right?

    " is there any issue with project property as i had replaced the main file from the vps_idkAM572xExaomple_project with DSSDisplay_Main.c file." ========> why you did this? Please make sure to use the original project and code as it is, then you can determine what introduced the delta.

    Regards, Eric
  • Hi,

    I had already downloaded Latest RTOS_SDK 3.2, as mentioned in my previous communication. And i am using GPEVM AM572x.

    I tried creating new CCS project with display DSS example but it was giving me compilation error. i tried to solve but find difficult. as it was not including XDSTool in project property.

    This is the reason i had replaced the main file as mentioned above. I am attaching the prj folder.vps_DisplayDSSExample_evmAM572x_armExampleProject.zip

    Thanks,

    Anjana Pathak

  • Hi Eric,
    I created New CCS Project for DSSDisplay example. Setting project property similar to vps_loopbackExample_idkAM572x_armExampleProject .
    Now i am geting Following warnings
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:41: warning: redeclaration of memory region `OCMC_RAM1'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:42: warning: redeclaration of memory region `OCMC_RAM2'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:43: warning: redeclaration of memory region `OCMC_RAM3'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:81: warning: memory region `APP_UNCACHED_DATA_BLK3_MEM' not declared
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:82: warning: memory region `APP_CACHED_DATA_BLK1_MEM' not declared
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:83: warning: memory region `APP_CACHED_DATA_BLK2_MEM' not declared
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:84: warning: memory region `APP_CODE_MEM' not declared
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: warning: section `.bss' type changed to PROGBITS

    Why these warnnings are coming?

    Anjana Pathak
  • Hi,

    SDK:processor_sdk_rtos_am57xx_3_02_00_05

    EVM: GPEVMAM572x

    Please help me to remove the below runtime error and warnings.

    5: Assertion @ Line: 918 in common/src/vpslib_init.c: (NULL != pObj->vpdmaHandle[halId]) : failed !!!

    Anjana Pathak

  • Anjana,

    There are two ways to build VPS examples. The first is makefile based, this morning I tried to build following the wiki page "make vps", I didn't have any issue to build all the examples, including the DSS example for AM572X GP EVM. The binary is under pdk_am57xx_1_0_5\packages\ti\binary\vps_examples_displayDss\bin\evmAM572x

    Note the makefile approach takes hours to build in the first time due to build of dependent libraries.

    The other way is to use CCS project, which is created from .txt file. Currently only loopback has CCS project. I am trying to build it for DSS example from CCS approach and will update you.

    Regards, Eric
  • Hi,

    I tried to create a .txt file for DSS example (attached)

    -ccs.linkFile "PDK_INSTALL_PATH/ti/drv/vps/examples/dss/displayDss/src/DisplayDss_main.c"
    -ccs.linkFile "PDK_INSTALL_PATH/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_a15.cfg"
    -ccs.setCompilerOptions "-c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DMAKEFILE_BUILD -DNDEBUG   -DTRACE_ENABLE -DASSERT_ENABLE -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD -UVPS_ISS_BUILD -UVPS_SIMCOP_BUILD -UVPS_ISS_ISP_DEF -DVPS_VIP1_BUILD -DVPS_VIP2_BUILD -DVPS_VIP3_BUILD  -DVPS_CAPT_BUILD -DVPS_DISP_BUILD    -DSOC_AM572x -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=A15F -g -gstrict-dwarf -gdwarf-3 -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -MMD -MP -I${PDK_INSTALL_PATH}/ti/drv/vps -I${PDK_INSTALL_PATH}/ti/drv/vps/examples/dss/displayDss/src"  -rtsc.enableRtsc
    -ccs.setLinkerOptions " -lrdimon -lgcc -lm -lnosys -nostartfiles -static -Wl,--gc-sections -L$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu "
    -rtsc.setConfiguroOptions "-b ${PDK_INSTALL_PATH}/ti/build/am572x/config_am572x_a15.bld"
    
    then use pdkprojectcreate to create a CCS project (syntax: ti\pdk_am57xx_1_0_5\packages>pdkProjectCreate.bat AM572x evmAM572x little vps arm), then import into CCS6.1.3, no issue to build (log attached).
    **** Build of configuration Debug for project vps_displayDssExample_evmAM572x_armExampleProject ****
    
    "C:\\ti_6_1_3\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_a15.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/edma3_lld_2_12_02_26/packages;C:/ti/bios_6_46_01_38/packages;C:/ti/pdk_am57xx_1_0_5/packages;C:/ti/ndk_2_25_00_09/packages;C:/ti_6_1_3/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmAM572X -r debug -b "C:/ti/pdk_am57xx_1_0_5/packages/ti/build/am572x/config_am572x_a15.bld" -c "C:/ti_6_1_3/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3" "C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_a15.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring bspCommonBIOS_a15.xa15fg from package/cfg/bspCommonBIOS_a15_pa15fg.cfg ...
    # !!! Current build BOARD is evmAM572x !!!
    generating custom ti.sysbios library makefile ... 
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/./lib/am572x/a15/release/vps_examples_utility.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/./lib/am572x/a15/release/fvid2.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/./lib/am572x/a15/release/vps_boards.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/./lib/am572x/a15/release/vps_osal.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/./lib/am572x/a15/release/vps_platforms.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/./lib/am572x/a15/release/vpsdrv.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/./lib/am572x/a15/release/vpslib.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/./lib/am572x/a15/release/vps_devices.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/./lib/am572x/a15/release/vps_common.aa15fg
    	Linking with library ti.board:./lib/evmAM572x/a15/release/ti.board.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/pm/./lib/am572x/a15/release/pm_example_utils.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/pm/./lib/am572x/a15/release/pm_hal.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/pm/./lib/am572x/a15/release/pm_lib.aa15fg
    	Linking with library C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/pm/./lib/am572x/a15/release/pm_rtos.aa15fg
    	Linking with library ti.drv.i2c:./lib/am572x/a15/release/ti.drv.i2c.aa15fg
    	Linking with library ti.drv.uart:./lib/am572x/a15/release/ti.drv.uart.aa15fg
    	Linking with library ti.csl:./lib/am572x/a15/release/ti.csl.aa15fg
    	Linking with library ti.osal:./lib/tirtos/a15/release/ti.osal.aa15fg
    Starting build of library sources ...
    Build of libraries done.
    cla15fg package/cfg/bspCommonBIOS_a15_pa15fg.c ...
    'Finished building: C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_a15.cfg'
    ' '
    'Building file: C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/examples/dss/displayDss/src/DisplayDss_main.c'
    'Invoking: GNU Compiler'
    "C:/ti_6_1_3/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dam5728 -Dcore0 -DMAKEFILE_BUILD -DNDEBUG -DTRACE_ENABLE -DASSERT_ENABLE -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD -DVPS_VIP1_BUILD -DVPS_VIP2_BUILD -DVPS_VIP3_BUILD -DVPS_CAPT_BUILD -DVPS_DISP_BUILD -DSOC_AM572x -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=A15F -UVPS_ISS_BUILD -UVPS_SIMCOP_BUILD -UVPS_ISS_ISP_DEF -I"C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps" -I"C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/examples/dss/displayDss/src" -I"C:/ti_6_1_3/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -c -Wimplicit -Wunused -Wunknown-pragmas -MMD -MP -MMD -MP -MF"DisplayDss_main.d" -MT"DisplayDss_main.o" -o"DisplayDss_main.o" @"configPkg/compiler.opt" "C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/examples/dss/displayDss/src/DisplayDss_main.c"
    'Finished building: C:/ti/pdk_am57xx_1_0_5/packages/ti/drv/vps/examples/dss/displayDss/src/DisplayDss_main.c'
    ' '
    'Building target: vps_displayDssExample_evmAM572x_armExampleProject.out'
    'Invoking: GNU Linker'
    "C:/ti_6_1_3/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -mfloat-abi=hard -Dam5728 -Dcore0 -DMAKEFILE_BUILD -DNDEBUG -DTRACE_ENABLE -DASSERT_ENABLE -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD -DVPS_VIP1_BUILD -DVPS_VIP2_BUILD -DVPS_VIP3_BUILD -DVPS_CAPT_BUILD -DVPS_DISP_BUILD -DSOC_AM572x -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=A15F -UVPS_ISS_BUILD -UVPS_SIMCOP_BUILD -UVPS_ISS_ISP_DEF -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"vps_displayDssExample_evmAM572x_armExampleProject.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_46_01_38/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"vps_displayDssExample_evmAM572x_armExampleProject.out" "./DisplayDss_main.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lrdimon -lgcc -lm -lnosys -lc -Wl,--end-group 
    c:/ti_6_1_3/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:81: warning: memory region `APP_UNCACHED_DATA_BLK3_MEM' not declared
    c:/ti_6_1_3/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:82: warning: memory region `APP_CACHED_DATA_BLK1_MEM' not declared
    c:/ti_6_1_3/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:83: warning: memory region `APP_CACHED_DATA_BLK2_MEM' not declared
    c:/ti_6_1_3/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:84: warning: memory region `APP_CODE_MEM' not declared
    'Finished building target: vps_displayDssExample_evmAM572x_armExampleProject.out'
    ' '

    Regards, Eric

  • Hi Eric,

    Thanks!

    Now there is no issue with building project but the error comes when i run this project. I am attaching the screenshot. I mentioned it in my last communication. Why assertion is failed?

    Anjana Pathak

  • I am looking into it and will let you know.

    Regards, Eric
  • Hi,

    The assertion came from the failure of vpslib, there is no vpdma instance when configured. It looks that the pdk_am57xx_1_0_5\packages\ti\drv\vps\lib\am572x\a15\release or debug\vpslib was rebuilt when you use makefile option. And the build enviornment is wrong. It should have "DVPS_VIP1_BUILD -DVPS_VIP2_BUILD -DVPS_VIP3_BUILD" in the build option, for some reason this is gone and the re-built library has issue.

    Please:

    1. open a fresh command window and run pdksetupenv

    2. make vps_clean

    3. make vps ====> this will re-build all the libraries

    4. use this newly attached .txt file to create a CCS project, there is -DBOARD=evmAM572x added

    5. import into CCS, build and run

    ======

    Note

    1: In step 3 when compile vpshal.c you should see the build option mentioned above

    gmake[4]: Entering directory `C:/ti/PDK_AM~3/packages/ti/drv/vps/src/vpslib'

    # Compiling am572x:a15_0:debug:vpslib: hal/src/vpshal.c

    C:/ti_6_1_3/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-

    gcc -MD -MF /ti/PDK_AM~3/packages//ti/binary/ti/drv/vps/src/vpslib/obj/am572x/a1

    5/debug/.deps/vpshal.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-prag

    mas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloa

    t-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -D_DEBUG_=1  -DBUILD_A15_0

     -DTRACE_ENABLE -DASSERT_ENABLE -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD

    -UVPS_ISS_BUILD -UVPS_SIMCOP_BUILD -UVPS_ISS_ISP_DEF -DVPS_VIP1_BUILD -DVPS_VIP

    2_BUILD -DVPS_VIP3_BUILD    -DSOC_AM572x -IC:/ti_6_1_3/ccsv6/tools/compiler/gcc-

    arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I/ti/PDK_AM~3/packages/ -I/t

    i/PDK_AM~3/packages//ti/csl -I/ti/PDK_AM~3/packages//ti/drv/vps/src/common -I/ti

    /PDK_AM~3/packages//ti/drv/vps/src/osal -I/apps/apps_nonbam/inc -I/ -I/common  -

    o /ti/PDK_AM~3/packages//ti/binary/ti/drv/vps/src/vpslib/obj/am572x/a15/debug/vp

    shal.oa15fg hal/src/vpshal.c

    2: when run the  application (CCS CIO):

    DISP_DSS_APP: Sample Application - STARTS !!!

    *** VPDMA Firmware Loading... ***

    VPDMA Firmware Address = 0xa0011fc0

    VPDMA Load Address     = 0x4897d004

    VPDMA Firmware Version = 0x4d0001b8

    VPDMA List Busy Status = 0x00000000

    *** VPDMA Firmware Load Success ***

    *** VPDMA Firmware Loading... ***

    VPDMA Firmware Address = 0xa0011fc0

    VPDMA Load Address     = 0x4899d004

    VPDMA Firmware Version = 0x4d0001b8

    VPDMA List Busy Status = 0x00000000

    *** VPDMA Firmware Load Success ***

    *** VPDMA Firmware Loading... ***

    VPDMA Firmware Address = 0xa0011fc0

    VPDMA Load Address     = 0x489bd004

    VPDMA Firmware Version = 0x4d0001b8

    VPDMA List Busy Status = 0x00000000

    *** VPDMA Firmware Load Success ***

    *** VPDMA Firmware Loading... ***

    VPDMA Firmware Address = 0xa0011fc0

    VPDMA Load Address     = 0x489dd004

    VPDMA Firmware Version = 0x4d0001b8

    VPDMA List Busy Status = 0x00000000

    *** VPDMA Firmware Load Success ***

    Build time            : [15:28:28 Jan 12 2017]

    FVID2 Version         : [FVID_02_01_00_01]

    BSP Version           : [BSP_01_08_00_xx]

    Platform              : [EVM]

    SOC                   : [AM572X]

    SOC Revision          : [ES2.0]

    FT Revision           : [3]

    Package               : [UNKNOWN]

    Core                  : [A15]

    Board Detected        : [AM572X GP EVM]

    EEPROM Base Board Name: [AM572PM_]

    Base Board Revision   : [REV A]

    Daughter Card Revision: [REV A]

    Load 4 YUV422I_YUYV video frames of size 1920x1080 to location: 0x0x80c00000

    Trying to Load buffer from SD card.

    Couldnot Load buffer from SD card.

    waiting for 1 min to load buffer from scripting consolePress any key (in UART console) after loading buffer

    loadRaw(0x80c00000, 0, "C:\\display_yuyv422_prog_packed_1920_1080.tigf", 32, false);

    -ccs.linkFile "PDK_INSTALL_PATH/ti/drv/vps/examples/dss/displayDss/src/DisplayDss_main.c"
    -ccs.linkFile "PDK_INSTALL_PATH/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_a15.cfg"
    -ccs.setCompilerOptions "-c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DMAKEFILE_BUILD -DNDEBUG   -DTRACE_ENABLE -DASSERT_ENABLE -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD -UVPS_ISS_BUILD -UVPS_SIMCOP_BUILD -UVPS_ISS_ISP_DEF -DVPS_VIP1_BUILD -DVPS_VIP2_BUILD -DVPS_VIP3_BUILD  -DVPS_CAPT_BUILD -DVPS_DISP_BUILD    -DSOC_AM572x -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=A15F -g -gstrict-dwarf -gdwarf-3 -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -MMD -MP -I${PDK_INSTALL_PATH}/ti/drv/vps -I${PDK_INSTALL_PATH}/ti/drv/vps/examples/dss/displayDss/src"  -rtsc.enableRtsc
    -ccs.setLinkerOptions " -lrdimon -lgcc -lm -lnosys -nostartfiles -static -Wl,--gc-sections -L$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu "
    -rtsc.setConfiguroOptions "-b ${PDK_INSTALL_PATH}/ti/build/am572x/config_am572x_a15.bld -DBOARD=evmAM572x"
    

    Regards, Eric

  • Thanks........

    I will test it and let you know.

  • I did the changes and it works, But how do i load 8.tigf file. I tried  the below steps to load tigf file.

    1. Run the loaded program in debug mode. got the below msg.(no sd card connected to the target)

    Load 4 YUV422I_YUYV video frames of size 1920x1080 to location: 0x0x80c00000

    Trying to Load buffer from SD card.

    Couldnot Load buffer from SD card.

    waiting for 1 min to load buffer from scripting consolePress any key (in UART console) after loading buffer

    loadRaw(0x80c00000, 0, "C:\\display_yuyv422_prog_packed_1920_1080.tigf", 32, false);

    2. i used loadRaw command to load the above tigf file to the given location from Scripting Console of CCS. please look into the attached image.

    3. Selected option 11 and 12 DSSVideo2

    4. got green yellow and pink vertical strips display on HDMI screen.

    I donot now weather this is correct or incorrect....How do in modify or edit those tigf file?......or how do i create new tigf file?

    Thanks,

    Anjana Pathak 

  • Hi,

    I had not created it myself. I believe you can do it with ffplay to playback. https://ffmpeg.org/ffplay.html

    Tigf was a local convention that our development team followed. The file name (before the extension) shows what you are attempting to decode: e.g., 24 bit RGB video file. You can try reading the documentation on ffmpeg/ffplay to play such format. It may also demand an appropriate extension instead of tigf extension.

    Regards, Eric
  • Hi,

    I am getting following error while accessing this site

    This site can’t be reached

    The webpage at ffmpeg.org/documentation.html might be temporarily down or it may have moved permanently to a new web address.

    ERR_TUNNEL_CONNECTION_FAILED
    Anjana Pathak
  • can i use any bit map file to display on HDMI...

    I am getting following error while accessing this site

    This site can’t be reached

    The webpage at ffmpeg.org/documentation.html might be temporarily down or it may have moved permanently to a new web address.

    ERR_TUNNEL_CONNECTION_FAILED

    Thanks,
    Anjana Pathak
  • The site is not mainteined by TI and I just tried it worked for me.

    Regards, Eric
  • TI is up and running...see screen shot below:

  • hi,

    Can i load any jpeg or bitmap file into the memory to display through HDMI?

    Anjana Pathak

  • Hi,

    It is really urgent as my project is getting stuck.

    I am new to the development with HDMI. so i want to know the format of file which can be displayed on monitor through HDMI. some user guide which can help me in my implementation or to understand the HDMI interface/type of file and its format which we will be displayed.

    Thanks,

    Anjana Pathak

  • Hi,

    The display uses video, not static image as input. There is no JPEG decoder so it will not work. For the raw bmp image, it likes a video with one frame. I tried to load it, however it didn't display.

    The format supported is listed in enum Fvid2_DataFormat. The example we used two video format:

    static const DispWbApp_LoadBufCfg gDispDssLoadBufCfg[] =
    {
    /* width, height, pitch, dataFmt, scanFmt, fieldsMerged, numBuffers */
    {DISP_APP_BUF_WIDTH, DISP_APP_BUF_HEIGHT,
    (DISP_APP_BUF_WIDTH * 2), FVID2_DF_YUV422I_YUYV,
    FVID2_SF_PROGRESSIVE,
    FALSE,
    4u},
    {DISP_APP_BUF_WIDTH, DISP_APP_BUF_HEIGHT,
    (DISP_APP_BUF_WIDTH * 3), FVID2_DF_BGR24_888,
    FVID2_SF_PROGRESSIVE,
    FALSE,
    4u},
    };

    Regards, Eric
  • Thanks able to download and open the site..

    I tried to see the content of file "display_yuyv422_prog_packed_1920_1080.tigf" with ffplay with command prompt but it is giving error:

    display_yuyv422_prog_packed_1920_1080.tigf: Invalid data found when processing input
    nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0

    I am able to see jpg and mpg files with ffplay command.

    How do i see the tigf file?

    Anjana Pathak

  • Syntax: "avplay -video_size <wxh> -pixel_format yuyv422 -f rawvideo <path to yuyv file>"
    To list all the supported formats you can run "avplay -pix_fmts"

    In Windows, use ffplay; in Linux, use avplay. It worked for me.

    Regards, Eric
  • Thanks Eric, It works.........................................

    but when i was using the example vps_displayDssExample_evmAM572x_armExampleProject i didn't get the same display on HDMI. I got something different.

    As i asked you in my previous communication that i am loading these files through  scripting console, so is it correct ot there is some other steps to load these tigf files? please confirm , PFA for your reference.

    Anjana Pathak

  • Thanks Eric,

    This works i have tested it on AM572x GP EVM. It would be better if this goes in release notes or wiki, this helps a lot. Even i struggled a lot before i came across this thread.

    Regards
    Nikhil
  • Hi Nikhil,

    How you are loading image(which type) into evmam572x.

    Anjana Pathak

  • Hi Anjana,

    As mentioned above by Eric, i have rebuild the VPS drivers in the SDK and then created DSS project using "pdkProjectCreate.bat" (deleted earlier project and created new project after rebuilding VPS driver). Building this project in CCS, generates a .out file. Clicking on Debug button in CCS, it load .out into CortexA15-0 core and starts running. I am using XDS100V2 USB debug probe.

    Regards
    Nikhil
  • Hi Eric,

    Please reply.....................

    Anjana Pathak

  • Hi,

    The way you build, load outfile and run are correct. The way to using script console to load two video files are also correct.

    The GP EVM only has a 800x480 LCD, so you can see the left upper corner of the video. If the HDMI is connected to a 1920x1080 display, you should see the full video. Other than that, the display on LCD and HDMI is the same.

    For example, test case 0 is YUV to LCD. Test case 11 and 12 are for HDMI + display using the same YUV video as in case 0 (progressive or interrleaving). Our test team and developer had tested them, I don't have a HDMI setup.

    You have the ffplay or avplay to play the video (4 frames) to see what it contains. Then does case 0 look right on LCD? What case 11 or 12 show on TV?

    Regards, Eric
  • Thanks a lot Eric for confirmation..........................

    Anjana Pathak