Page 1 of 1

MAC address corruption error

Posted: Fri Apr 09, 2021 7:13 am
by muhambykar
Hi for all, my esp32 was working perfectly. But suddenly it got crc checksum error and stop working.



MAC Factory MAC Address
= b8:f0:09:8a:0d:e8 (CRC 0x7f invalid - calculated 0x39) R/W

EFUSE block 0:
00000000 098a0de8 007fb8f0 0000a200 0001d034 00000000 00000004
EFUSE block 1:
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
EFUSE block 2:
00000000 03200140 00000000 00000030 00008040 00000000 01000008 02020080
EFUSE block 3:
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

ORGINAL GATEWAY MAC = B8F0098A0DA8[0m

and when device got power supply,
I (659) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
E (669) system_api: Base MAC address from BLK0 of EFUSE CRC error, efuse_crc = 0x7f; calc_crc = 0x39
abort() was called at PC 0x400dc76b on core 1

got a response like that.

How can I solve this situation, is there any chance to change block0 to fix mac adddress?
and, how do I prevent it from happening to other devices ?

Re: MAC address corruption error

Posted: Fri Apr 09, 2021 8:07 pm
by WiFive
Well it doesn't show as write protected but you can only change 0s to 1s and the checksum is 7f so you would have to find a combination that matched and was possible. Otherwise use a custom Mac address in block3 or in software. It looks like you have some random data in block2 so not sure if you were playing with efuse or it is a chip problem.