2023-01-06 02:25:58 -05:00
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
$ ./efuse_table_gen.py -t IDF_TARGET_PATH_NAME {IDF_TARGET_PATH_NAME}/esp_efuse_table.csv --info
|
|
|
|
|
|
|
|
Max number of bits in BLK 256
|
|
|
|
Parsing efuse CSV input file esp32c6/esp_efuse_table.csv ...
|
|
|
|
Verifying efuse table...
|
|
|
|
Sorted efuse table:
|
|
|
|
# field_name efuse_block bit_start bit_count
|
|
|
|
1 WR_DIS EFUSE_BLK0 0 32
|
|
|
|
2 WR_DIS.RD_DIS EFUSE_BLK0 0 1
|
|
|
|
3 WR_DIS.DIS_ICACHE EFUSE_BLK0 2 1
|
|
|
|
4 WR_DIS.DIS_USB_JTAG EFUSE_BLK0 2 1
|
|
|
|
5 WR_DIS.POWERGLITCH_EN EFUSE_BLK0 2 1
|
|
|
|
6 WR_DIS.DIS_FORCE_DOWNLOAD EFUSE_BLK0 2 1
|
|
|
|
7 WR_DIS.SPI_DOWNLOAD_MSPI_DIS EFUSE_BLK0 2 1
|
|
|
|
8 WR_DIS.DIS_TWAI EFUSE_BLK0 2 1
|
|
|
|
9 WR_DIS.JTAG_SEL_ENABLE EFUSE_BLK0 2 1
|
|
|
|
10 WR_DIS.DIS_PAD_JTAG EFUSE_BLK0 2 1
|
|
|
|
11 WR_DIS.DIS_DOWNLOAD_MANUAL_ENCRYPT EFUSE_BLK0 2 1
|
|
|
|
12 WR_DIS.WDT_DELAY_SEL EFUSE_BLK0 3 1
|
|
|
|
13 WR_DIS.SPI_BOOT_CRYPT_CNT EFUSE_BLK0 4 1
|
|
|
|
14 WR_DIS.SECURE_BOOT_KEY_REVOKE0 EFUSE_BLK0 5 1
|
|
|
|
15 WR_DIS.SECURE_BOOT_KEY_REVOKE1 EFUSE_BLK0 6 1
|
|
|
|
16 WR_DIS.SECURE_BOOT_KEY_REVOKE2 EFUSE_BLK0 7 1
|
|
|
|
17 WR_DIS.KEY_PURPOSE_0 EFUSE_BLK0 8 1
|
|
|
|
18 WR_DIS.KEY_PURPOSE_1 EFUSE_BLK0 9 1
|
|
|
|
19 WR_DIS.KEY_PURPOSE_2 EFUSE_BLK0 10 1
|
|
|
|
20 WR_DIS.KEY_PURPOSE_3 EFUSE_BLK0 11 1
|
|
|
|
21 WR_DIS.KEY_PURPOSE_4 EFUSE_BLK0 12 1
|
|
|
|
22 WR_DIS.KEY_PURPOSE_5 EFUSE_BLK0 13 1
|
|
|
|
23 WR_DIS.SEC_DPA_LEVEL EFUSE_BLK0 14 1
|
|
|
|
24 WR_DIS.CRYPT_DPA_ENABLE EFUSE_BLK0 14 1
|
|
|
|
25 WR_DIS.SECURE_BOOT_EN EFUSE_BLK0 15 1
|
|
|
|
26 WR_DIS.SECURE_BOOT_AGGRESSIVE_REVOKE EFUSE_BLK0 16 1
|
|
|
|
27 WR_DIS.ECDSA_FORCE_USE_HARDWARE_K EFUSE_BLK0 17 1
|
|
|
|
28 WR_DIS.FLASH_TPUW EFUSE_BLK0 18 1
|
|
|
|
29 WR_DIS.DIS_DOWNLOAD_MODE EFUSE_BLK0 18 1
|
|
|
|
30 WR_DIS.DIS_DIRECT_BOOT EFUSE_BLK0 18 1
|
|
|
|
31 WR_DIS.DIS_USB_SERIAL_JTAG_ROM_PRINT EFUSE_BLK0 18 1
|
|
|
|
32 WR_DIS.DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE EFUSE_BLK0 18 1
|
|
|
|
33 WR_DIS.ENABLE_SECURITY_DOWNLOAD EFUSE_BLK0 18 1
|
|
|
|
34 WR_DIS.UART_PRINT_CONTROL EFUSE_BLK0 18 1
|
|
|
|
35 WR_DIS.FORCE_SEND_RESUME EFUSE_BLK0 18 1
|
|
|
|
36 WR_DIS.SECURE_VERSION EFUSE_BLK0 18 1
|
|
|
|
37 WR_DIS.SECURE_BOOT_DISABLE_FAST_WAKE EFUSE_BLK0 18 1
|
|
|
|
38 WR_DIS.HYS_EN_PAD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
|
|
|
|
87 WDT_DELAY_SEL EFUSE_BLK0 80 2
|
|
|
|
88 SPI_BOOT_CRYPT_CNT EFUSE_BLK0 82 3
|
|
|
|
89 SECURE_BOOT_KEY_REVOKE0 EFUSE_BLK0 85 1
|
|
|
|
90 SECURE_BOOT_KEY_REVOKE1 EFUSE_BLK0 86 1
|
|
|
|
91 SECURE_BOOT_KEY_REVOKE2 EFUSE_BLK0 87 1
|
|
|
|
92 KEY_PURPOSE_0 EFUSE_BLK0 88 4
|
|
|
|
93 KEY_PURPOSE_1 EFUSE_BLK0 92 4
|
|
|
|
94 KEY_PURPOSE_2 EFUSE_BLK0 96 4
|
|
|
|
95 KEY_PURPOSE_3 EFUSE_BLK0 100 4
|
|
|
|
96 KEY_PURPOSE_4 EFUSE_BLK0 104 4
|
|
|
|
97 KEY_PURPOSE_5 EFUSE_BLK0 108 4
|
|
|
|
98 SEC_DPA_LEVEL EFUSE_BLK0 112 2
|
|
|
|
99 ECDSA_FORCE_USE_HARDWARE_K EFUSE_BLK0 114 1
|
|
|
|
100 CRYPT_DPA_ENABLE EFUSE_BLK0 115 1
|
|
|
|
101 SECURE_BOOT_EN EFUSE_BLK0 116 1
|
|
|
|
102 SECURE_BOOT_AGGRESSIVE_REVOKE EFUSE_BLK0 117 1
|
|
|
|
103 FLASH_TPUW EFUSE_BLK0 124 4
|
|
|
|
104 DIS_DOWNLOAD_MODE EFUSE_BLK0 128 1
|
|
|
|
105 DIS_DIRECT_BOOT EFUSE_BLK0 129 1
|
|
|
|
106 DIS_USB_SERIAL_JTAG_ROM_PRINT EFUSE_BLK0 130 1
|
|
|
|
107 DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE EFUSE_BLK0 132 1
|
|
|
|
108 ENABLE_SECURITY_DOWNLOAD EFUSE_BLK0 133 1
|
|
|
|
109 UART_PRINT_CONTROL EFUSE_BLK0 134 2
|
|
|
|
110 FORCE_SEND_RESUME EFUSE_BLK0 136 1
|
|
|
|
111 SECURE_VERSION EFUSE_BLK0 137 16
|
|
|
|
112 SECURE_BOOT_DISABLE_FAST_WAKE EFUSE_BLK0 153 1
|
|
|
|
113 HYS_EN_PAD0 EFUSE_BLK0 154 6
|
|
|
|
114 HYS_EN_PAD1 EFUSE_BLK0 160 22
|
|
|
|
115 MAC EFUSE_BLK1 0 8
|
|
|
|
116 MAC EFUSE_BLK1 8 8
|
|
|
|
117 MAC EFUSE_BLK1 16 8
|
|
|
|
118 MAC EFUSE_BLK1 24 8
|
|
|
|
119 MAC EFUSE_BLK1 32 8
|
|
|
|
120 MAC EFUSE_BLK1 40 8
|
|
|
|
121 MAC_EXT EFUSE_BLK1 48 16
|
|
|
|
122 WAFER_VERSION_MINOR EFUSE_BLK1 114 3
|
|
|
|
123 WAFER_VERSION_MAJOR EFUSE_BLK1 117 2
|
|
|
|
124 DISABLE_WAFER_VERSION_MAJOR EFUSE_BLK1 119 1
|
|
|
|
125 FLASH_CAP EFUSE_BLK1 120 3
|
|
|
|
126 FLASH_TEMP EFUSE_BLK1 123 2
|
|
|
|
127 FLASH_VENDOR EFUSE_BLK1 125 3
|
|
|
|
128 PKG_VERSION EFUSE_BLK1 128 3
|
|
|
|
129 SYS_DATA_PART2 EFUSE_BLK10 0 256
|
|
|
|
130 OPTIONAL_UNIQUE_ID EFUSE_BLK2 0 128
|
|
|
|
131 BLK_VERSION_MINOR EFUSE_BLK2 130 3
|
|
|
|
132 BLK_VERSION_MAJOR EFUSE_BLK2 133 2
|
|
|
|
133 DISABLE_BLK_VERSION_MAJOR EFUSE_BLK2 135 1
|
|
|
|
134 USER_DATA EFUSE_BLK3 0 256
|
|
|
|
135 USER_DATA.MAC_CUSTOM EFUSE_BLK3 200 48
|
|
|
|
136 KEY0 EFUSE_BLK4 0 256
|
|
|
|
137 KEY1 EFUSE_BLK5 0 256
|
|
|
|
138 KEY2 EFUSE_BLK6 0 256
|
|
|
|
139 KEY3 EFUSE_BLK7 0 256
|
|
|
|
140 KEY4 EFUSE_BLK8 0 256
|
|
|
|
141 KEY5 EFUSE_BLK9 0 256
|
|
|
|
|
|
|
|
Used bits in efuse table:
|
|
|
|
EFUSE_BLK0
|
|
|
|
[0 31] [0 0] [2 2] ... [21 22] [22 30] [30 38] [32 38] [40 42] [44 52] [57 58] [80 117] [124 130] [132 181]
|
|
|
|
EFUSE_BLK1
|
|
|
|
[0 63] [114 130]
|
|
|
|
EFUSE_BLK10
|
|
|
|
[0 255]
|
|
|
|
EFUSE_BLK2
|
|
|
|
[0 127] [130 135]
|
|
|
|
EFUSE_BLK3
|
|
|
|
[0 255] [200 247]
|
|
|
|
EFUSE_BLK4
|
|
|
|
[0 255]
|
|
|
|
EFUSE_BLK5
|
|
|
|
[0 255]
|
|
|
|
EFUSE_BLK6
|
|
|
|
[0 255]
|
|
|
|
EFUSE_BLK7
|
|
|
|
[0 255]
|
|
|
|
EFUSE_BLK8
|
|
|
|
[0 255]
|
|
|
|
EFUSE_BLK9
|
|
|
|
[0 255]
|
|
|
|
Note: Not printed ranges are free for using. (bits in EFUSE_BLK0 are reserved for Espressif)
|
|
|
|
|