mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
199e5abbf3
C2 chip does not have such fields
14 KiB
14 KiB
1 | # field_name, | efuse_block, | bit_start, | bit_count, |comment # |
---|---|
2 | # | (EFUSE_BLK0 | (0..255) | (1..-) | # |
3 | # | EFUSE_BLK1 | |MAX_BLK_LEN*| # |
4 | # | ... | | | # |
5 | # | EFUSE_BLK10)| | | # |
6 | ########################################################################## |
7 | # !!!!!!!!!!! # |
8 | # this will generate new source files, next rebuild all the sources. |
9 | # !!!!!!!!!!! # |
10 | # EFUSE_RD_REPEAT_DATA BLOCK # |
11 | ############################## |
12 | # EFUSE_RD_WR_DIS_REG # |
13 | WR_DIS, EFUSE_BLK0, 0, 32, Write protection |
14 | WR_DIS.RD_DIS, EFUSE_BLK0, 0, 1, Write protection for RD_DIS.KEY0 RD_DIS.KEY1 RD_DIS.KEY2 RD_DIS.KEY3 RD_DIS.KEY4 RD_DIS.KEY5 RD_DIS.SYS_DATA_PART2 |
15 | WR_DIS.DIS_RTC_RAM_BOOT, EFUSE_BLK0, 1, 1, Write protection for DIS_RTC_RAM_BOOT |
16 | WR_DIS.DIS_ICACHE, EFUSE_BLK0, 2, 1, [] wr_dis of DIS_ICACHE |
17 | WR_DIS.GROUP_1, EFUSE_BLK0, 2, 1, Write protection for DIS_ICACHE DIS_DCACHE DIS_DOWNLOAD_ICACHE DIS_DOWNLOAD_DCACHE DIS_FORCE_DOWNLOAD DIS_USB DIS_CAN DIS_BOOT_REMAP SOFT_DIS_JTAG HARD_DIS.JTAG DIS_DOWNLOAD_MANUAL_ENCRYPT |
18 | WR_DIS.GROUP_2, EFUSE_BLK0, 3, 1, Write protection for VDD_SPI_XPD VDD_SPI_TIEH VDD_SPI_FORCE VDD_SPI_INIT VDD_SPI_DCAP WDT_DELAY_SEL |
19 | WR_DIS.SPI_BOOT_CRYPT_CNT, EFUSE_BLK0, 4, 1, Write protection for SPI_BOOT_CRYPT_CNT |
20 | WR_DIS.SECURE_BOOT_KEY_REVOKE0,EFUSE_BLK0, 5, 1, Write protection for SECURE_BOOT_KEY_REVOKE0 |
21 | WR_DIS.SECURE_BOOT_KEY_REVOKE1,EFUSE_BLK0, 6, 1, Write protection for SECURE_BOOT_KEY_REVOKE1 |
22 | WR_DIS.SECURE_BOOT_KEY_REVOKE2,EFUSE_BLK0, 7, 1, Write protection for SECURE_BOOT_KEY_REVOKE2 |
23 | WR_DIS.KEY0_PURPOSE, EFUSE_BLK0, 8, 1, Write protection for key_purpose. KEY0 |
24 | WR_DIS.KEY1_PURPOSE, EFUSE_BLK0, 9, 1, Write protection for key_purpose. KEY1 |
25 | WR_DIS.KEY2_PURPOSE, EFUSE_BLK0, 10, 1, Write protection for key_purpose. KEY2 |
26 | WR_DIS.KEY3_PURPOSE, EFUSE_BLK0, 11, 1, Write protection for key_purpose. KEY3 |
27 | WR_DIS.KEY4_PURPOSE, EFUSE_BLK0, 12, 1, Write protection for key_purpose. KEY4 |
28 | WR_DIS.KEY5_PURPOSE, EFUSE_BLK0, 13, 1, Write protection for key_purpose. KEY5 |
29 | WR_DIS.SECURE_BOOT_EN, EFUSE_BLK0, 15, 1, Write protection for SECURE_BOOT_EN |
30 | WR_DIS.SECURE_BOOT_AGGRESSIVE_REVOKE,EFUSE_BLK0, 16, 1, Write protection for SECURE_BOOT_AGGRESSIVE_REVOKE |
31 | WR_DIS.GROUP_3, EFUSE_BLK0, 18, 1, Write protection for FLASH_TPUW DIS_DOWNLOAD_MODE DIS_LEGACY_SPI_BOOT UART_PRINT_CHANNEL DIS_USB_DOWNLOAD_MODE ENABLE_SECURITY_DOWNLOAD UART_PRINT_CONTROL PIN_POWER_SELECTION FLASH_TYPE FORCE_SEND_RESUME SECURE_VERSION |
32 | WR_DIS.BLK1, EFUSE_BLK0, 20, 1, Write protection for EFUSE_BLK1. MAC_SPI_8M_SYS |
33 | WR_DIS.SYS_DATA_PART1, EFUSE_BLK0, 21, 1, Write protection for EFUSE_BLK2. SYS_DATA_PART1 |
34 | WR_DIS.USER_DATA, EFUSE_BLK0, 22, 1, Write protection for EFUSE_BLK3. USER_DATA |
35 | WR_DIS.KEY0, EFUSE_BLK0, 23, 1, Write protection for EFUSE_BLK4. KEY0 |
36 | WR_DIS.KEY1, EFUSE_BLK0, 24, 1, Write protection for EFUSE_BLK5. KEY1 |
37 | WR_DIS.KEY2, EFUSE_BLK0, 25, 1, Write protection for EFUSE_BLK6. KEY2 |
38 | WR_DIS.KEY3, EFUSE_BLK0, 26, 1, Write protection for EFUSE_BLK7. KEY3 |
39 | WR_DIS.KEY4, EFUSE_BLK0, 27, 1, Write protection for EFUSE_BLK8. KEY4 |
40 | WR_DIS.KEY5, EFUSE_BLK0, 28, 1, Write protection for EFUSE_BLK9. KEY5 |
41 | WR_DIS.SYS_DATA_PART2, EFUSE_BLK0, 29, 1, Write protection for EFUSE_BLK10. SYS_DATA_PART2 |
42 | WR_DIS.USB_EXCHG_PINS, EFUSE_BLK0, 30, 1, Write protection for USB_EXCHG_PINS |
43 | # EFUSE_RD_REPEAT_DATA0_REG # |
44 | RD_DIS, EFUSE_BLK0, 32, 7, Read protection |
45 | RD_DIS.KEY0, EFUSE_BLK0, 32, 1, Read protection for EFUSE_BLK4. KEY0 |
46 | RD_DIS.KEY1, EFUSE_BLK0, 33, 1, Read protection for EFUSE_BLK5. KEY1 |
47 | RD_DIS.KEY2, EFUSE_BLK0, 34, 1, Read protection for EFUSE_BLK6. KEY2 |
48 | RD_DIS.KEY3, EFUSE_BLK0, 35, 1, Read protection for EFUSE_BLK7. KEY3 |
49 | RD_DIS.KEY4, EFUSE_BLK0, 36, 1, Read protection for EFUSE_BLK8. KEY4 |
50 | RD_DIS.KEY5, EFUSE_BLK0, 37, 1, Read protection for EFUSE_BLK9. KEY5 |
51 | RD_DIS.SYS_DATA_PART2, EFUSE_BLK0, 38, 1, Read protection for EFUSE_BLK10. SYS_DATA_PART2 |
52 | DIS_RTC_RAM_BOOT, EFUSE_BLK0, 39, 1, Disable boot from RTC RAM |
53 | DIS_ICACHE, EFUSE_BLK0, 40, 1, Disable Icache |
54 | DIS_DCACHE, EFUSE_BLK0, 41, 1, Disable Dcace |
55 | DIS_DOWNLOAD_ICACHE, EFUSE_BLK0, 42, 1, Disable Icache in download mode include boot_mode 0 1 2 3 6 7 |
56 | DIS_DOWNLOAD_DCACHE, EFUSE_BLK0, 43, 1, Disable Dcache in download mode include boot_mode 0 1 2 3 6 7 |
57 | DIS_FORCE_DOWNLOAD, EFUSE_BLK0, 44, 1, Disable force chip go to download mode function |
58 | DIS_USB, EFUSE_BLK0, 45, 1, Disable USB function |
59 | DIS_CAN, EFUSE_BLK0, 46, 1, Disable CAN function |
60 | DIS_BOOT_REMAP, EFUSE_BLK0, 47, 1, Disable boot from RAM. REMAP means RAM space can be mapped to ROM space. this signal will disable this function |
61 | SOFT_DIS_JTAG, EFUSE_BLK0, 49, 1, Software disable jtag jtag can be activated again by hmac module |
62 | HARD_DIS_JTAG, EFUSE_BLK0, 50, 1, Hardware disable jtag permanently disable jtag function |
63 | DIS_DOWNLOAD_MANUAL_ENCRYPT, EFUSE_BLK0, 51, 1, Disable flash encrypt function, other than SPI/Legacy SPI boot mode |
64 | USB_EXCHG_PINS, EFUSE_BLK0, 56, 1, Exchange D+ D- pins |
65 | USB_EXT_PHY_ENABLE, EFUSE_BLK0, 57, 1, Enable external PHY |
66 | BLOCK0_VERSION, EFUSE_BLK0, 59, 2, BLOCK0 efuse version |
67 | # EFUSE_RD_REPEAT_DATA1_REG # |
68 | VDD_SPI_XPD, EFUSE_BLK0, 68, 1, VDD_SPI regulator power up |
69 | VDD_SPI_TIEH, EFUSE_BLK0, 69, 1, VDD_SPI regulator tie high to vdda |
70 | VDD_SPI_FORCE, EFUSE_BLK0, 70, 1, Force using eFuse configuration of VDD_SPI |
71 | WDT_DELAY_SEL, EFUSE_BLK0, 80, 2, Select RTC WDT time out threshold |
72 | SPI_BOOT_CRYPT_CNT, EFUSE_BLK0, 82, 3, SPI boot encrypt decrypt enable. odd number 1 enable. even number 1 disable |
73 | SECURE_BOOT_KEY_REVOKE0, EFUSE_BLK0, 85, 1, Enable revoke first secure boot key |
74 | SECURE_BOOT_KEY_REVOKE1, EFUSE_BLK0, 86, 1, Enable revoke second secure boot key |
75 | SECURE_BOOT_KEY_REVOKE2, EFUSE_BLK0, 87, 1, Enable revoke third secure boot key |
76 | KEY_PURPOSE_0, EFUSE_BLK0, 88, 4, Key0 purpose |
77 | KEY_PURPOSE_1, EFUSE_BLK0, 92, 4, Key1 purpose |
78 | # EFUSE_RD_REPEAT_DATA2_REG # |
79 | KEY_PURPOSE_2, EFUSE_BLK0, 96, 4, Key2 purpose |
80 | KEY_PURPOSE_3, EFUSE_BLK0, 100, 4, Key3 purpose |
81 | KEY_PURPOSE_4, EFUSE_BLK0, 104, 4, Key4 purpose |
82 | KEY_PURPOSE_5, EFUSE_BLK0, 108, 4, Key5 purpose |
83 | SECURE_BOOT_EN, EFUSE_BLK0, 116, 1, Secure boot enable |
84 | SECURE_BOOT_AGGRESSIVE_REVOKE, EFUSE_BLK0, 117, 1, Enable aggressive secure boot revoke |
85 | FLASH_TPUW, EFUSE_BLK0, 124, 4, Flash wait time after power up. (unit is ms). When value is 15. the time is 30 ms |
86 | # EFUSE_RD_REPEAT_DATA3_REG # |
87 | DIS_DOWNLOAD_MODE, EFUSE_BLK0, 128, 1, Disble download mode include boot_mode[3:0] is 0 1 2 3 6 7 |
88 | DIS_LEGACY_SPI_BOOT, EFUSE_BLK0, 129, 1, Disable_Legcy_SPI_boot mode include boot_mode[3:0] is 4 |
89 | UART_PRINT_CHANNEL, EFUSE_BLK0, 130, 1, 0: UART0. 1: UART1 |
90 | DIS_USB_DOWNLOAD_MODE, EFUSE_BLK0, 132, 1, Disable download through USB |
91 | ENABLE_SECURITY_DOWNLOAD, EFUSE_BLK0, 133, 1, Enable security download mode |
92 | UART_PRINT_CONTROL, EFUSE_BLK0, 134, 2, b00:force print. b01:control by GPIO46 - low level print. b10:control by GPIO46 - high level print. b11:force disable print. |
93 | PIN_POWER_SELECTION, EFUSE_BLK0, 136, 1, GPIO33-GPIO37 power supply selection in ROM code. 0:VDD3P3_CPU. 1:VDD_SPI. |
94 | FLASH_TYPE, EFUSE_BLK0, 137, 1, Connected Flash interface type. 0: 4 data line. 1: 8 data line |
95 | FORCE_SEND_RESUME, EFUSE_BLK0, 138, 1, Force ROM code to send a resume command during SPI boot |
96 | SECURE_VERSION, EFUSE_BLK0, 139, 16, Secure version for anti-rollback |
97 | # EFUSE_RD_REPEAT_DATA4_REG # |
98 | DISABLE_WAFER_VERSION_MAJOR, EFUSE_BLK0, 160, 1, Disables check of wafer version major |
99 | DISABLE_BLK_VERSION_MAJOR, EFUSE_BLK0, 161, 1, Disables check of blk version major |
100 | # MAC_SPI_8M_SYS BLOCK# |
101 | ####################### |
102 | # RD_MAC_SPI_8M_0 - RD_MAC_SPI_8M_2 |
103 | MAC_FACTORY, EFUSE_BLK1, 40, 8, Factory MAC addr [0] |
104 | , EFUSE_BLK1, 32, 8, Factory MAC addr [1] |
105 | , EFUSE_BLK1, 24, 8, Factory MAC addr [2] |
106 | , EFUSE_BLK1, 16, 8, Factory MAC addr [3] |
107 | , EFUSE_BLK1, 8, 8, Factory MAC addr [4] |
108 | , EFUSE_BLK1, 0, 8, Factory MAC addr [5] |
109 | SPI_PAD_CONFIG_CLK, EFUSE_BLK1, 48, 6, SPI_PAD_configure CLK |
110 | SPI_PAD_CONFIG_Q_D1, EFUSE_BLK1, 54, 6, SPI_PAD_configure Q(D1) |
111 | SPI_PAD_CONFIG_D_D0, EFUSE_BLK1, 60, 6, SPI_PAD_configure D(D0) |
112 | SPI_PAD_CONFIG_CS, EFUSE_BLK1, 66, 6, SPI_PAD_configure CS |
113 | SPI_PAD_CONFIG_HD_D3, EFUSE_BLK1, 72, 6, SPI_PAD_configure HD(D3) |
114 | SPI_PAD_CONFIG_WP_D2, EFUSE_BLK1, 78, 6, SPI_PAD_configure WP(D2) |
115 | SPI_PAD_CONFIG_DQS, EFUSE_BLK1, 84, 6, SPI_PAD_configure DQS |
116 | SPI_PAD_CONFIG_D4, EFUSE_BLK1, 90, 6, SPI_PAD_configure D4 |
117 | # RD_MAC_SPI_8M_3 |
118 | SPI_PAD_CONFIG_D5, EFUSE_BLK1, 96, 6, SPI_PAD_configure D5 |
119 | SPI_PAD_CONFIG_D6, EFUSE_BLK1, 102, 6, SPI_PAD_configure D6 |
120 | SPI_PAD_CONFIG_D7, EFUSE_BLK1, 108, 6, SPI_PAD_configure D7 |
121 | WAFER_VERSION_MAJOR, EFUSE_BLK1, 114, 2, WAFER_VERSION_MAJOR |
122 | WAFER_VERSION_MINOR, EFUSE_BLK1, 132, 3, WAFER_VERSION_MINOR least significant bits |
123 | , EFUSE_BLK1, 116, 1, WAFER_VERSION_MINOR most significant bit |
124 | # WAFER_VERSION_MINOR least significant bits is from RD_MAC_SPI_8M_4 |
125 | FLASH_VERSION, EFUSE_BLK1, 117, 4, Flash_version |
126 | BLK_VERSION_MAJOR, EFUSE_BLK1, 121, 2, BLK_VERSION_MAJOR |
127 | PSRAM_VERSION, EFUSE_BLK1, 124, 4, PSRAM version |
128 | # RD_MAC_SPI_8M_4 |
129 | PKG_VERSION, EFUSE_BLK1, 128, 4, Package version |
130 | # WAFER_VERSION_MINOR least significant bits |
131 | # SYS_DATA_PART1 BLOCK# - System configuration |
132 | ####################### |
133 | # RD_SYS_DATA0 - RD_SYS_DATA3 |
134 | OPTIONAL_UNIQUE_ID, EFUSE_BLK2, 0, 128, Optional unique 128-bit ID |
135 | # RD_SYS_DATA4 |
136 | BLK_VERSION_MINOR, EFUSE_BLK2, 132, 3, BLK_VERSION_MINOR of BLOCK2: 0-No ADC calib; 1-ADC calib V1; 2-ADC calib V2 |
137 | ################ |
138 | USER_DATA, EFUSE_BLK3, 0, 256, User data |
139 | USER_DATA.MAC_CUSTOM, EFUSE_BLK3, 200, 48, Custom MAC |
140 | ################ |
141 | KEY0, EFUSE_BLK4, 0, 256, Key0 or user data |
142 | KEY1, EFUSE_BLK5, 0, 256, Key1 or user data |
143 | KEY2, EFUSE_BLK6, 0, 256, Key2 or user data |
144 | KEY3, EFUSE_BLK7, 0, 256, Key3 or user data |
145 | KEY4, EFUSE_BLK8, 0, 256, Key4 or user data |
146 | KEY5, EFUSE_BLK9, 0, 256, Key5 or user data |
147 | SYS_DATA_PART2, EFUSE_BLK10, 0, 256, System configuration |