CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Setting MAC Address

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
SeeCwriter



Joined: 18 Nov 2013
Posts: 160

View user's profile Send private message

Setting MAC Address
PostPosted: Tue Nov 19, 2013 10:59 am     Reply with quote

I'm going through the examples in the Embedded Internet Dev. Kit, and in all of them the MAC address is set at run time with hardcoded values. How does this work when an Ethernet enabled program is given to manufacturing? How are they supposed to set the MAC address of each device? This is not something we have had to do before. To date, all our Ethernet components/devices come with a MAC address pre-programmed.

I am interested to hear how others here have handled/solved this situation.
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Tue Nov 19, 2013 4:30 pm     Reply with quote

It depends how you are implementing the interface.

If using an external interface chip, some of these come with pre-programmed Mac addresses that can be read and used.

You can also have an EEPROM with a Mac address. Look at
<http://www.microchip.com/pagehandler/en-us/products/memory/serialEEPROM/MAC.html>

Alternatively, if you have already got a range of Mac addresses allocated, then either add these to the chip's EEPROM, with a script calling the programmer, or post install them as part of the commissioning of the board (script that calls the device at a fixed address, and then sends it a command to change address).

If you have the chips 'bulk programmed', most companies that do this, can store an address as part of this operation (Microchip will).

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group