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/TMDXIDK5718: How to program individual cores on TMDXIDK5718

Part Number: TMDXIDK5718
Other Parts Discussed in Thread: AM5718

Tool/software: Code Composer Studio

Hi,

I am working on TMDXIDK5718 EVM board, I have below question regarding the usage of CCS:

1. I want to use RTOS(Not TI RTOS) on A15, No OS on IPU cores and DSP core. How to program these cores, how initialization will happen like program start point for each core.

2. How to create and load individual program to IPU and DSP cores. I am getting below error when I have created a project for IPU1.

Steps Followed: File -> New -> CCS Project -> IDK_AM571X(Target) , Selected Coterx M(ARM) and Hello world project. In debug session selected only IPU C-0 and IPU C-0. I am getting below error when debug session is launched.

Cortex_M4_IPU1_C0: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.2.0.00004) 

Regards,

Naveen.

  • Naveen,

    The application software details to interact across the different cores using inter process communications (IPC) will be better addressed by the SDK documentation. In item 1 above you want to use a baremetal but non-TI-RTOS solution will be much more involving from your side, since it is an option we (TI) do not address with our SW offers. 

    The basic project template you are using in item 2 above will only work for the DSP core, given the IPU support is entirely provided via the aforementioned SDK.  

    From a pure tools standpoint, the way you connect and load code to each core is described in sections 7.3.2 and 7.5.6 of the CCS User's Guide, which is present on the Help menu of CCSv9.1.0 (menu Help --> Contents) or on the link below. 

    https://software-dl.ti.com/ccs/esd/documents/users_guide/index.html 

    Hope this helps,

    Rafael

  • Hi Rafael,

    Is there any examples available for TMDXIDK5718(IDK AM5718), I am not finding any examples in sdk ti-processor-sdk-rtos-am57xx-evm-06.00.00.07-Windows-x86-Install.

    Could you help me in getting the example projects for this board.

    Regards,

    Naveen.

  • Naveen,

    Yes, the examples need to be generated via a batch script. Check the section 1.4.5.1.4 of the Processor SDK User's Guide.

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_overview.html?highlight=pdkprojectcreate#pdk-example-and-test-project-creation 

    Hope this helps,

    Rafael

  • Hi Rafael,

    I am trying to create example projects for AM5718 IDK board, I ended up in failure.

    Steps followed after installing setup the TI-RTOS SDK in my PC

    1. Set environment by running pdksetupenv.bat file

    2. gmake -j4 to build

    3. pdkProjectCreate.bat AM571x all -- for creating Test projects

    It's giving error as "The system cannot find the path specified", attached the log for reference.

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\ti\pdk_am57xx_1_0_15\packages>pdksetupenv.bat
    ***************************************************
    Environment Configuration:
    ***************************************************
        SDK_INSTALL_PATH        : C:/ti
        GMAKE_INSTALL_PATH      : C:/ti/xdctools_3_51_01_18_core
        RULES_MAKE              : C:/ti/pdk_am57xx_1_0_15/packages/Rules.make
    ***************************************************
    
    C:\ti\pdk_am57xx_1_0_15\packages>pdkProjectCreate.bat AM571x all
    =========================================================================
    Configuration:
       SOC             :   AM571x
       BOARD           :   all
       ENDIAN          :   little
       MODULE          :   all
       PROJECT_TYPE    :   all
       PROCESSOR       :   arm
       PDK_SHORT_NAME  :   C:\ti\PDK_AM~1\packages\
    =========================================================================
    Checking Configuration...
    Complete
    =========================================================================
       PDK_PARTNO         : AM571X
       PDK_ECLIPSE_ID     : com.ti.pdk.am57xx
       RTSC_PLATFORM_NAME : ti.platforms.idkAM571X
       RTSC_TARGET        : gnu.targets.arm.A15F
       CCS_DEVICE         : "Cortex A.AM5728_RevA"
    *****************************************************************************
    Detecting all projects in PDK and importing them in the workspace C:\ti\PDK_AM~1
    \packages\\MyExampleProjects
    Detected Test Project: EMAC_BasicExample_idkAM571x_armBiosExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: GPIO_LedBlink_idkAM571x_armTestProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: I2C_BasicExample_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: I2C_BasicExample_idkAM571x_armTestProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: ICSS_EMAC_BasicExample_idkAM571x_wSoCFile_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: ICSS_EMAC_BasicExample_idkAM571x_wSoCLib_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: ICSS_EMAC_SwitchExample_idkAM571x_wSoCFile_armTestproject
    
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: ICSS_EMAC_SwitchExample_idkAM571x_wSoCLib_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCASP_DeviceLoopback_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_FatfsConsole_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_FatfsConsole_idkAM571x_DMA_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_idkAM571x_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_idkAM571x_DMA_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_idkAM571x_EMMC_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_idkAM571x_EMMC_DMA_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: PCIE_idkAM571x_wSoCFile_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: PCIE_idkAM571x_wSoCLib_armEdmaPktExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: PCIE_idkAM571x_wSoCLib_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: PRUSS_BasicExample_idkAM571x_wSoCFile_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: PRUSS_BasicExample_idkAM571x_wSoCLib_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCSPI_Loopback_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCSPI_BasicExample_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCSPI_SlaveMode_MasterExample_idkAM571x_armExampleProject
    
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCSPI_SlaveMode_SlaveExample_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: QSPI_BasicExample_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCSPI_BasicExample_Dma_idkAM571x_armTestProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCSPI_BasicExample_idkAM571x_armTestProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: QSPI_BasicExample_idkAM571x_armDmaTestProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: QSPI_BasicExample_idkAM571x_armTestProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: UART_BasicExample_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: UART_BasicExample_idkAM571x_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: UART_BasicExample_idkAM571x_DMA_armTestproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: USB_DevBulk_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: USB_HostMsc_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: vps_loopbackExample_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: FATFS_Console_idkAM571x_armExampleProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: OSAL_BasicExample_idkAM571x_armTestProject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_BasicExample_idkAM571x_armExampleproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_CCLinkMaster_idkAM571x_armExampleproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_CCLinkSlave_idkAM571x_armExampleproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_FtpExample_idkAM571x_armExampleproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_ICSS_BasicExample_idkAM571x_wSoCLib_armExampleprojec
    t
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_ICSS_CCLinkMaster_idkAM571x_wSoCLib_armExampleprojec
    t
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_ICSS_CCLinkSlave_idkAM571x_wSoCLib_armExampleproject
    
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_ICSS_FtpExample_idkAM571x_wSocLib_armExampleproject
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: timeSync_BasicExample_idkAM571x_wSocLib_armExampleproject
    
    The system cannot find the path specified.
    Copying macro.ini
    The system cannot find the path specified.
            0 file(s) copied.
    No projects detected
    Project generation complete
    *****************************************************************************
    
    C:\ti\pdk_am57xx_1_0_15\packages>

    Regards,

    Naveen.

  • Naveen,

    Let me ask you: where is your CCS installed - which directory?

    If you used the default install directory of CCSv9.1.0, for example (C:\ti\ccs910\ccs), you need to set the environment variable CCS_INSTALL_PATH to this directory, but using forward slashes.;

    Line 448 of the pdkProjectCreate.bat shows the expected CCS version is 9.0.1

    Hope this helps,

    Rafael

  • Thanks for the reply Rafael, the problem is solved by downgrading CCS version.

    https://e2e.ti.com/support/processors/f/791/t/843888

    Regards,

    Naveen.