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.

Linux/AM5728: RTOS examples build issues

Part Number: AM5728
Other Parts Discussed in Thread: TMDSCM572X, SYSBIOS

Tool/software: Linux

Hi,

I am using am5728 evm  on rtos linux sdk latest 05. i installed pdk and myexamples projecr creation. imorted into ccs8 . I imported blinkledarm572x and DCAN examples . when i tried to build it showa some error. In DCAN example I2Csoc.c is unrefferenced. and in led example mono not found.   guide me how to resolve these errors.  suggest me  any example in pdk file for video capturing in rtos linux sdk. for camera module attached on the board. 

Thaks and regards,

K Subrahmaniam

  • The RTOS team have been notified. They will respond here.
  • Part Number: AM5728

    Tool/software: TI-RTOS

    HI,

    while building GPIO_LedBlink_evmAM572x_c66xTestProject in ccs8 . i got the error it is not build successfully. suggest me how to resolve this.

    How should i import the vps file and build. because it is not selected. please guide me.

    thanks ,

    K subrahmaniam

  • Hi,

    It looks that you didn't install mono package in your Linux machine. Also, the error came from the post-processing, you can ignore it else you are producing some boot image.

    The out file is already built and you can load it into DSP core and run.

    Regards, Eric
  • Hi,

    For video capture, please refer to: software-dl.ti.com/.../Device_Drivers.html

    For DCAN, I am not sure what example you are referring to, there is no DCAN driver inside Processor SDK RTOS. But there are DCAN diagnostics and CSL example under pdk_am57xx_1_0_11\packages\ti\csl\example\dcan\dcanLoopback with both bare metal and RTOS. Please elaborate and show the error log.

    Regards, Eric
  • Hi,
    I imported dcan fromPdk/packages/examples. Can I use i as dcan driver to receive can data. What is the path of vps example project to capture video to import into CCS 8. From pdk/packages/ti/drv/vps I is not ipmoeting. Can I use vps api or vipcapture api to capture video from camera provided with am5728 evm. Guide me the path from where to import camera api. Using rotos linuxsdk. And guide me dcan also.
    Thanks and regards,
    K Subrahmaniam
  • Search through millions of questions and answers15User

    TI E2E™ Community
    Processors
    Processors Forum
    More
    Ask a related question
    What is a related question?
    Ask a new question
    Linux/AM5728: RTOS examples build issues
    ks prasad
    Part Number: AM5728

    Tool/software: Linux

    Hi,

    I am using am5728 evm on rtos linux sdk latest 05. i installed pdk and myexamples projecr creation. imorted into ccs8 . I imported blinkledarm572x and DCAN examples . when i tried to build it showa some error. In DCAN example I2Csoc.c is unrefferenced. and in led example mono not found. guide me how to resolve these errors. suggest me any example in pdk file for video capturing in rtos linux sdk. for camera module attached on the board.

    Thaks and regards,

    K Subrahmaniam

    linux, AM5728Edit tags
    ks prasad
    Sep 26, 2018 3:29 PM
    Reply More
    5 Replies

    Biser Gatchev-XID
    Sep 26, 2018 5:56 PM
    The RTOS team have been notified. They will respond here.


    Best Regards
    Biser
    AM5728
    Reply This resolved my issue More
    ks prasad
    Sep 27, 2018 9:28 AM
    Part Number: AM5728

    Tool/software: TI-RTOS

    HI,

    while building GPIO_LedBlink_evmAM572x_c66xTestProject in ccs8 . i got the error it is not build successfully. suggest me how to resolve this.

    How should i import the vps file and build. because it is not selected. please guide me.

    thanks ,

    K subrahmaniam

    TI-RTOS, AM5728Edit tags
    Reply This resolved my issue More
    lding
    Sep 27, 2018 2:04 PM
    In reply to ks prasad:

    Hi,

    It looks that you didn't install mono package in your Linux machine. Also, the error came from the post-processing, you can ignore it else you are producing some boot image.

    The out file is already built and you can load it into DSP core and run.

    Regards, Eric
    AM5728
    Reply This resolved my issue More
    lding
    Sep 27, 2018 2:09 PM
    In reply to lding:

    Hi,

    For video capture, please refer to: software-dl.ti.com/.../Device_Drivers.html

    For DCAN, I am not sure what example you are referring to, there is no DCAN driver inside Processor SDK RTOS. But there are DCAN diagnostics and CSL example under pdk_am57xx_1_0_11\packages\ti\csl\example\dcan\dcanLoopback with both bare metal and RTOS. Please elaborate and show the error log.

    Regards, Eric
    AM5728
    Cancel This resolved my issue More


    Reply This resolved my issue Insert Code, Attach Files and more...
    ks prasad
    Sep 27, 2018 5:10 PM
    In reply to lding:

    Hi,
    I imported dcan fromPdk/packages/examples. Can I use i as dcan driver to receive can data. What is the path of vps example project to capture video to import into CCS 8. From pdk/packages/ti/drv/vps I is not ipmoeting. Can I use vps api or vipcapture api to capture video from camera provided with am5728 evm. Guide me the path from where to import camera api. Using rotos linuxsdk. And guide me dcan also.
    Thanks and regards,
    K Subrahmaniam
  • Hi,

    Please use one thread to discuss one topic to avoid confusion, either DCAN or VPS. I saw you mostly asked about the VPS, I am trying to answer the VPS question below:

    All the driver examples are created with pdkprojectcreate script, see software-dl.ti.com/.../Overview.html

    subsection 1.4.5.1.4. PDK Example and Test Project Creation.

    After the project creation, there will be AM57x VPS projects under pdk_am57xx_1_0_11\packages\MyExampleProjects. So you can import them into CCS to build.

    Regards, Eric
  • Hi,
    Thank you, I follow the instructions as it is. I did not get AM57x VPS project under pdk_am57xx_1_0_11\packages\MyExampleProjects. I got Dcan ,uart,usb etc. but AM57x VPS . is it having same name? please guide me.
    Thank you,
    K Subrahmaniam
  • Hi,

    Please show me your log with pdkprojectcreate for VPS case.

    Regards, Eric
  • Hi,

    Thanks you, I am attaching the log file of make vps and the screan contains the files created in myExampels. please go through it and guide me.63002.log.txt

    Thanks and regards,

    K Subrahmaniam

  •  Hi,

    Thanks you, I am attaching the log file of make vps and the screan contains the files created in myExampels. please go through it and guide me.4645.log.txt

    Thanks and regards,

    K Subrahmaniam

  •  8156.log.txtHi ,

    I am attaching make vps log and myexapmles folder

  • Hi,

    I looked at your log files and also the screenshoot. You should not expect there is any relationship between two.

    1) Your log is for "make vps", this is the makefile approach, I didn't see any build error. From the UG:
    software-dl.ti.com/.../Device_Drivers.html

    6.26.5. Building VPS examples
    VPS examples and dependent libraries are built from the top level pdk makefile after the environment setup is done using the pdksetupenv.sh(bat) file.
    cd <pdk>/packages
    pdksetupenv.bat (sh)
    make vps : to build vps examples under <pdk>/ti/packages/binary folder
    make vps_clean : to clean the vps and vps examples.

    You should be able to find the output files are in above location.

    2) The screenshoot is for MyExampleProjects folder, this comes from "pdkprojectcreate". The script searches the project txt file under each driver folder to create CCS project. For VPS, there is only vps_loopback example available for AM57x IDK EVM, not GP EVM. So you can't create any CCS project for this purpose.

    So, if you use AM572x GP EVM and want to evaluate the VPS RTOS driver, please use the makefile approach. If you want create CCS project, we don't have it. You may refer to: software-dl.ti.com/.../Device_Drivers.html

    Topic: How to create a CCS project other than VPS loopback example?

    Regards, Eric
  • Hi,

    thank you , I am attaching the log file  of the command "make vps". first in packages i run the command ./pdksetupenv.sh  then  i run ./pdkProjectCreate.sh after that make clean , make all and again make vps also .  please find the log file in the link. I am unable to create a AM572x_vps project in MyExamples in packages. please guide me.

    1070.log.txt

    Thanks and regards,

    K Subrahmaniam

  • Hi,
    Thank you , please ignore the previous reply. I replied it thinking that i did not get answer. please guide me how to create a makefile approach . is it available. please tell me the path where it is located if vps api of make file approach is available. or guide me how to create vps api of make file and including libraries . can i use the available binary of vps to capture video from the camera TDCVM provided with board.
    Thanks and regards,
    K Subrahmaniam
  • Hi,

    You already did the makefile approach and build that successfully. All the info is inside UG: software-dl.ti.com/.../Device_Drivers.html

    Let me know if any info missed .

    make vps : to build vps examples under <pdk>/ti/packages/binary folder
    Starting from Processor SDK 4.2 release, oV1063x camera part support is added for AM572x - GP evm (older Aptina MT9T11 camera is never supported).

    Regards, Eric
  • Hi,
    thank you, we ordered tmdscm572x camera module with 5728 evm . is it suitable. I installed rtos linux sdk 05 .
    to capture video from tmdscm572x camera module and store into sd card. please let me know which api or files are imported into ccs .
    is there any examples programs to capture through vip port. and please tell me the commands to capture images and video when board is up. make vps is done.
    can i use the output file in bin fo;lder to flash and capture video.
    there are many vps folders . which file should i use in my application application for further modification and capturing. please give me proper guidance .
    thanks and regards,
    K Subrahmaniam
  • Hi,

    Yes, this is the right camera module to use with AM572x GP EVM for capture.

    To setup CCS/JTAG access to EVM: processors.wiki.ti.com/.../AM572x_GP_EVM_Hardware_Setup

    After that, you an connect a15, dsp or m4. Then load one program under ti\pdk_am57xx_1_0_11\packages\ti\binary to run: if you just do camera capture, the binary is under: pdk_am57xx_1_0_11\packages\ti\binary\vps_examples_captureVip\bin\evmAM572x

    Regards, Eric
  • Hi,

    Thank you , its really useful info to me. Now what is did is , I took a duplicate of gpioledblink from pdk examples  into CCS . I created source files in that project    capture.c  and capture.h  . I copied loopbacktest.c in capture.c and loopbackmain.c into capture.c and modified them accordingly. I removed the actual main file in the project because there is a loop back main. I included required .h files and compiled to fix errors. it shows some gmake errors. as shown below. should i change any configure files  or shuold i includes . please guide me to resolve this . my intention is to prepare a ccs project for capturing and displaying by copying those files from vps loopback examples.

    Thanks and regards,

    K Subrahmaniam

  • Hi,

    If your goal is to create a CCS project for VPS loopback example (NOT makefile approach) on AM572x GP EVM, did you look at:
    software-dl.ti.com/.../Device_Drivers.html

    How to create a CCS project other than VPS loopback example

    Regards, Eric
  • Use the attached file you should be able to create a CCS project using "pdk_am57xx_1_0_11\packages>pdkProjectCreate.bat AM572x evmAM572x little vps all arm"

    Then import into CCS and build:

    **** Build of configuration Debug for project vps_loopbackExample_evmAM572x_armExampleProject ****

    "C:\\ti\\ccs_8_0_0\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

    Building file: "C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_a15.cfg"

    Invoking: XDCtools

    "C:/ti/xdctools_3_50_03_33_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/pdk_am57xx_1_0_11/packages;C:/ti/edma3_lld_2_12_05_30C/packages;C:/ti/ipc_3_47_02_00/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/uia_2_21_02_07/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmAM572X -r debug -b "C:/ti/pdk_am57xx_1_0_11/packages/ti/build/am572x/config_am572x_a15.bld" -c "C:/ti/gcc-arm-none-eabi-6-2017-q1-update" -DBOARD=evmAM572x "C:/ti/pdk_am57xx_1_0_11/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_11/packages/ti/drv/vps/./lib/am572x/a15/release/vps_examples_utility.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/./lib/am572x/a15/release/fvid2.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/./lib/am572x/a15/release/vps_boards.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/./lib/am572x/a15/release/vps_osal_tirtos.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/./lib/am572x/a15/release/vps_platforms.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/./lib/am572x/a15/release/vpsdrv.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/./lib/am572x/a15/release/vpslib.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/./lib/am572x/a15/release/vps_devices.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/./lib/am572x/a15/release/vps_common.aa15fg

    Inside EDMA3 Drv Sample getLibs

       will link with ti.sdo.edma3.drv.sample:lib/tda2xx-evm/a15/debug/edma3_lld_drv_sample.aa15fg

    Inside EDMA3 Drv getLibs

       will link with ti.sdo.edma3.drv:lib/a15/debug/edma3_lld_drv.aa15fg

    Inside EDMA3 RM getLibs

       will link with ti.sdo.edma3.rm:lib/tda2xx-evm/a15/debug/edma3_lld_rm.aa15fg

    Linking with library ti.board:./lib/evmAM572x/a15/release/ti.board.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/pm/./lib/am572x/a15/release/pm_hal.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/pm/./lib/am572x/a15/release/pm_lib.aa15fg

    Linking with library C:/ti/pdk_am57xx_1_0_11/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.drv.mmcsd:./lib/am572x/a15/release/ti.drv.mmcsd.aa15fg

    Linking with library ti.csl:./lib/am572x/a15/release/ti.csl.aa15fg

    Linking with library ti.osal:./lib/tirtos/am572x/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_11/packages/ti/drv/vps/examples/ccsprojects/common/bios/utils/bspCommonBIOS_a15.cfg"

    Building file: "C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/examples/loopback/src/Loopback_main.c"

    Invoking: GNU Compiler

    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/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:/Users/a0271557/workspace_v8/vps_loopbackExample_evmAM572x_armExampleProject" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps" -I"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/examples/loopback/src" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -c -Wimplicit -Wunused -Wunknown-pragmas -MMD -MP -MMD -MP -MF"Loopback_main.d" -MT"Loopback_main.o" @"configPkg/compiler.opt" -o"Loopback_main.o" "C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/examples/loopback/src/Loopback_main.c"

    Finished building: "C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/examples/loopback/src/Loopback_main.c"

    Building file: "C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/examples/loopback/src/Loopback_test.c"

    Invoking: GNU Compiler

    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/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:/Users/a0271557/workspace_v8/vps_loopbackExample_evmAM572x_armExampleProject" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps" -I"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/examples/loopback/src" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -c -Wimplicit -Wunused -Wunknown-pragmas -MMD -MP -MMD -MP -MF"Loopback_test.d" -MT"Loopback_test.o" @"configPkg/compiler.opt" -o"Loopback_test.o" "C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/examples/loopback/src/Loopback_test.c"

    Finished building: "C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/vps/examples/loopback/src/Loopback_test.c"

    Building target: "vps_loopbackExample_evmAM572x_armExampleProject.out"

    Invoking: GNU Linker

    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -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 -Wimplicit -Wunused -Wunknown-pragmas -MMD -MP -mfloat-abi=hard -Wl,-Map,"vps_loopbackExample_evmAM572x_armExampleProject.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -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 --specs=nano.specs -o"vps_loopbackExample_evmAM572x_armExampleProject.out" "./Loopback_main.o" "./Loopback_test.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lrdimon -lgcc -lm -lnosys -lc -Wl,--end-group

    Finished building target: "vps_loopbackExample_evmAM572x_armExampleProject.out"

    C:/ti/pdk_am57xx_1_0_11/packages/pdkAppImageCreate.bat C:/ti/pdk_am57xx_1_0_11/packages C:/ti/gcc-arm-none-eabi-6-2017-q1-update C:/Users/a0271557/workspace_v8/vps_loopbackExample_evmAM572x_armExampleProject/Debug vps_loopbackExample_evmAM572x_armExampleProject AM572x arm

    Parsing the input object file, C:/Users/a0271557/workspace_v8/vps_loopbackExample_evmAM572x_armExampleProject/Debug/vps_loopbackExample_evmAM572x_armExampleProject.out.

    File conversion complete!

    Number of Input Files 1

    **** Build Finished ****

    vps_loopbackExample_evmAM572x_armExampleProject.txt
    -ccs.linkFile "PDK_INSTALL_PATH/ti/drv/vps/examples/loopback/src/Loopback_main.c"
    -ccs.linkFile "PDK_INSTALL_PATH/ti/drv/vps/examples/loopback/src/Loopback_test.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/loopback/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"
    

  • Hi,
    Thank you, it is working. can you provide any link for video capturing programming flow. is there any pdf document for video capturing program and its flow rather than vip user guide.
    Thanks and regards,
    K Subrahmaniam
  • Hi,

    We have below:
    1) VPS user guide: software-dl.ti.com/.../Device_Drivers.html
    2) API doc: pdk_am57xx_1_0_xx/packages/ti/drv/vps/docs/doxygen/html/index.html
    3) VPS training: pdk_am57xx_1_0_xx\packages\ti\drv\vps\docs\training

    Regards, Eric
  • hi,
    Thank you, its working . please tell me which part of macros can be skipped in capturevip file for am5728evm . where can i find the output to print and how to print on console to check frames, resolution, height , width etc . how to configure them. In that file which buffer is to be used to send to sd card for external storage.
    Thank you,
    K Subrahmaniam
  • Hi,

    To print info please use: GT_xtrace().

    To see where the buffer is write, please check pdk_am57xx_1_0_x\packages\ti\drv\vps\examples\utility\src\bsputils_fileioTiRtos.c
    GT_2trace(BspAppTrace, GT_INFO,
    "Saving buffer at address 0x%.8x to file %s in Sd Card \r\n",
    bufAddr, fileName);
    startTime = BspOsal_getCurTimeInMsec();
    fresult = f_write(&fp, bufAddr, bufSize, bytesWritten);

    endTime = BspOsal_getCurTimeInMsec();

    Regards, Eric
  • hi,
    Thank you, what is the default sd card peripheral number on f_open and mmcsd_open functions. how to idetify the peripheral number of sd card in program . please guide me
    thanks and regards,
    K Subrahmaniam
  • Hi,

    Please check bsputils_fileioTiRtos.c,

    Int32 BspUtils_initFileio(void *hEdma)
    {
    Int32 retVal = BSP_SOK;
    FATFS_Error fatFsStatus;

    if (gSdFileSysObj.sdInitDone == FALSE)
    {
    /* MMCSD FATFS initialization */
    FATFS_init();

    fatFsStatus = FATFS_open(0U, NULL, &gSdFileSysObj.fatfsHandle);

    The FATFS_open used index 0, this is the first MMC instance (MMC1), which is connected to the MMCSD card in the EVM.

    Regards, Eric