• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » ARM® Processors » Sitara™ ARM® » AM3x Sitara ARM Processors Forum » EtherCAT master stack on ICE board?
Share
Sitara™ ARM®
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

EtherCAT master stack on ICE board?

This question is not answered
Mathew Maher
Posted by Mathew Maher
on May 22 2012 09:39 AM
Intellectual495 points

Has anyone attempted to implement an ethercat master stack on the ICE boards? Or if not, does anyone have any sample code to program the PRU as an Ethernet MAC layer?

I know this sounds like a silly thing to do, but we have a requirement just come up to support multiple masters on a single EtherCAT ring. Only one master will ever be available at a time, but the nature of EtherCAT is that you can't turn off devices - hence the 'redundant' master needs to pretend to be a slave until switched in. Hence the need to support a master stack on a slave device.

Suggestions welcome!

Mat

ethercat
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Maneesh
    Posted by Maneesh
    on May 23 2012 00:37 AM
    Intellectual1815 points

    Can you please tell if there will be some time allowed for the EtherCAT slave to switch over and become a master.

    It is certainly possible to use the PRU as a classic 802.3 MAC but to switch to this function from an EtherCAT slave function, firmware swap is likely to be required and that needs further thought.

    Thanks.

    Maneesh

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mathew Maher
    Posted by Mathew Maher
    on May 23 2012 03:25 AM
    Intellectual495 points

    Hi Maneesh,

    time isn't a worry. This is a last-resort fallback position, its just that our hardware is inaccessable so we would look to bring the reserve master up remotely (easiest way is a long-distance re-flashing exercise).

    Mat

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Maneesh
    Posted by Maneesh
    on May 23 2012 04:01 AM
    Intellectual1815 points

    Mat,

    Technically, it is possible to accomplish what you are saying. The PRU MII ports will be connected to EtherCAT network and operate as slave in the normal mode. When there is a particular event that triggers for it to become a master, then, in a few seconds PRUs can be loaded with a different firmware to make the MII ports as regular IEEE 802.3 Ethernet ports. Such switch-over will disrupt the ongoing traffic on EtherCAT network... do you have a plan on that side of things? Or may be since the main master is already down, it is acceptable that the traffic is disrupted. And what about the software/functions that the EtherCAT master is itself doing at application level? Are those replicated on the stand-by master or is the stand-by master only doing a very limited amount of work?

    The Ethernet MAC functionality itself is definitely possible on PRUs and may become available in future... but I can't say if or when.

    Regards,

    Maneesh

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mathew Maher
    Posted by Mathew Maher
    on May 23 2012 04:25 AM
    Intellectual495 points

    we're assuming any failure of the original master will kill the bus, hence the new master will come up 'fresh' - re-initialising the slaves as required.Same again on the application side - there won't be any handover.

    So, sound like a plan is forming. Just a question about how much needs developing vs what we can get as sample code (forgive me here, but we're doing early-stage prototypes, so need to minimise any development work). The two areas:

    PRU MII code

    Master stack application code.

    Would be really good to know if either of these is on the roadmap anywhere - even for the future?

    Mat

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Maneesh
    Posted by Maneesh
    on May 23 2012 05:26 AM
    Intellectual1815 points

    Mat,

    Both MAC support and Master support are likely to become available in future but we do not have a timeline to share right now... sorry about that.

    Regards,

    Maneesh

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank Walzer
    Posted by Frank Walzer
    on May 24 2012 16:05 PM
    Genius13535 points

    Mat,

    for EtherCAT master stack code you may either contact Beckhoff/EtherCAT technology group or look in the open source world. There are some available. Also ETG forums are a good source for such info or questions.

    Regards.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use