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/TMDSICE3359: EtherCAT build issue

Part Number: TMDSICE3359
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Trying to get started with the TMDSICE3359 and would like to start with the ethercat slave example. My background is with 8-bit micros where I install an ide, write some code and things just work. I'm lost here and don't know were to begin - I'm  inefficiently reading bits of a seemingly endless array of documents and trying randomly to install and get "things to work".

What I've installed so far:

- code composer studio v7.2.0

- PRU-ICSS-ETHERCAT-SLAVE  01_00_03_01

- PROCESSOR-SDK-RTOS-AM335X  04_00_00_04

- bios_6_50_01_12

When I perform the instruction in PRU_ICSS_EtherCAT_User_Guide.pdf I get the following warning: BIOS_INSTALL_PATH' cannot be resolved.

  • The RTOS team have been notified. They will respond here.
  • Hi David
    Each release of one of the PRU-ICSS_Industrial Packages is built using a specific version of Processor SDK. This information can be found by looking in the "Protocol" User Guide in section System Requirements subsection Component Version. In the case of EtherCAT this is at processors.wiki.ti.com/.../PRU_ICSS_EtherCAT
    There is also a link to this location in the "Protocol" Release notes .
    Release 01.00.03 requires
    CCS 7.0.0
    Processor SDK RTOS for AM335x 3.3.0

    Regretfully later versions of CCS and Processor SDK are not guaranteed to work.

    CCS 7.0.0 is available at processors.wiki.ti.com/.../Download_CCS
    The instructions for configuring CCS for Processor SDK AM335x is at: processors.wiki.ti.com/.../Processor_SDK_RTOS_Getting_Started_Guide

    Processor SDK RTOS for AM335x 3.3.0 is available at software-dl.ti.com/.../ti-processor-sdk-rtos-am335x-evm-03.03.00.04-Windows-x86-Install.exe
    After downloading Processor SDK AM335x start up CCS so that it can scan and recognize the tools that are downloaded as part of the Processor SDK.

    After you have downloaded and installed both CCS and Processor SDK then you can then (if not already done so) download PRU-ICSS EtherCAT and then generate the project files processors.wiki.ti.com/.../PRU_ICSS_EtherCAT

    David
  • Thanks David,
    with your instruction I can successfully build and load the ethercat example on the TMDSICE3359. The one thing that gave me trouble was I downloaded CCS 7.0.0.00043 which must already include Sitara Device Support > version1.2.5 because performing the ccs check for updates finds a higher version of sitara device support than in the "getting started guide" - if I let ccs perform all updates I get errors and can't build the example. If I skip this step I can build with two warnings 1) "BIOS_INSTALL_PATH cannot be resolved" 2) intermittent warning "Invalid project path: Duplicate path entries for ethercat_slave..." adding a BIOS_INSTALL_PATH variable with path to the bios install location clears warning 1 but I don't know where to begin for warning 2.
  • David

    That error can occur when loading the Processor SDK, the PRU-ICSS EtherCAT or CCS in a directory other than C:\ti and not updating the CCS Search path to find the correct versions of sysbios and XDCtools.  When CCS can not find the correct tool version for SYSBIOS and XDCtools it uses the closes version that it can find. This can produce that error. 

    You can see what are the versions for sybios and XDCTools that are used for the SDK the release notes for the Component version section  http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_Release_Notes#Component_Version. These tool versions are installed by both the Processor SDK and by PRU-ICSS-EtherCAT when these packages are installed.

    When installing CCS or the PDK into a different directory we need to set the CCS search path for the tools that we are using by selecting (in CCS) Window / Preferences /Code Composer Studio / Products

    The image below is for a different version of CCS 7.1 and Processor SDK 4.0 than you are using but it chosen because it shows a case were both are installed in one directory other than C:\ti .

    Please note that this configuration excludes the C:\ti subdirectory which is included by default. Also note that the none of the files from c:\ti are loaded

    If we installed the PDK in a different directory or subdirectory than the directory that we install CCS (c:\tics71 ) then we would include that in the discovery path.

    David