2021-02-10 11:02:21 -05:00
|
|
|
.. code-block:: none
|
|
|
|
|
|
|
|
espefuse.py -p PORT summary
|
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
espefuse.py v4.6-dev
|
2021-02-10 11:02:21 -05:00
|
|
|
Connecting....
|
2023-05-18 05:17:04 -04:00
|
|
|
Detecting chip type... Unsupported detection protocol, switching and trying again...
|
2021-02-10 11:02:21 -05:00
|
|
|
Detecting chip type... ESP32-S2
|
2024-01-19 01:40:33 -05:00
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
=== Run "summary" command ===
|
|
|
|
EFUSE_NAME (Block) Description = [Meaningful Value] [Readable/Writeable] (Hex Value)
|
2021-02-10 11:02:21 -05:00
|
|
|
----------------------------------------------------------------------------------------
|
|
|
|
Config fuses:
|
2023-05-18 05:17:04 -04:00
|
|
|
WR_DIS (BLOCK0) Disable programming of individual eFuses = 0 R/W (0x00000000)
|
|
|
|
RD_DIS (BLOCK0) Disable reading from BlOCK4-10 = 0 R/W (0b0000000)
|
|
|
|
DIS_ICACHE (BLOCK0) Set this bit to disable Icache = False R/W (0b0)
|
|
|
|
DIS_DCACHE (BLOCK0) Set this bit to disable Dcache = False R/W (0b0)
|
|
|
|
DIS_TWAI (BLOCK0) Set this bit to disable the TWAI Controller functi = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
on
|
2023-05-18 05:17:04 -04:00
|
|
|
DIS_BOOT_REMAP (BLOCK0) Disables capability to Remap RAM to ROM address sp = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
ace
|
2023-05-18 05:17:04 -04:00
|
|
|
DIS_LEGACY_SPI_BOOT (BLOCK0) Set this bit to disable Legacy SPI boot mode = False R/W (0b0)
|
|
|
|
UART_PRINT_CHANNEL (BLOCK0) Selects the default UART for printing boot message = UART0 R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
s
|
2023-05-18 05:17:04 -04:00
|
|
|
UART_PRINT_CONTROL (BLOCK0) Set the default UART boot message output mode = Enable R/W (0b00)
|
|
|
|
PIN_POWER_SELECTION (BLOCK0) Set default power supply for GPIO33-GPIO37; set wh = VDD3P3_CPU R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
en SPI flash is initialized
|
|
|
|
BLOCK_USR_DATA (BLOCK3) User data
|
|
|
|
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
|
|
|
|
BLOCK_SYS_DATA2 (BLOCK10) System data part 2 (reserved)
|
|
|
|
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
|
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
Flash fuses:
|
|
|
|
FLASH_TPUW (BLOCK0) Configures flash startup delay after SoC power-up; = 0 R/W (0x0)
|
|
|
|
in unit of (ms/2). When the value is 15; delay is
|
2024-01-19 01:40:33 -05:00
|
|
|
7.5 ms
|
2023-05-18 05:17:04 -04:00
|
|
|
FLASH_TYPE (BLOCK0) SPI flash type = 4 data lines R/W (0b0)
|
|
|
|
FORCE_SEND_RESUME (BLOCK0) If set; forces ROM code to send an SPI flash resum = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
e command during SPI boot
|
2023-05-18 05:17:04 -04:00
|
|
|
FLASH_VERSION (BLOCK1) Flash version = 2 R/W (0x2)
|
2024-01-19 01:40:33 -05:00
|
|
|
|
2021-02-10 11:02:21 -05:00
|
|
|
Identity fuses:
|
2023-05-18 05:17:04 -04:00
|
|
|
BLOCK0_VERSION (BLOCK0) BLOCK0 efuse version = 0 R/W (0b00)
|
|
|
|
DISABLE_WAFER_VERSION_MAJOR (BLOCK0) Disables check of wafer version major = False R/W (0b0)
|
|
|
|
DISABLE_BLK_VERSION_MAJOR (BLOCK0) Disables check of blk version major = False R/W (0b0)
|
|
|
|
WAFER_VERSION_MAJOR (BLOCK1) WAFER_VERSION_MAJOR = 1 R/W (0b01)
|
|
|
|
WAFER_VERSION_MINOR_HI (BLOCK1) WAFER_VERSION_MINOR most significant bit = False R/W (0b0)
|
|
|
|
BLK_VERSION_MAJOR (BLOCK1) BLK_VERSION_MAJOR = 0 R/W (0b00)
|
|
|
|
PSRAM_VERSION (BLOCK1) PSRAM version = 1 R/W (0x1)
|
|
|
|
PKG_VERSION (BLOCK1) Package version = 0 R/W (0x0)
|
|
|
|
WAFER_VERSION_MINOR_LO (BLOCK1) WAFER_VERSION_MINOR least significant bits = 0 R/W (0b000)
|
2024-01-19 01:40:33 -05:00
|
|
|
OPTIONAL_UNIQUE_ID (BLOCK2) Optional unique 128-bit ID
|
|
|
|
= ea 0e c6 f1 01 f2 38 82 e9 98 5b 59 81 fe 00 02 R/W
|
2023-05-18 05:17:04 -04:00
|
|
|
BLK_VERSION_MINOR (BLOCK2) BLK_VERSION_MINOR of BLOCK2 = ADC calib V2 R/W (0b010)
|
|
|
|
WAFER_VERSION_MINOR (BLOCK0) calc WAFER VERSION MINOR = WAFER_VERSION_MINOR_HI = 0 R/W (0x0)
|
2024-01-19 01:40:33 -05:00
|
|
|
<< 3 + WAFER_VERSION_MINOR_LO (read only)
|
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
Jtag fuses:
|
|
|
|
SOFT_DIS_JTAG (BLOCK0) Software disables JTAG. When software disabled; JT = False R/W (0b0)
|
|
|
|
AG can be activated temporarily by HMAC peripheral
|
|
|
|
HARD_DIS_JTAG (BLOCK0) Hardware disables JTAG permanently = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
Mac fuses:
|
2024-01-19 01:40:33 -05:00
|
|
|
MAC (BLOCK1) MAC address
|
|
|
|
= 58:cf:79:b3:b9:54 (OK) R/W
|
|
|
|
CUSTOM_MAC (BLOCK3) Custom MAC
|
|
|
|
= 00:00:00:00:00:00 (OK) R/W
|
|
|
|
|
2021-02-10 11:02:21 -05:00
|
|
|
Security fuses:
|
2023-05-18 05:17:04 -04:00
|
|
|
DIS_DOWNLOAD_ICACHE (BLOCK0) Disables Icache when SoC is in Download mode = False R/W (0b0)
|
|
|
|
DIS_DOWNLOAD_DCACHE (BLOCK0) Disables Dcache when SoC is in Download mode = False R/W (0b0)
|
|
|
|
DIS_FORCE_DOWNLOAD (BLOCK0) Set this bit to disable the function that forces c = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
hip into download mode
|
2023-05-18 05:17:04 -04:00
|
|
|
DIS_DOWNLOAD_MANUAL_ENCRYPT (BLOCK0) Disables flash encryption when in download boot mo = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
des
|
2023-05-18 05:17:04 -04:00
|
|
|
SPI_BOOT_CRYPT_CNT (BLOCK0) Enables flash encryption when 1 or 3 bits are set = Disable R/W (0b000)
|
2024-01-19 01:40:33 -05:00
|
|
|
and disabled otherwise
|
2023-05-18 05:17:04 -04:00
|
|
|
SECURE_BOOT_KEY_REVOKE0 (BLOCK0) Revoke 1st secure boot key = False R/W (0b0)
|
|
|
|
SECURE_BOOT_KEY_REVOKE1 (BLOCK0) Revoke 2nd secure boot key = False R/W (0b0)
|
|
|
|
SECURE_BOOT_KEY_REVOKE2 (BLOCK0) Revoke 3rd secure boot key = False R/W (0b0)
|
|
|
|
KEY_PURPOSE_0 (BLOCK0) Purpose of KEY0 = USER R/W (0x0)
|
|
|
|
KEY_PURPOSE_1 (BLOCK0) Purpose of KEY1 = USER R/W (0x0)
|
|
|
|
KEY_PURPOSE_2 (BLOCK0) Purpose of KEY2 = USER R/W (0x0)
|
|
|
|
KEY_PURPOSE_3 (BLOCK0) Purpose of KEY3 = USER R/W (0x0)
|
|
|
|
KEY_PURPOSE_4 (BLOCK0) Purpose of KEY4 = USER R/W (0x0)
|
|
|
|
KEY_PURPOSE_5 (BLOCK0) Purpose of KEY5 = USER R/W (0x0)
|
|
|
|
SECURE_BOOT_EN (BLOCK0) Set this bit to enable secure boot = False R/W (0b0)
|
|
|
|
SECURE_BOOT_AGGRESSIVE_REVOKE (BLOCK0) Set this bit to enable aggressive secure boot key = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
revocation mode
|
2023-05-18 05:17:04 -04:00
|
|
|
DIS_DOWNLOAD_MODE (BLOCK0) Set this bit to disable all download boot modes = False R/W (0b0)
|
|
|
|
ENABLE_SECURITY_DOWNLOAD (BLOCK0) Set this bit to enable secure UART download mode ( = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
read/write flash only)
|
2023-05-18 05:17:04 -04:00
|
|
|
SECURE_VERSION (BLOCK0) Secure version (used by ESP-IDF anti-rollback feat = 0 R/W (0x0000)
|
2024-01-19 01:40:33 -05:00
|
|
|
ure)
|
2023-05-18 05:17:04 -04:00
|
|
|
BLOCK_KEY0 (BLOCK4)
|
|
|
|
Purpose: USER
|
2024-01-19 01:40:33 -05:00
|
|
|
Key0 or user data
|
|
|
|
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
|
2023-05-18 05:17:04 -04:00
|
|
|
BLOCK_KEY1 (BLOCK5)
|
|
|
|
Purpose: USER
|
2024-01-19 01:40:33 -05:00
|
|
|
Key1 or user data
|
|
|
|
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
|
2023-05-18 05:17:04 -04:00
|
|
|
BLOCK_KEY2 (BLOCK6)
|
|
|
|
Purpose: USER
|
2024-01-19 01:40:33 -05:00
|
|
|
Key2 or user data
|
|
|
|
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
|
2023-05-18 05:17:04 -04:00
|
|
|
BLOCK_KEY3 (BLOCK7)
|
|
|
|
Purpose: USER
|
2024-01-19 01:40:33 -05:00
|
|
|
Key3 or user data
|
|
|
|
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
|
2023-05-18 05:17:04 -04:00
|
|
|
BLOCK_KEY4 (BLOCK8)
|
|
|
|
Purpose: USER
|
2024-01-19 01:40:33 -05:00
|
|
|
Key4 or user data
|
|
|
|
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
|
2023-05-18 05:17:04 -04:00
|
|
|
BLOCK_KEY5 (BLOCK9)
|
|
|
|
Purpose: USER
|
2024-01-19 01:40:33 -05:00
|
|
|
Key5 or user data
|
|
|
|
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
|
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
Spi Pad fuses:
|
|
|
|
SPI_PAD_CONFIG_CLK (BLOCK1) SPI_PAD_configure CLK = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_Q (BLOCK1) SPI_PAD_configure Q(D1) = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_D (BLOCK1) SPI_PAD_configure D(D0) = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_CS (BLOCK1) SPI_PAD_configure CS = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_HD (BLOCK1) SPI_PAD_configure HD(D3) = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_WP (BLOCK1) SPI_PAD_configure WP(D2) = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_DQS (BLOCK1) SPI_PAD_configure DQS = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_D4 (BLOCK1) SPI_PAD_configure D4 = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_D5 (BLOCK1) SPI_PAD_configure D5 = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_D6 (BLOCK1) SPI_PAD_configure D6 = 0 R/W (0b000000)
|
|
|
|
SPI_PAD_CONFIG_D7 (BLOCK1) SPI_PAD_configure D7 = 0 R/W (0b000000)
|
2024-01-19 01:40:33 -05:00
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
Usb fuses:
|
|
|
|
DIS_USB (BLOCK0) Set this bit to disable USB OTG function = False R/W (0b0)
|
|
|
|
USB_EXCHG_PINS (BLOCK0) Set this bit to exchange USB D+ and D- pins = False R/W (0b0)
|
|
|
|
USB_EXT_PHY_ENABLE (BLOCK0) Set this bit to enable external USB PHY = False R/W (0b0)
|
|
|
|
USB_FORCE_NOPERSIST (BLOCK0) If set; forces USB BVALID to 1 = False R/W (0b0)
|
|
|
|
DIS_USB_DOWNLOAD_MODE (BLOCK0) Set this bit to disable use of USB OTG in UART dow = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
nload boot mode
|
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
Vdd fuses:
|
|
|
|
VDD_SPI_XPD (BLOCK0) If VDD_SPI_FORCE is 1; this value determines if th = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
e VDD_SPI regulator is powered on
|
|
|
|
VDD_SPI_TIEH (BLOCK0) If VDD_SPI_FORCE is 1; determines VDD_SPI voltage
|
2023-05-18 05:17:04 -04:00
|
|
|
= VDD_SPI connects to 1.8 V LDO R/W (0b0)
|
|
|
|
VDD_SPI_FORCE (BLOCK0) Set this bit to use XPD_VDD_PSI_REG and VDD_SPI_TI = False R/W (0b0)
|
2024-01-19 01:40:33 -05:00
|
|
|
EH to configure VDD_SPI LDO
|
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
Wdt fuses:
|
|
|
|
WDT_DELAY_SEL (BLOCK0) RTC watchdog timeout threshold; in unit of slow cl = 40000 R/W (0b00)
|
2024-01-19 01:40:33 -05:00
|
|
|
ock cycle
|
|
|
|
|
2021-02-10 11:02:21 -05:00
|
|
|
Flash voltage (VDD_SPI) determined by GPIO45 on reset (GPIO45=High: VDD_SPI pin is powered from internal 1.8V LDO
|
|
|
|
GPIO45=Low or NC: VDD_SPI pin is powered directly from VDD3P3_RTC_IO via resistor Rspi. Typically this voltage is 3.3 V).
|
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
|
2021-02-10 11:02:21 -05:00
|
|
|
To get a dump for all eFuse registers.
|
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
|
|
|
|
espefuse.py -p PORT dump
|
|
|
|
|
2023-05-18 05:17:04 -04:00
|
|
|
espefuse.py v4.6-dev
|
2021-02-10 11:02:21 -05:00
|
|
|
Connecting....
|
2023-05-18 05:17:04 -04:00
|
|
|
Detecting chip type... Unsupported detection protocol, switching and trying again...
|
2021-02-10 11:02:21 -05:00
|
|
|
Detecting chip type... ESP32-S2
|
|
|
|
BLOCK0 ( ) [0 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000
|
2023-05-18 05:17:04 -04:00
|
|
|
MAC_SPI_8M_0 (BLOCK1 ) [1 ] read_regs: 79b3b954 000058cf 00000000 10440000 00000000 00000000
|
|
|
|
BLOCK_SYS_DATA (BLOCK2 ) [2 ] read_regs: f1c60eea 8238f201 595b98e9 0200fe81 1c549f24 88491102 06461421 070c2083
|
2021-02-10 11:02:21 -05:00
|
|
|
BLOCK_USR_DATA (BLOCK3 ) [3 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
|
|
|
|
BLOCK_KEY0 (BLOCK4 ) [4 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
|
|
|
|
BLOCK_KEY1 (BLOCK5 ) [5 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
|
|
|
|
BLOCK_KEY2 (BLOCK6 ) [6 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
|
|
|
|
BLOCK_KEY3 (BLOCK7 ) [7 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
|
|
|
|
BLOCK_KEY4 (BLOCK8 ) [8 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
|
|
|
|
BLOCK_KEY5 (BLOCK9 ) [9 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
|
|
|
|
BLOCK_SYS_DATA2 (BLOCK10 ) [10] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
|
2023-05-18 05:17:04 -04:00
|
|
|
|
|
|
|
BLOCK0 ( ) [0 ] err__regs: 00000000 00000000 00000000 00000000 00000000 00000000
|
|
|
|
EFUSE_RD_RS_ERR0_REG 0x00000000
|
|
|
|
EFUSE_RD_RS_ERR1_REG 0x00000000
|
|
|
|
|
|
|
|
=== Run "dump" command ===
|