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