idf.py efuse_custom_table fails

pptzpp
Posts: 6
Joined: Thu Aug 19, 2021 10:59 am

idf.py efuse_custom_table fails

Postby pptzpp » Tue Sep 07, 2021 12:49 pm

I want to implement a custom MAC in eFuse on the esp32c3, similar to the way it's done for the esp32 in the common eFuse table.

I copy

Code: Select all

efuse/esp32c3/esp_efuse_table.csv
into my project, edit the USER_DATA section accordingly, and run

Code: Select all

idf.py efuse_custom_table
The result is:

Code: Select all

Verifying efuse table...
Entry WR_DIS_RD_DIS invalid: custom_table should use only EFUSE_BLK3
(Where WR_DIS_RD_DIS points to BLK0)

Okay, I thought, maybe the custom table should only contain the portion that redefines the BLK3 region, but doing so gives a collision between the default and the custom tables:

Code: Select all

Verifying efuse table...
Field names must be unique
Max number of bits in BLK 256
Field at USER_DATA, EFUSE_BLK3, 0, 256 have dublicate field_name

etc.

So "repartitioning" BLK3 in the custom table doesn't work either. The only way I can get it to work is to modify the default table and rebuild with

Code: Select all

idf.py efuse_common_table
.

Anything I'm missing?

Who is online

Users browsing this forum: No registered users and 107 guests