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.

AM6442: PROFINET MRP Evaluation on Linux

Part Number: AM6442

Hi,

My customer wants to evaluate the MRP function of PROFINET on Linux . Do we have any example code of that ? They have PROFINET Controller (Master) on CODESYS.

Regards,

Hideaki

  • Hi Hideaki,

    Thanks for your query.

    I will check this internally and get back to you.

    Best Regards

    Ashwani

  • Looking at Codesys documentation https://store.codesys.com/en/codesys-profinet-controller-sl.html :

    CODESYS PROFINET Controller (IEC) and Dual-Port Interface:
    With standard Ethernet Adapter hardware only single port devices are possible, i.e. each PROFINET Controller can handle just one port. (The system itself may have more than one Ethernet adapter, maybe running a PROFINET Device on it).
    A Dual-Port Controller (e.g. for MRP support or a ‘daisy-chain’) may be implemented with special dual-port (bridge) Ethernet chipsets, but this requires some runtime adaptions by the OEM.
    We don't have TI CPSW3G or ICSSG examples of this adaptation. I'd recommend the customer asks Codesys about supporting these "runtime adaptations" on AM6442. We do support bridging with both CPSW3G and ICSSG based Ethernet ports and Linux, but what the closed source Codesys needs has to come from Codesys.
  • Hi Pekka,

    Thank you for your feedback.

    We have an example code or demo of PROFINET solution which supports MRP on RTOS, but don't have it on Linux, correct ?

    Thanks and regards,
    Hideaki

  • If there is an sample code mentioned above on any device such like AM57x, it would be helpful for them.

    Regards,
    Hideaki

  • We have an example code or demo of PROFINET solution which supports MRP on RTOS,

    PROFINET device side with MRP yes we support today. PROFINET device is implemented with two external Ethernet ports, cut through switching using ICSS firmware. The ICSS firmware and for example the TMG stack support MRP (https://www.tmgte.de/en/products/communication-software/profinet-io-device-stack#Sec1 ). As does the TI industrial protocols toolkit stack (the SDK packaging is being worked on). PROFINET device stack support is always freeRTOS.

    PROFINET controller, which in the case of Codesys runs in Linux is different. We do not provide a stack, just guides how to install Codesys. Controller with MRP feature or some other advanced features needs HW specific customization, which Codesys has not done for any TI SoC. See statement "A Dual-Port Controller (e.g. for MRP support or a ‘daisy-chain’) may be implemented with special dual-port (bridge) Ethernet chipsets, but this requires some runtime adaptions by the OEM." We don't have an example of these adaptations, I would suggest for the Codesys customer to contact Codesys for details of this to get started.

      Pekka