Hi Sushil
There are two issues here.
I will start with the practicalities of how to set the MAC in the uTasker project.
The default MAC address is 00:00:00:00:00:00 as you have pointed out. It is possible to communicate with this MAC address but obviously it has to be set for general use. This can be performed in several ways.
1. On the LAN configuration web page you can set and save the MAC address (it allows changing from the default address but once the address is non zero it will disable any further modifification).
2. Via serial interface you can change it in the LAN configuration menu. Again it only allows one change and save from the default zero value. eg. "MAC 00:11:22:33:44:55"
3. Via TELNET the same command works.
The MAC address is saved to the uTasker parameter system in FLASH where it can (normally) only be destroyed by deleting the FLASH with a BDM. It is also possible to store it in extrernal memory but the internal FLASH is practical in most projects. (There are general purpose routines available if you would like to use a different method).
Now to MAC addresses in general:
If you are using your own device behind a router and it is not visible to the 'outside world' you can in fact program any MAC address that you like because it is in a private area. It just has to be unique in this private area. (This is also valid for a device sitting in a Demiliterized Zone- DMZ)
If however you are selling a product or the device is sitting directly on the Internet then it must have a world wide unique MAC address which has to be purchased from IEEE. It is purchased either as a block (IAB) of 4k MAC addresses at a cost of about $500, or if you are going to produce a large number of pieces of equipment you can purchase a unique company OUI of 16Million for about $1'600 (plus $2'000 if you don't want the OUI to be registered on the public listing).
It is then your responsibility to manage the assignment of these addresses in your own products.
The registration page is at:
http://standards.ieee.org/regauth/index.htmlBest regards
Mark
www.uTasker.comMessage Edited by mjbcswitzerland on 2007-04-0308:20 PM