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: HSR-PRP-DAC PDK version

Other Parts Discussed in Thread: AM3359, SYSBIOS, PROFIBUS

Tool/software: Linux

Hello.

What version of PDK to install to properly compile the project?

I tried the latest PDK version but the program did not compile [ Link ]

I have PRU-ICSS-HSR-PRP-DAN_01.00.02.00.

please help.

  • Tool/software: Code Composer Studio

    Hello,

    I have a problem with CCS v6 and v7.

    I'm trying generate projects.

    !ERROR: No GNU ARM compilers, supporting device 'AM3359', are currently installed!

    or

    !ERROR: Unknown product-type ID 'com.ti.pdk.am335x'!

    please help.

    Compiler GCC Linaro - gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihfgcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf

    CCS v7 log:
    root@ETmhanusek:/mnt/DANE2/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/projects# ./projectCreate.sh AM335x arm prp_app **************************************************************************
    Environment Configuration Summary:
    CCS Install Directory : /opt/ti/ccs740/ccsv7
    CCS Workspace Directory : /home/mhanusek/TI/workspace_v7
    SDK Install Directory : /mnt/DANE2/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00
    PDK Install Directory : /mnt/DANE2/ti/ti-processor-sdk-linux-am335x-evm-02.00.01.07
    Projects create Directory : /mnt/DANE2/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/projects
    Project create args directory : /mnt/DANE2/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/projects/ccsproject_args
    **************************************************************************
    Creating project 'prp_app_AM335x_arm' for 'AM335x' platform in directory '/mnt/DANE2/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/projects/prp_app_AM335x_arm' by overwriting the project if it exists already...

    --------------------------------------------------------------------------------
    Creating project 'prp_app_AM335x_arm'...

    !ERROR: No GNU ARM compilers, supporting device 'AM3359', are currently installed!

    CCS v6 log:

    **************************************************************************
    Environment Configuration Summary:
    CCS Install Directory : /opt/ti/ccs620/ccsv6
    CCS Workspace Directory : /home/mhanusek/TI/workspace_v6
    SDK Install Directory : /mnt/DANE2/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00
    PDK Install Directory : /mnt/DANE2/ti/ti-processor-sdk-linux-am335x-evm-02.00.01.07
    Projects create Directory : /mnt/DANE2/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/projects
    Project create args directory : /mnt/DANE2/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/projects/ccsproject_args
    **************************************************************************
    Creating project 'prp_app_AM335x_arm' for 'AM335x' platform in directory '/mnt/DANE2/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/projects/prp_app_AM335x_arm' by overwriting the project if it exists already...

    --------------------------------------------------------------------------------
    Creating project 'prp_app_AM335x_arm'...

    !ERROR: Unknown product-type ID 'com.ti.pdk.am335x'!
    NOTE: Refer to the following list of available product-type IDs (the display-names in square brackets are for reference only):

    com.ti.rtsc.SYSBIOS [SYS/BIOS]

  • The RTOS team have been notified. They will respond here.
  • Hi mhan,

    HSR/PRP 1.0.2 is built on top of Processor SDK 3.3. software-dl.ti.com/.../index_FDS.html which contains the PDK 1.0.6.

    The HSR/PRP 1.0.2 UG is available here: processors.wiki.ti.com/index.php

    We are about to release HSR/PRP 1.0.3 which is based on latest PRSDK 4.2, and its UG wiki is under construction which may confuse you the PRSDK version.

    From the 'ERROR: Unknown product-type ID 'com.ti.pdk.am335x', it appears you installed PDK but not imported in CCS yet. Have you started CCS after the Processor SDK installation?

    Regards,
    Garrett
  • Thank you for your answer.
    I did it. I generated the project and compiled in CCS using Processor SDK 3.3 [http://software-dl.ti.com/processor-sdk-rtos/esd/AM335X/03_03_00_04/index_FDS.html].

    I have next question... prp_app from PRU-ICSS-HSR-PRP-DAN 01_00_02_00 is for Linux or TI-RTOS?
    My goal is to run industrial protocols (PRP, Profibus, ProfiNet etc) on a Linux system.
  • mhan,

    prp_app from PRU-ICSS-HSR-PRP-DAN 01_00_02_00 is for TI-RTOS.
    PRP on Linux system is currently supported on AM572x, and it's in our roadmap to support HSR/PRP on AM335x.

    Regards,
    Garrett
  • Thank you for your answer.
    I need to run PRP and industrial protocols on Linux using PRU.
    I found information about the ti-prueth driver for Linux:
    processors.wiki.ti.com/.../PRU-ICSS_Ethernet
    processors.wiki.ti.com/.../Processor_SDK_Linux_HSR_PRP,

    Is this a good way?
  • mhan,

    The HSR/PRP solution uses different firmware in AM335x and AM57x, and the firmware is currently delivered in binary only, see PRU-ICSS-HSR-PRP-DAN_01.00.02.00\protocols\hsr_prp\firmware\prp\v2.1 (AM57x) and v1.0 (AM335x). You can refer to the links to try porting the current Linux implementation on AM572x or AM335x.
    processors.wiki.ti.com/.../Processor_SDK_HSR_PRP

    Regards,
    Garrett