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.

AMIC110: Generating project files for EhterCAT

Part Number: AMIC110

Hi, 

I downloaded and installed the PRU-ICSS-ETHERCAT-SLAVE 01_00_08_01.

I also installed AM335x RTOS SDK and ccsv9.

But generating projects is failed.

  • Hi

    CCS path looks incorrect. As mentioned in User Guide, we need to use the path up to where the folder ‘eclipse’ is located. 

    Can you try with "CCS_INSTALL_DIR=C:\ti\ccsv930\ccs" in the projectCreate script?

    Regards
    Dhaval Khandla

  • Hi,

    I tried, but I got the same message.

  • Hi 
    In that case, can you check if all the other paths being printed while running the script are correct?

    Regards
    Dhaval Khandla

  • Hi, 

    I think all the other paths are correct.

    ::==================================================================================================::
    :: USER CONFIGURATION SECTION STARTS!
    ::==================================================================================================::

    ::Set CCS installation directory path(Mandatory) - The path where folder 'eclipse' is located
    set "CCS_INSTALL_DIR=C:\ti\ccsv930\ccs"

    ::Set the CCS workspace location(Mandatory). Workspace will be created if it doesn't exist!
    set "CCS_WORKSPACE_LOC=%USERPROFILE%\workspace_v9"

    ::Set the IA_SDK_HOME Directory(Mandatory)
    set "IA_SDK_HOME=C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.08.01"

    ::Set the DRIVES_SDK_INSTALL_PATH Directory(Mandatory for ethercat_slave_cia402 application)
    set "DRIVES_SDK_INSTALL_PATH=%cd%\..\..\.."

    ::Set PDK Installation directory path(Mandatory for AM335x projects)
    set "AM335x_PDK_INSTALL_PATH=C:\ti\pdk_am335x_1_0_17\packages"

    ::Set PDK Installation directory path(Mandatory for AM437x projects)
    set "AM437x_PDK_INSTALL_PATH=C:\ti\pdk_am437x_1_0_17\packages"

    ::Set PDK Installation directory path(Mandatory for AM57xx projects)
    set "AM57xx_PDK_INSTALL_PATH=C:\ti\pdk_am57xx_1_0_17\packages"

    ::Set PDK Installation directory path(Mandatory for K2G projects)
    set "K2G_PDK_INSTALL_PATH=C:\ti\pdk_k2g_1_0_12\packages"

    ::Set PDK Installation directory path(Mandatory for AM65xx projects)
    set "AM65xx_PDK_INSTALL_PATH=C:\ti\pdk_am65xx_1_0_7\packages"

    :: Set the folder path where the projects will be created using command line project create method(Mandatory)
    set "PROJECT_CREATE_DIR=%IA_SDK_HOME%\protocols\ethercat_slave\projects"

    :: Set the folder path where command line project create Options files for are kept(Mandatory)
    set "PROJECT_CREATE_OPTIONS_FILE_DIR=%IA_SDK_HOME%\protocols\ethercat_slave\projects\ccsproject_args"

    **************************************************************************

    Environment Configuration Summary:
    CCS Install Directory : C:\ti\ccsv930\ccs
    CCS Workspace Directory : C:\Users\137657\workspace_v9
    SDK Install Directory : C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.08.01
    PDK Install Directory : C:\ti\pdk_am335x_1_0_17\packages
    Projects create Directory : C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.08.01\protocols\ethercat_slave\projects
    Project create args directory : C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.08.01\protocols\ethercat_slave\projects\ccsproject_args
    **************************************************************************

    best regards

  • Hi 

    I do not see "C:\ti\ccsv930" folder in the screenshot you shared. Can you check that?

    Regards
    Dhaval Khandla

  • Hi, 

    I already installed the ccsv9 and the ccsv10.

  • Hi

    From the logs, I see "CCS Install Directory : C:\ti\ccsv930\ccs", but in the File Explorer screenshot I see "ccs930". Can you set "CCS_INSTALL_DIR=C:\ti\ccs930\ccs" and check?

    Regards
    Dhaval Khandla