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.

TMDSICE3359: Disabling one port with PRU-ICSS-EthernetIP Adapter

Part Number: TMDSICE3359

Hi

unfortunately, the previous thread is already closed, but I wanted to find out if there is any news on this subject:

It looks better now, but there is still one small issue:

  • I deactivate port 1
  • no telegrams can be sent from port 1 to port 2 --> expected
  • but the telegrams from port 2 to port 1 can be seen on port 1 --> not expected

Is there anything I can do to change this behaviour?

Thank you in advance

Stefan

  • Stefan
    We are working to provide a fix for this issue. I will share further updates by end of this week.

    Regards
    Dhaval Khandla

  • Hi
    We have shared some updates over e-mail. Please let us know if you were able to test it.

    Regards
    Dhaval Khandla

  • Hi Dhaval,

    unfortunately I can't communicate with this updated PRU-firmware (v5.2.10) at all. I didn't take a deeper look but it seems the differences to my last version (v5.2.7) are too big and something stopped working

    Maybe there are some incompatibilies with my used software packages:

    • PRU-ICSS-EthernetIP_Adapter_01.00.03.04
    • pdk_am335x_1_0_12

    I also use this patch from on of your colleagues:

    diff -ur "/protocols/ethernetip_adapter/drivers/icss_eip_driver.c" "/protocols/ethernetip_adapter/drivers/icss_eip_driver.c"
    --- "/protocols/ethernetip_adapter/drivers/icss_eip_driver.c"
    +++ "/protocols/ethernetip_adapter/drivers/icss_eip_driver.c"
    @@ -175,12 +175,6 @@
                                      icssEipHandle->tempFrame, rxArg.port, size, FALSE);
         }
     
    -    else
    -    {
    -        ((ICSS_EmacObject *)eipIcssEmacHandle->object)->icssEmacHwIntRx(queue_number,
    -                eipIcssEmacHandle);
    -    }
    -
     }
     /**
      *  @brief  API to initialize the CIP Sync objects in the EIP handle
    diff -ur "/protocols/timeSync/drivers/icss_timeSync_init.c" "/protocols/timeSync/drivers/icss_timeSync_init.c"
    --- "/protocols/timeSync/drivers/icss_timeSync_init.c"
    +++ "/protocols/timeSync/drivers/icss_timeSync_init.c"
    @@ -179,7 +179,8 @@
         TimeSync_dramInit(timeSyncHandle);
     
         /*Create PTP Interrupts and Tasks*/
    -    returnVal = TimeSync_isrAndTaskInit(timeSyncHandle);
    +    if (TC != timeSyncHandle->timeSyncConfig.config)
    +        returnVal = TimeSync_isrAndTaskInit(timeSyncHandle);
     
         if(returnVal != TIME_SYNC_OK)
         {
    @@ -409,6 +410,10 @@
             (timeSyncHandle->timeSyncConfig.masterParams.ptp_flags[TS_PTP_TWO_STEP_INDEX] <<
              1);
     
    +     /*Check for TC/OC mode for slave operations. Bit 2 for TC*/ 
    +     byteVal |=
    +        (1 << (timeSyncHandle->timeSyncConfig.config + 1));
    +
         *(ptpCtrlPtr) = byteVal;
         timeSyncHandle->enabled = TRUE;
     }
    

  • Hi
    Is it possible for you to check with "pdk_am335x_1_0_17" from SDK v6.3?

    Regards
    Dhaval Khandla