Page 1 of 1

Need to overwrite MAC Address into ESP32 Module

Posted: Tue Oct 30, 2018 10:39 am
by Ritesh
Hi ESP_Angus, WiFive and ESP32 SDK Developers,

We have one requirement into product in which we have already printed Enclosure with ESP32 STA/AP MAC Address and suddenly ESP32 Module got damaged due to some reason.

Now, We want to use same MAC Address after replacing ESP32 Module but we have checked that there is no any option to do it using esptool.py or other utility.

https://dl.espressif.com/doc/esp-idf/la ... dress.html

https://esp32.com/viewtopic.php?t=2182

I have checked that esp_base_mac_addr_set will set temporary for time being and it gets enter into default if we update firmware without adding that support

Would you guys please suggest us like is there any way to write MAC Address permanently using tool or script or any command?

Re: Need to overwrite MAC Address into ESP32 Module

Posted: Tue Oct 30, 2018 12:42 pm
by WiFive
No, it would have to be supported in every firmware. Just print a new sticker.

Re: Need to overwrite MAC Address into ESP32 Module

Posted: Wed Oct 31, 2018 1:01 am
by Ritesh
WiFive wrote:No, it would have to be supported in every firmware. Just print a new sticker.
Ok. Means there is no any support to write MAC address externally using tool. Correct?

Re: Need to overwrite MAC Address into ESP32 Module

Posted: Wed Oct 31, 2018 1:25 am
by WiFive
It means there is no way to change factory MAC address because efuse is not erasable.

Re: Need to overwrite MAC Address into ESP32 Module

Posted: Wed Oct 31, 2018 4:03 am
by Ritesh
WiFive wrote:It means there is no way to change factory MAC address because efuse is not erasable.
Ok. Is there any other way to overwrite MAC Address permanently? Do you have any idea or any information for same?

Re: Need to overwrite MAC Address into ESP32 Module

Posted: Wed Oct 31, 2018 4:15 am
by WiFive
No, only if you add support in all your firmwares to detect alternate Mac address in nvs or efuse blk3 and change base Mac address.

Re: Need to overwrite MAC Address into ESP32 Module

Posted: Wed Oct 31, 2018 5:22 am
by Ritesh
WiFive wrote:No, only if you add support in all your firmwares to detect alternate Mac address in nvs or efuse blk3 and change base Mac address.
Ok. Thanks for Reply.

That is already in our mind as we have already do that kind of stuff into ESP8266 Project.