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.

PRU-ICSS-INDUSTRIAL-SW: PRU-ICSS-EthernetIP_Adapter_01.00.03.04, compatibility with version 06.03.00.106 of PROCESSOR-SDK-AM335X

Part Number: PRU-ICSS-INDUSTRIAL-SW
Other Parts Discussed in Thread: AM3356, PROCESSOR-SDK-AM335X

Hi TI support

We are developing a web tension measurement product with Profinet- and Ethernet/IP communication.

The processor we have chosen is the TI Sitara AM3356.

The Profinet part of the SW is done and we have used the following software components:

-bios_6_76_03_01

-cg_xml_2.61.00

-edma3_lld_2_12_05_30E

-gcc-arm-none-eabi-7-2018-q2-update

-ndk_3_61_01_01

-ns_2_60_01_06

-pdk_am335x_1_0_17

-ti-cgt-pru_2.3.2

-xdctools_3_55_02_22_core

-ccs1110

We would like for the Ethernet/IP communication to also be part of the same SW (same binary file).

With a user parameter, it shall be possible to switch between Profinet and Ethernet/IP.

But the problem is that the Ethernet/IP communication (PRU-ICSS-EthernetIP_Adapter_01.00.03.04) in the ICEv2 development board is only compatible with the AM335x RTOS SDK version (PROCESSOR-SDK-AM335X) 05.02.00.10

In that version, the SW components versions are much older.

So we tried to do the porting ourselves. The task is to port the PRU-ICSS-EthernetIP_Adapter_01.00.03.04 so that it works with the ICEv2 development board with the TI SW component versions listed above.

And after a bit of experimenting we have noticed the following:

The Ethernet/IP package (PRU-ICSS-EthernetIP_Adapter_01.00.03.04) works with all the SW component versions listed above except for the pdk_am335x_1_0_17.

If pdk_am335x_1_0_17 is used, the program can still be built, it can still run and be debugged. But the actual Ethernet/IP communication is not working and we do not know why. The device does not respond to a ping and does not communicate

with the Molex Ethernet/IP tool.

But the pdk_am335x_1_0_16 version is used, then the communication works.

So the conclusion is that there is some difference in pdk_am335x_1_0_17 and pdk_am335x_1_0_16 that causes the Ethernet/IP communication to not work.

After digging into this a bit more, we think we have tracked where exactly this difference/change/modification is located.

It is in this folder: 

C:\ti\pdk_am335x_1_0_17\packages\ti\drv\icss_emac

In the icss_emac package, we have noticed that there has been a lot of changes made between pdk_am335x_1_0_16 and pdk_am335x_1_0_17.

A lot of those changes seem to be related to storm prevention and firmware learning.

We think it is one of these changes that causes the Ethernet/IP communication to stop working.

It is important for us to have the Ethernet/IP communication working and at the same time also use pdk_am335x_1_0_17

We would appreciate greatly if you could give us a hint of what changes to do in either the pdk_am335x_1_0_17 (maybe in the icss_emac folder) or in the

PRU-ICSS-EthernetIP_Adapter_01.00.03.04 to make the Ethernet/IP communication work properly in the ICEv2 development board.

Only when it works on the ICEv2 board, we feel we are confident to port the SW to our custom board.

Kind regards

Aravindh

  • Hi Aravindh, 

    PRU-ICSS-EthernetIP_Adapter_01.00.03.04 is compatible with pdk_1_0_16 only, it won’t work with pdk_1_0_17.

    To make it work, it requires firmware update, which means a new package has to be provided.

    Currently we are updating the PRU-ICSS-EthernetIP package to make it compliance with the latest Conformance Tool.

    Regards,

    Roopak

  • Hi Roopak

    Thanks for your reply.

    Do you know approximately when the next official version of the Ethernet/IP example application will be ready for release?

    Also, can you confirm that the next version will be compatible with pdk_1_0_17?

    And also the SW tools shown below:

    -bios_6_76_03_01

    -cg_xml_2.61.00

    -edma3_lld_2_12_05_30E

    -gcc-arm-none-eabi-7-2018-q2-update

    -ndk_3_61_01_01

    -ns_2_60_01_06

    -ti-cgt-pru_2.3.2

    -xdctools_3_55_02_22_core

    For you info:

    After some investigation and work, we managed to make the Ethernet/IP example compatible with pdk_1_0_17 and the SW tools version shown above.

    In the main function, during the driver initialization, the call to the following APIs needed to be made:

    icss_emacGetFWMapInitConfig

    icss_emacSetFWMapInitConfig

    And the function header comment stated that these two APIs needed to be called before the ICSS_EmacInit function.

    The above two functions are defined/declared in the icss_emacFwConfig.c/icss_emacFwConfig.h files (which we copied

    from the latest version of the Profinet example application) and shall be located in this folder:

    C:\ti\PRU-ICSS-EthernetIP_Adapter_01.00.03.04\protocols\ethernetip_adapter\firmware

    With this change, we have done the testing and the most of the Ethernet/IP communication functionality seem to be working.

    Above is a workaround so that we can continue to do the porting of the example application to our custom board.

    Of course we would prefer to use the official version of the Ethernet/IP example application, so it is good news that you are working on it.

    As stated previously, It would be very useful info to know when the release is planned and the SW tools compatibility info.

    Kind regards

    Aravindh

  • Hi Aravindh,

     

    Do you know approximately when the next official version of the Ethernet/IP example application will be ready for release?

    I will get back to you on Release date with-in a week.

    Also, can you confirm that the next version will be compatible with pdk_1_0_17?

    Yes, it will be compatible with pdk_1_0_17.

    Regards,

    Roopak

  • Hi Roopak

    Kind reminder

    Kind regards

    Aravindh

  • Hi Aravindh,

    Ethernet/IP release (on Processor SDK 6.3) is planned for 10th November 2022.

    Regards,
    Roopak

  • Hi Roopak

    Thanks for the info.

    Kind regards

    Aravindh