cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to change MAC Address on STM32MP1

symeon
Associate II

Hello everyone,

I'm currently working with an STM32MP157F-DK2 device, and I need to change the MAC address. I'm building the image using bitbake, but I've encountered an issue when trying to modify the MAC address through OTP cells link

Here’s the output I get when checking the OTP values:

 

STM32MP> fuse sense 0 57 2

Sensing bank 0:

Word 0x00000039: e17ae710 0000c393

 

STM32MP> fuse sense 0 58 2

Sensing bank 0:

Word 0x0000003a: 0000c393 12724303

 

STM32MP> env print ethaddr

ethaddr=10:e7:7a:e1:93:c3

 

STM32MP> fuse sense 0 0x10000039 2

Sensing bank 0:

Word 0x10000039: 40000000 40000000

 

As you can see, the current MAC address is 10:e7:7a:e1:93:c3, and the OTP cells are already programmed and locked. I tried to change the MAC address using the fuse prog command, but the OTP cells are locked, and I cannot modify them.

Is there any way to change the MAC address on a locked OTP cell? Is it possible to unlock the OTP or reset it somehow?

Additionally, I’m building the image using Bitbake. If there's a way to handle this issue during the image build process or with other configuration steps, I would appreciate any guidance.

Thank you!

Best Regards,

Symeon Zapsis

 

0 REPLIES 0