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.

CCS/TDA2HV: How to get IPC examples at CCSV6?

Part Number: TDA2HV


Tool/software: Code Composer Studio

Hi,everyone:


i want import the example of IPC for TDA2x. I used View->TI Resource Explorer Classic ,searching TDA2X.

There are no IPC example for this device ,where can i get the example,and how to load it into CCSV6.2?

Thank u for help!

  • Hi,

    can you check the examples located in <VisionSDK>\ti_components\os_tools\ipc_3_45_00_00\examples

    Regards,

    Yordan

  • Hi,

    Thank u for the reply.

    I set one ccs project(m4core),load the example"DRA7XX_bios_elf\ex01_hello",changed the ".mk"  like follows:

    --------------------------------

    #
    #  Copyright (c) 2012-2014 Texas Instruments Incorporated - http://www.ti.com
    #  All rights reserved.
    #
    #  Redistribution and use in source and binary forms, with or without
    #  modification, are permitted provided that the following conditions
    #  are met:
    #
    #  *  Redistributions of source code must retain the above copyright
    #     notice, this list of conditions and the following disclaimer.
    #
    #  *  Redistributions in binary form must reproduce the above copyright
    #     notice, this list of conditions and the following disclaimer in the
    #     documentation and/or other materials provided with the distribution.
    #
    #  *  Neither the name of Texas Instruments Incorporated nor the names of
    #     its contributors may be used to endorse or promote products derived
    #     from this software without specific prior written permission.
    #
    #  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    #  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    #  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    #  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    #  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    #  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    #  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
    #  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    #  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    #  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    #  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    #
    #
    #  ======== products.mak ========
    #
    # look for other products.mak file to override local settings
    ifneq (,$(wildcard $(EXBASE)/../products.mak))
    include $(EXBASE)/../products.mak
    else
    ifneq (,$(wildcard $(EXBASE)/../../products.mak))
    include $(EXBASE)/../../products.mak
    # Define IPC_INSTALL_DIR since not defined in IPC top-level products.mak
    IPC_INSTALL_DIR = $(word 1,$(subst /examples, examples,$(CURDIR)))
    else
    ifneq (,$(wildcard $(EXBASE)/../../../products.mak))
    # Define IPC_INSTALL_DIR since not defined in IPC top-level products.mak
    IPC_INSTALL_DIR = $(word 1,$(subst /examples, examples,$(CURDIR)))
    include $(EXBASE)/../../../products.mak
    endif
    endif
    endif
    # By default, the necessary build variables are found/assigned via
    # ../products.mak or ../../products.mak, included above.  If you want to
    # override these variables, or are building this example without
    # ../products.mak or ../../products.mak, uncomment and assign the variables
    # below.
    #DEPOT = _your_depot_folder_
    VSDK_0205    := E:/ti/VISION_SDK_02_05_00_00
     
    TI_SW_ROOT     := $(VSDK_0205)/ti_components
    #### BIOS-side dependencies ####
    BIOS_INSTALL_DIR       = $(TI_SW_ROOT)/os_tools/bios_6_40_03_39
    IPC_INSTALL_DIR        = $(TI_SW_ROOT)/os_tools/ipc_3_30_00_05_eng
    XDC_INSTALL_DIR        = $(TI_SW_ROOT)/os_tools/windows/xdctools_3_30_04_52_core
    CCS = E:\ti\ccsv6\tools\compiler
    #### BIOS-side toolchains ####
    gnu.targets.arm.A15F   = $(TI_SW_ROOT)/cg_tools/windows/gcc-arm-none-eabi-4_7-2013q3
    ti.targets.elf.C66     = $(TI_SW_ROOT)/cg_tools/windows/c6000_7_4_2
    ti.targets.arm.elf.M4  = $(TI_SW_ROOT)/cg_tools/windows/tms470_5_1_5
    ti.targets.arp32.elf.ARP32_far = $(TI_SW_ROOT)/cg_tools/windows/arp32_1_0_3
    # Use this goal to print your product variables.
    .show:
     @echo "BIOS_INSTALL_DIR    = $(BIOS_INSTALL_DIR)"
     @echo "IPC_INSTALL_DIR     = $(IPC_INSTALL_DIR)"
     @echo "XDC_INSTALL_DIR     = $(XDC_INSTALL_DIR)"
     @echo "gnu.targets.arm.A15F  = $(gnu.targets.arm.A15F)"
     @echo "ti.targets.elf.C66    = $(ti.targets.elf.C66)"
     @echo "ti.targets.arm.elf.M4 = $(ti.targets.arm.elf.M4)"
     @echo "ti.targets.arp32.elf.ARP32_far = $(ti.targets.arp32.elf.ARP32_far)"

    ----------------------------------

    then i ran build ,the error cames:

    -----------------------------------------------

    "E:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../dsp1/Dsp1.cfg'
    'Invoking: XDCtools'
    "E:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="E:/ti/ipc_3_30_00_09/packages;E:/ti/bios_6_40_04_47/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -r debug -b "E:/Users/abcd/workspace_v6_2/DRA7IPC/shared/config.bld" -c "E:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS" "../dsp1/Dsp1.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring Dsp1.xem4 from package/cfg/Dsp1_pem4.cfg ...
    dsp1/subdir_rules.mk:7: recipe for target 'build-1047090097' failed
    js: "E:/Users/abcd/workspace_v6_2/DRA7IPC/dsp1/Dsp1.cfg", line 42: TypeError: Cannot read property "profile" from null (E:/Users/abcd/workspace_v6_2/DRA7IPC/dsp1/Dsp1.cfg#42)
        "./package/cfg/Dsp1_pem4.cfg", line 181
    gmake.exe: *** [package/cfg/Dsp1_pem4.xdl] Error 1
    js: "E:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: *** [build-1047090097] Error 1
    'Building file: ../dsp2/Dsp2.cfg'

    --------------------------------

    What's wrong? Where to get the profile,do i need to build one?

    I do need your help ,thanks alot!