Hi,
Not sure if this is the right place, but I see the ethernet code gets its MAC address from OTP on the XC-2. I also notice the address seems to be registered (wireshark shows xmos as the vendor). Does this mean there is a unique MAC address on each chip (specifically the G4) ?
Thanks
ethernet mac address
-
- Junior Member
- Posts: 7
- Joined: Wed Nov 10, 2010 10:44 pm
-
- XCore Expert
- Posts: 956
- Joined: Fri Dec 11, 2009 3:53 am
- Location: Sweden, Eskilstuna
If you check the code you can find the read from the OTP. If they stored a uniqe MAC in each I do not know. Which adress do you have in the OTP ?
Probably not the most confused programmer anymore on the XCORE forum.
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
Not every chip has OTP written.
When you run the ethernet code on a chip that hasn't, it generates a random one
(in the low 24 bits).
When you run the ethernet code on a chip that hasn't, it generates a random one
(in the low 24 bits).
-
- Experienced Member
- Posts: 66
- Joined: Fri Dec 11, 2009 3:38 pm
There is a custom MAC address (or 2 for an XC-3) assigned to each development board with an Ethernet interface - so XDK, XC-2, XC-3, XR-AVB-LC-BRD and XP-DSC-BLDC. It's burned into the OTP during board test and is tracked relative to the serial number of that board.
XMOS has it's own range of MAC addresses beginning 00:22:97:XX:XX:XX
Kind Regards,
Corin
XMOS has it's own range of MAC addresses beginning 00:22:97:XX:XX:XX
Kind Regards,
Corin
-
- Junior Member
- Posts: 7
- Joined: Wed Nov 10, 2010 10:44 pm
Thanks for all the responses. I had thought as much, but it would be nice if it was. The XMOS mac range helps, though, as it will make it easier to pick a valid address in production.
Thanks
Thanks
-
- Experienced Member
- Posts: 66
- Joined: Fri Dec 11, 2009 3:38 pm
Hi Sleepless,
Thank you for your response.
Unfortunately, you must use your own range of MAC addresses. Under no circumstances must you use the XMOS MAC address range, as these are for boards produced by ourselves.
You can apply for your own range of MAC address from here:
- for less than 4097 addresses = http://standards.ieee.org/develop/regau ... index.html = $600
- for more than 4097 addresses = http://standards.ieee.org/develop/regau ... index.html = $1,750
Hope this helps.
Kind Regards,
Corin
Thank you for your response.
Unfortunately, you must use your own range of MAC addresses. Under no circumstances must you use the XMOS MAC address range, as these are for boards produced by ourselves.
You can apply for your own range of MAC address from here:
- for less than 4097 addresses = http://standards.ieee.org/develop/regau ... index.html = $600
- for more than 4097 addresses = http://standards.ieee.org/develop/regau ... index.html = $1,750
Hope this helps.
Kind Regards,
Corin