2023-07-25 00:18:16 -04:00
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
|
2023-09-11 10:29:41 -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 ../esp32p4/esp_efuse_table.csv ...
|
|
|
|
Verifying efuse table...
|
|
|
|
Sorted efuse table:
|
|
|
|
# field_name efuse_block bit_start bit_count
|
2024-01-19 01:40:33 -05:00
|
|
|
1 WR_DIS EFUSE_BLK0 0 32
|
|
|
|
2 WR_DIS.RD_DIS EFUSE_BLK0 0 1
|
|
|
|
3 WR_DIS.SPI_BOOT_CRYPT_CNT EFUSE_BLK0 4 1
|
|
|
|
4 WR_DIS.SECURE_BOOT_KEY_REVOKE0 EFUSE_BLK0 5 1
|
|
|
|
5 WR_DIS.SECURE_BOOT_KEY_REVOKE1 EFUSE_BLK0 6 1
|
|
|
|
6 WR_DIS.SECURE_BOOT_KEY_REVOKE2 EFUSE_BLK0 7 1
|
|
|
|
7 WR_DIS.KEY_PURPOSE_0 EFUSE_BLK0 8 1
|
|
|
|
8 WR_DIS.KEY_PURPOSE_1 EFUSE_BLK0 9 1
|
|
|
|
9 WR_DIS.KEY_PURPOSE_2 EFUSE_BLK0 10 1
|
|
|
|
10 WR_DIS.KEY_PURPOSE_3 EFUSE_BLK0 11 1
|
|
|
|
11 WR_DIS.KEY_PURPOSE_4 EFUSE_BLK0 12 1
|
|
|
|
12 WR_DIS.KEY_PURPOSE_5 EFUSE_BLK0 13 1
|
|
|
|
13 WR_DIS.SECURE_BOOT_EN EFUSE_BLK0 15 1
|
|
|
|
14 WR_DIS.BLK1 EFUSE_BLK0 20 1
|
|
|
|
15 WR_DIS.MAC EFUSE_BLK0 20 1
|
2024-02-16 10:36:11 -05:00
|
|
|
16 WR_DIS.WAFER_VERSION_MINOR EFUSE_BLK0 20 1
|
|
|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 WDT_DELAY_SEL EFUSE_BLK0 80 2
|
|
|
|
66 SPI_BOOT_CRYPT_CNT EFUSE_BLK0 82 3
|
|
|
|
67 SECURE_BOOT_KEY_REVOKE0 EFUSE_BLK0 85 1
|
|
|
|
68 SECURE_BOOT_KEY_REVOKE1 EFUSE_BLK0 86 1
|
|
|
|
69 SECURE_BOOT_KEY_REVOKE2 EFUSE_BLK0 87 1
|
|
|
|
70 KEY_PURPOSE_0 EFUSE_BLK0 88 4
|
|
|
|
71 KEY_PURPOSE_1 EFUSE_BLK0 92 4
|
|
|
|
72 KEY_PURPOSE_2 EFUSE_BLK0 96 4
|
|
|
|
73 KEY_PURPOSE_3 EFUSE_BLK0 100 4
|
|
|
|
74 KEY_PURPOSE_4 EFUSE_BLK0 104 4
|
|
|
|
75 KEY_PURPOSE_5 EFUSE_BLK0 108 4
|
|
|
|
76 SEC_DPA_LEVEL EFUSE_BLK0 112 2
|
|
|
|
77 ECDSA_ENABLE_SOFT_K EFUSE_BLK0 114 1
|
|
|
|
78 CRYPT_DPA_ENABLE EFUSE_BLK0 115 1
|
|
|
|
79 SECURE_BOOT_EN EFUSE_BLK0 116 1
|
|
|
|
80 SECURE_BOOT_AGGRESSIVE_REVOKE EFUSE_BLK0 117 1
|
|
|
|
81 FLASH_TYPE EFUSE_BLK0 119 1
|
|
|
|
82 FLASH_PAGE_SIZE EFUSE_BLK0 120 2
|
|
|
|
83 FLASH_ECC_EN EFUSE_BLK0 122 1
|
|
|
|
84 DIS_USB_OTG_DOWNLOAD_MODE EFUSE_BLK0 123 1
|
|
|
|
85 FLASH_TPUW EFUSE_BLK0 124 4
|
|
|
|
86 DIS_DOWNLOAD_MODE EFUSE_BLK0 128 1
|
|
|
|
87 DIS_DIRECT_BOOT EFUSE_BLK0 129 1
|
|
|
|
88 DIS_USB_SERIAL_JTAG_ROM_PRINT EFUSE_BLK0 130 1
|
|
|
|
89 LOCK_KM_KEY EFUSE_BLK0 131 1
|
|
|
|
90 DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE EFUSE_BLK0 132 1
|
|
|
|
91 ENABLE_SECURITY_DOWNLOAD EFUSE_BLK0 133 1
|
|
|
|
92 UART_PRINT_CONTROL EFUSE_BLK0 134 2
|
|
|
|
93 FORCE_SEND_RESUME EFUSE_BLK0 136 1
|
|
|
|
94 SECURE_VERSION EFUSE_BLK0 137 16
|
|
|
|
95 SECURE_BOOT_DISABLE_FAST_WAKE EFUSE_BLK0 153 1
|
|
|
|
96 HYS_EN_PAD EFUSE_BLK0 154 1
|
|
|
|
97 DCDC_VSET EFUSE_BLK0 155 5
|
|
|
|
98 PXA0_TIEH_SEL_0 EFUSE_BLK0 160 2
|
|
|
|
99 PXA0_TIEH_SEL_1 EFUSE_BLK0 162 2
|
|
|
|
100 PXA0_TIEH_SEL_2 EFUSE_BLK0 164 2
|
|
|
|
101 PXA0_TIEH_SEL_3 EFUSE_BLK0 166 2
|
|
|
|
102 KM_DISABLE_DEPLOY_MODE EFUSE_BLK0 168 4
|
|
|
|
103 HP_PWR_SRC_SEL EFUSE_BLK0 178 1
|
|
|
|
104 DCDC_VSET_EN EFUSE_BLK0 179 1
|
|
|
|
105 DIS_WDT EFUSE_BLK0 180 1
|
|
|
|
106 DIS_SWD EFUSE_BLK0 181 1
|
|
|
|
107 MAC EFUSE_BLK1 0 8
|
|
|
|
108 MAC EFUSE_BLK1 8 8
|
|
|
|
109 MAC EFUSE_BLK1 16 8
|
|
|
|
110 MAC EFUSE_BLK1 24 8
|
|
|
|
111 MAC EFUSE_BLK1 32 8
|
|
|
|
112 MAC EFUSE_BLK1 40 8
|
|
|
|
113 WAFER_VERSION_MINOR EFUSE_BLK1 64 4
|
|
|
|
114 WAFER_VERSION_MAJOR EFUSE_BLK1 68 2
|
|
|
|
115 DISABLE_WAFER_VERSION_MAJOR EFUSE_BLK1 70 1
|
|
|
|
116 DISABLE_BLK_VERSION_MAJOR EFUSE_BLK1 71 1
|
|
|
|
117 BLK_VERSION_MINOR EFUSE_BLK1 72 3
|
|
|
|
118 BLK_VERSION_MAJOR EFUSE_BLK1 75 2
|
|
|
|
119 FLASH_CAP EFUSE_BLK1 77 3
|
|
|
|
120 FLASH_TEMP EFUSE_BLK1 80 2
|
|
|
|
121 FLASH_VENDOR EFUSE_BLK1 82 3
|
|
|
|
122 PSRAM_CAP EFUSE_BLK1 85 2
|
|
|
|
123 PSRAM_TEMP EFUSE_BLK1 87 2
|
|
|
|
124 PSRAM_VENDOR EFUSE_BLK1 89 2
|
|
|
|
125 PKG_VERSION EFUSE_BLK1 91 3
|
|
|
|
126 SYS_DATA_PART2 EFUSE_BLK10 0 256
|
|
|
|
127 OPTIONAL_UNIQUE_ID EFUSE_BLK2 0 128
|
|
|
|
128 USER_DATA EFUSE_BLK3 0 256
|
|
|
|
129 USER_DATA.MAC_CUSTOM EFUSE_BLK3 200 48
|
|
|
|
130 KEY0 EFUSE_BLK4 0 256
|
|
|
|
131 KEY1 EFUSE_BLK5 0 256
|
|
|
|
132 KEY2 EFUSE_BLK6 0 256
|
|
|
|
133 KEY3 EFUSE_BLK7 0 256
|
|
|
|
134 KEY4 EFUSE_BLK8 0 256
|
|
|
|
135 KEY5 EFUSE_BLK9 0 256
|
2024-01-19 01:40:33 -05:00
|
|
|
|
2023-09-11 10:29:41 -04:00
|
|
|
Used bits in efuse table:
|
2024-01-19 01:40:33 -05:00
|
|
|
EFUSE_BLK0
|
|
|
|
[0 31] [0 0] [4 13] [15 15] [20 20] [20 20] [20 29] [32 38] [32 42] [44 52] [57 78] [80 117] [119 171] [178 181]
|
|
|
|
|
|
|
|
EFUSE_BLK1
|
2024-02-16 10:36:11 -05:00
|
|
|
[0 47] [64 93]
|
2024-01-19 01:40:33 -05:00
|
|
|
|
|
|
|
EFUSE_BLK10
|
|
|
|
[0 255]
|
|
|
|
|
|
|
|
EFUSE_BLK2
|
2024-02-16 10:36:11 -05:00
|
|
|
[0 127]
|
2024-01-19 01:40:33 -05:00
|
|
|
|
|
|
|
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]
|
2023-09-11 10:29:41 -04:00
|
|
|
Note: Not printed ranges are free for using. (bits in EFUSE_BLK0 are reserved for Espressif)
|