|
From: Anil on 20 Sep 2005 07:51 Hello, I would like to know the MAC address of newly purchased LAN controller chip. To be specific, SMSC LAN91C111. How do I get the MAC address of this chip. I am using the chip in a standalone board have some boot flash and is interfaced to 32 bit RISC processor. Can anybody help me? Thanks in Advance Regards Anil
From: Markus Zingg on 20 Sep 2005 08:16 >Hello, > > > I would like to know the MAC address of newly purchased LAN >controller chip. To be specific, SMSC LAN91C111. How do I get the MAC >address of this chip. I am using the chip in a standalone board have >some boot flash and is interfaced to 32 bit RISC processor. Can anybody >help me? > >Thanks in Advance > >Regards >Anil I never used this particular chip, but usually the MAC is not on chip. You have to program the chip to use the MAC you want to assign it. Methods vary from using a small serial flash to using the host processor storing it into some registers etc. The datasheet for the SMSC part you refer to surely will give you the answer. If your question is about a ready made board you purchased somewhere, you could use a lan analyzer ( www.ethereal.com ) to sniff it of the net. Provided the board uses DHCP or otherwise sends even a single frame to the net you would see it. HTH Markus
From: larwe on 20 Sep 2005 08:18 > I would like to know the MAC address of newly purchased LAN > controller chip. To be specific, SMSC LAN91C111. How do I get the MAC It has whatever MAC address you purchase and assign to it. Look at http://www.smsc.com/main/tools/lan9000/91c111ref.pdf, observe that there's an EEPROM there. Your MAC lies within (or can be set from the uC's firmware).
From: Tauno Voipio on 20 Sep 2005 11:54 Anil wrote: > Hello, > > > I would like to know the MAC address of newly purchased LAN > controller chip. To be specific, SMSC LAN91C111. How do I get the MAC > address of this chip. I am using the chip in a standalone board have > some boot flash and is interfaced to 32 bit RISC processor. Can anybody > help me? > The 91C111 does not have a MAC memory on chip. There are two ways to load the MAC on the chip: - SPI EEPROM connected to the chip, or - loading by software to the MAC registers directly. You need to get a free MAC address. The addresses are administered by IEEE. Look for OUI, it's the top part of a MAC address. For one-off projects, the simplest method by far is to hi-jack the MAC address from a throw-away NIC. HTH -- Tauno Voipio tauno voipio (at) iki fi
From: Mark McDougall on 21 Sep 2005 04:16
Markus Zingg wrote: > If your question is about a ready made board you purchased somewhere, > you could use a lan analyzer ( www.ethereal.com ) to sniff it of the > net. Provided the board uses DHCP or otherwise sends even a single > frame to the net you would see it. You don't even need to go that far. Just ping it from a machine and look at your ARP table. On a windoze box, use 'arp -a' after pinging it. Regards, Mark |