Support for HIPER Ring and/or Rapid Spanning Tree Protocol

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All,

I have done several projects with AVRs and Ethernet interfaces. Primarily using the Xport devices although I did initially work with a Wiznet.

I now have a request from a client to create a very simple Ethernet control board with 16 inputs and 16 outputs. Which is very easy for a Xport/Avr combo.

However, the client also wants a redundant Ethernet port to implement HIPER Ring. Conceptually it seems as simple as an AVR/XPORT/Hub.

I have searched the internet and AVR Freaks for some hub ICs or other techniques to implement this. It seems like over kill to use a 32 bit processor just to drive a Ethernet switch IC or the MMI.

I am currently have a PICDEM.net 2 (say it ain't so) evaluation board. It has a processor with integrated MAC/Phy and the ENC28J60.

Has anyone implemented a dual Ethernet port with an AVR?

Any other ideas or links?

Jeff

Jeff Dombach, JLD Systems
"We do the stuff behind the buttons!"
Your source for embedded solutions with a 100% Guarantee.
http://www.jldsystems.com
Phone 717.892.1100

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

@Jeff

Does he want 2 separate AVR ports or 2 Separate (Connect Switch ports .. The remote end) , or both ?

If all that he wants is the ability to conect the avr-board to 2 different switches , you might get away with just having one "Multi port" chip (basically a hub or switch "chip" in same VLAN".

Then you would enable RSTP on his "intelligent switches" , and one of the intelligent uplinks would block.

It makes no sense to make 2 ethernet controllers on the AVR , as there is only one cpu etc ....
You would be a "SPOF" anyway ...... (Single Point Of Failure).

What we sometimes require from our suppliers , is the ability to connect their device to two of our switches , so that we can take one (central switch) out for maintenance.

Btw: I haven't done much avr ethernet , but works with large IP networks for a living.

Edit: For a 4-port switch chip , you might have some luck if you seek for the Linksys WRT54G , i'm quite sure that someone mentioned what switch chip that was in there , and the code to "Init" it might be opensource.
It seems to be the "ADM6996" used in the old models (6port).

Info & Driver
http://www.bettina-attack.de/jon...

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have implemented a couple of similar protocols. If you are simply building a redundant-interface-device, go for any small switch chip that does vlan tagging, and a network stack where you can fiddle with the raw ethernet frames (you will need this for STP).

If you need to implement an STP capable switch, life is harder. In this case your device needs to work as a 100Mbps switch, and at the same time trap and reroute the BPDUs relating to STP to your processor, and not pass them as ordinary packets in the switch part of the design.

More Information Needed.

/Kasper