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.

AM5749: AM5749: TMDSIDK574 PROFINET snmp core stack CCS Project

Part Number: AM5749

Hi Sir,

My previous thread was

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1067602/am5749-tmdsidk574-profinet-snmp-core-stack-ccs-project

As per the advice given from expert, i am re posting it.

I am having following problem, please help me out.

I am having TMDSIDK5749 EVM board.

I have installed

"PRU-ICSS-Profinet_Slave-01.00.02.02"

"pdk_am57xx_1_0_9" and

CCS v11.0

in ubuntu 16.04 LTS OS.

1) I have tried to create PROFINET snmp project for the AM5749 processor but got the following error.

iveer5@iveer5:~/ti/PRU-ICSS-Profinet_Slave-01.00.02.02/protocols/profinet_slave/projects$ ./projectCreate.sh AM57xx arm snmp_core_stack
**************************************************************************
Environment Configuration Summary:
    CCS Install Directory          : /home/iveer5/ti/ccs1100/ccs
    CCS Workspace Directory        : /home/workspace_v11
    SDK Install Directory          : /home/iveer5/ti/PRU-ICSS-Profinet_Slave_01.00.02.02
    PDK Install Directory          : /home/iveer5/ti/PRO_SDK/pdk_am57xx_1_0_9/packages
    Projects create Directory      : /home/iveer5/ti/PRU-ICSS-Profinet_Slave_01.00.02.02/protocols/profinet_slave/projects
    Project create args directory  : /home/iveer5/ti/PRU-ICSS-Profinet_Slave_01.00.02.02/protocols/snmp/projects/ccsproject_args
**************************************************************************
Creating project 'snmp_core_stack_AM57xx_arm' for 'AM57xx' platform in directory '/home/iveer5/ti/PRU-ICSS-Profinet_Slave_01.00.02.02/protocols/profinet_slave/projects/snmp_core_stack_AM57xx_arm' by overwriting the project if it exists already...
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

I have referred following link to create project

https://software-dl.ti.com/processor-industrial-sw/esd/docs/indsw/profinet_slave/01_00_03/PRU_ICSS_Profinet.html#reference-profinet-slave-generating-project-files

2) Before that i have tried to apply patch with the following link

https://software-dl.ti.com/processor-industrial-sw/esd/docs/indsw/Industrial_Protocol_Package_Getting_Started_Guide.html

I am unable to apply patch also.

The given patch.exe is for windows operating system and i am using linux.

Does my error 1 to create project is related with error 2?

If yes, please provide me patch to apply in linux os

If no, then how to create PROFINET snmp project for AM5749?

Thanks & Regards,

Divyesh Patel

  • Hi Divyesh,

    Please try the PRU-ICSS-Profinet-Slave with processor_sdk_rtos_am57xx_06_03_02_08 (available here).

    Steps to follow -

    1. Go to [Profinet-Slave-Install-Directory]/protocols/profinet_slave/projects and open file projectCreate.sh
    2. Update the following variables (use the versions I have provided if you are using SDK RTOS AM57xx 6.3.2) :
      1. CCS_INSTALL_DIR
      2. CCS_WORKSPACE_LOC
      3. IA_SDK_HOME=[Profinet-Slave-Install-Directory]
      4. AM57xx_PDK_INSTALL_PATH=[SDK-INSTALL-DIRECTORY]/pdk_am57xx_1_0_18/packages
      5. AM57xx_PDK_VERSION=1.0.18
      6. XDC_TOOLS_VERSION=3.55.02.22_core
      7. SYS_BIOS_VERSION=6.76.03.01
      8. NDK_VERSION=3.61.01.01
      9. EDMA_VERSION=2.12.05.30
    3. Open ccs and go Window->Preferences
    4. Then drop down the Code Composer Studio entry in the left column and select products. You will see window like this 
    5. Click on Add and add the path to [SDK-INSTALL-DIRECTORY]. Then click on Refresh and the on Install.
    6. Once you have installed the components, navigate to [Profinet-Slave-Install-Directory]/protocols/profinet_slave/projects and run
      1. ./projectCreate.sh AM57xx arm snmp_core_stack

    I have tried this and able to build the project. You might have to close CCS while building the project.

    Hope this helps

    Regards,
    Tanmay

  • Hi Sir,

    I have followed the sequence as per your instruction. Still i am not able to compile the project.

    Please check the attached CCS Product file, project file and generated project.

    ProjectCreate.sh and CCS Product.zip

    7801.snmp_core_stack_AM57xx_arm.zip

    i am unable to compile the project.

    Please help me out.

    --

    Thanks  & Regards,

    Divyesh Patel

  • Hi Divyesh,

    Can you please share the complete log you get using the projectCreate.sh you shared with me.

    Does the process hang or does it complete? I am asking this because i do net see any error messages in the log you shared above.

    Regards,
    Tanmay

  • Hi Sir,

    I am not getting any error while generating project, Project is already created which i have attached in the previous thread.

    7801.snmp_core_stack_AM57xx_arm.zip

    iveer5@iveer5:~/ti/AM57xx_SNMP/processor_sdk_rtos_am57xx_06_03_02_08/protocols/profinet_slave/projects$ ./projectCreate.sh AM57xx arm snmp_core_stack
    **************************************************************************
    Environment Configuration Summary:
        CCS Install Directory          : /home/iveer5/ti/ccs930/ccs
        CCS Workspace Directory        : /home/iveer5/workspace_v9
        SDK Install Directory          : /home/iveer5/ti/AM57xx_SNMP/processor_sdk_rtos_am57xx_06_03_02_08
        PDK Install Directory          : /home/iveer5/ti/AM57xx_SNMP/processor_sdk_rtos_am57xx_06_03_02_08/pdk_am57xx_1_0_18/packages
        Projects create Directory      : /home/iveer5/ti/AM57xx_SNMP/processor_sdk_rtos_am57xx_06_03_02_08/protocols/profinet_slave/projects
        Project create args directory  : /home/iveer5/ti/AM57xx_SNMP/processor_sdk_rtos_am57xx_06_03_02_08/protocols/snmp/projects/ccsproject_args
    **************************************************************************
    Creating project 'snmp_core_stack_AM57xx_arm' for 'AM57xx' platform in directory '/home/iveer5/ti/AM57xx_SNMP/processor_sdk_rtos_am57xx_06_03_02_08/protocols/profinet_slave/projects/snmp_core_stack_AM57xx_arm' by overwriting the project if it exists already...

    --------------------------------------------------------------------------------
    Creating project 'snmp_core_stack_AM57xx_arm'...


    iveer5@iveer5:~/ti/AM57xx_SNMP/processor_sdk_rtos_am57xx_06_03_02_08/protocols/profinet_slave/projects$

    But the generated project is empty.

    I am unable to build, bcz  main source file is not available

    "Nothing to build for project snmp_core_stack_AM57xx_arm"

    --

    Thanks & Regards,

    Divyesh Patel

  • Hi Divyesh,

    Sorry for the late reply.

    For the profinet application, the sdk provides an inbuilt evaluation library for the snmp stack. The snmp_core_stack project needs to be built only if you want to rebuild/modify the stack.

    So, If you want to rebuild/modify the snmp stack, you have to get the snmp stack sources from a 3P and then you can copy them to a specific location in the SDK. After that, the ccs will compile those sources into a library. The SDK does not have the snmp stack sources.

    You can find some details here : https://software-dl.ti.com/processor-industrial-sw/esd/docs/indsw/profinet_slave/01_00_04/PRU_ICSS_Profinet.html#building-full-feature-snmp-stack 

    Regards,
    Tanmay