Changes

Jump to: navigation, search

DESK-MX8M-L/Deployment/MAC Address programming

13 bytes removed, 09:32, 21 June 2022
no edit summary
The MAC address is a six-pair set of hexadecimal numbers, for example <code>a1-c2-e3-44-5f-6d</code>. Specifically, in Ethernet, the MAC address is known as the Ethernet Address, which is the unique ID serial number of the Ethernet device in one's computer. MAC Addresses are used in a Local Area Network (LAN) by computers to communicate with each other. Every adapter has a unique MAC address.
In this Application Note, we will describe how to use the i.MX eFuses MX8M eFuse for programming and using the MAC address(es).
=== Obtaining a MAC address ===
Some SOCs provide programmable OTPs for security, MAC address, boot modes, etc. Usually, some of these are general-purpose registers and can be managed by the user.
In other cases, an external permanent storage device can be used for storing permanent settings like the MAC address: for the i.MX SoC MX8M product family, DAVE proposes to use the ''General Purposes eFuses'' (OTP blocks) on SoC itself for storing permanently the MAC address(es).
=== MAC address programming on i.MX8M family ===
</pre>
In the following example the MAC address <code>00:50:c2:1e:af:cd</code> is stored in the i.MX SOMSOC:
* (in case of presence) clear the <code>ethaddr</code> u-boot variable
<pre class="workstation-terminal">
For the second ethernet interface, the above procedure should be repeated in a similar way, except of ''the correct ''eFuse register should be used'':
The MAC address should be divided in ''low'' 16 bit and ''high'' 32 bits, for example MAC address <code>00:50:c2:1e:af:ce</code> is stored in the i.MX8M SOM SOC using:
<pre>
8,160
edits

Navigation menu