Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Deployment/MAC Address programming

1,092 bytes added, 18:21, 27 December 2023
no edit summary
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
|-
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Version
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|1.0.0{{oldid|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"16739|Jun 2022/07/01}}|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|First release using DESK-MX8M-L-2.0.0-rc2release
|-
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |2023/08/24
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |DESK-MX8M-L-4.0.0 release
|}
<section end=History/>
__FORCETOC__
__FORCETOC__
<section begin=Body/>
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.
=== Platform supported===In this Application Note, we will describe how to use the i.MX8M eFuse for programming and using the MAC address(es)and it applies to the following DAVE <code>i.MX8M family</code> products:* [[ORCA SOM | ORCA]]* [[MITO 8M SOM | MITO8M]]* [[MITO 8M Mini SOM| MITO 8M Mini]] {{ImportantMessage|text=This Application Note has been validated in the [[ORCA SOM | ORCA SOM]]. The commands used have been not validated in the other platform yet.}}
=== Obtaining a MAC address ===
==== eFuse locking ====
The OTP eFuse registers should be locked in order to avoid unwanted registers (and then MAC addresses) modifications. OTP lock grants the MAC values cannot be modified anymore.
 
{{ImportantMessage|text=If not locked yet, OTP bits can be set to ''''1'''' but not reversed to ''''0'''' value, so some modifications can be applied if the eFuse registers are not locked.
 
For more information see, for example, the [https://www.nxp.com/webapp/Download?colCode=IMX6SDLRM i.MX6 Dual Lite Reference Manual chap. 47.3.1.3] }}
The two MAC addresses - even if sharing register <code>bank:9 word:1</code> - can be programmed at different times.
<pre>
fuse prog -y 0 0 c000
</pre>
 
==== eFuse reading ====
The eFuse registers can be read - after programming - for checking the written values:
 
<pre class="workstation-terminal">
u-boot=> fuse read 9 0
Reading bank 9:
 
Word 0x00000000: c21eafa8
u-boot=> fuse read 9 1
Reading bank 9:
 
Word 0x00000001: afa90050
u-boot=> fuse read 9 2
Reading bank 9:
 
Word 0x00000002: 0050c21e
u-boot=>
</pre>
8,221
edits