mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			185 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			185 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
.. code-block:: none
 | 
						|
 | 
						|
    espefuse.py -p PORT summary
 | 
						|
 | 
						|
    espefuse.py v4.6-dev
 | 
						|
    Connecting....
 | 
						|
    Detecting chip type... ESP32-C6
 | 
						|
    
 | 
						|
    === Run "summary" command ===
 | 
						|
    EFUSE_NAME (Block) Description  = [Meaningful Value] [Readable/Writeable] (Hex Value)
 | 
						|
    ----------------------------------------------------------------------------------------
 | 
						|
    Config fuses:
 | 
						|
    WR_DIS (BLOCK0)                                    Disable programming of individual eFuses           = 0 R/W (0x00000000)
 | 
						|
    RD_DIS (BLOCK0)                                    Disable reading from BlOCK4-10                     = 0 R/W (0b0000000)
 | 
						|
    SWAP_UART_SDIO_EN (BLOCK0)                         Represents whether pad of uart and sdio is swapped = False R/W (0b0)
 | 
						|
                                                        or not. 1: swapped. 0: not swapped               
 | 
						|
    DIS_ICACHE (BLOCK0)                                Represents whether icache is disabled or enabled.  = False R/W (0b0)
 | 
						|
                                                       1: disabled. 0: enabled                           
 | 
						|
    DIS_TWAI (BLOCK0)                                  Represents whether TWAI function is disabled or en = False R/W (0b0)
 | 
						|
                                                       abled. 1: disabled. 0: enabled                    
 | 
						|
    DIS_DIRECT_BOOT (BLOCK0)                           Represents whether direct boot mode is disabled or = False R/W (0b0)
 | 
						|
                                                        enabled. 1: disabled. 0: enabled                 
 | 
						|
    UART_PRINT_CONTROL (BLOCK0)                        Set the default UARTboot message output mode       = Enable R/W (0b00)
 | 
						|
    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 
 | 
						|
    
 | 
						|
    Flash fuses:
 | 
						|
    FLASH_TPUW (BLOCK0)                                Represents the flash waiting time after power-up;  = 0 R/W (0x0)
 | 
						|
                                                       in unit of ms. When the value less than 15; the wa
 | 
						|
                                                       iting time is the programmed value. Otherwise; the
 | 
						|
                                                        waiting time is 2 times the programmed value     
 | 
						|
    FORCE_SEND_RESUME (BLOCK0)                         Represents whether ROM code is forced to send a re = False R/W (0b0)
 | 
						|
                                                       sume command during SPI boot. 1: forced. 0:not for
 | 
						|
                                                       ced                                               
 | 
						|
    FLASH_CAP (BLOCK1)                                                                                    = 0 R/W (0b000)
 | 
						|
    FLASH_TEMP (BLOCK1)                                                                                   = 0 R/W (0b00)
 | 
						|
    FLASH_VENDOR (BLOCK1)                                                                                 = 0 R/W (0b000)
 | 
						|
    
 | 
						|
    Identity fuses:
 | 
						|
    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_MINOR (BLOCK1)                                                                          = 1 R/W (0x1)
 | 
						|
    WAFER_VERSION_MAJOR (BLOCK1)                                                                          = 0 R/W (0b00)
 | 
						|
    PKG_VERSION (BLOCK1)                               Package version                                    = 1 R/W (0b001)
 | 
						|
    BLK_VERSION_MINOR (BLOCK1)                         BLK_VERSION_MINOR of BLOCK2                        = 0 R/W (0b000)
 | 
						|
    BLK_VERSION_MAJOR (BLOCK1)                         BLK_VERSION_MAJOR of BLOCK2                        = 0 R/W (0b00)
 | 
						|
    OPTIONAL_UNIQUE_ID (BLOCK2)                        Optional unique 128-bit ID                        
 | 
						|
       = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W 
 | 
						|
    
 | 
						|
    Jtag fuses:
 | 
						|
    JTAG_SEL_ENABLE (BLOCK0)                           Represents whether the selection between usb_to_jt = False R/W (0b0)
 | 
						|
                                                       ag and pad_to_jtag through strapping gpio15 when b
 | 
						|
                                                       oth EFUSE_DIS_PAD_JTAG and EFUSE_DIS_USB_JTAG are 
 | 
						|
                                                       equal to 0 is enabled or disabled. 1: enabled. 0: 
 | 
						|
                                                       disabled                                          
 | 
						|
    SOFT_DIS_JTAG (BLOCK0)                             Represents whether JTAG is disabled in soft way. O = 0 R/W (0b000)
 | 
						|
                                                       dd number: disabled. Even number: enabled         
 | 
						|
    DIS_PAD_JTAG (BLOCK0)                              Represents whether JTAG is disabled in the hard wa = False R/W (0b0)
 | 
						|
                                                       y(permanently). 1: disabled. 0: enabled           
 | 
						|
    
 | 
						|
    Mac fuses:
 | 
						|
    MAC (BLOCK1)                                       MAC address                                       
 | 
						|
       = 60:55:f9:f7:52:9c (OK) R/W 
 | 
						|
    MAC_EXT (BLOCK1)                                   Stores the extended bits of MAC address            = 00:00 (OK) R/W 
 | 
						|
    CUSTOM_MAC (BLOCK3)                                Custom MAC                                        
 | 
						|
       = 00:00:00:00:00:00 (OK) R/W 
 | 
						|
    
 | 
						|
    Security fuses:
 | 
						|
    DIS_DOWNLOAD_ICACHE (BLOCK0)                       Represents whether icache is disabled or enabled i = False R/W (0b0)
 | 
						|
                                                       n Download mode. 1: disabled. 0: enabled          
 | 
						|
    DIS_FORCE_DOWNLOAD (BLOCK0)                        Represents whether the function that forces chip i = False R/W (0b0)
 | 
						|
                                                       nto download mode is disabled or enabled. 1: disab
 | 
						|
                                                       led. 0: enabled                                   
 | 
						|
    SPI_DOWNLOAD_MSPI_DIS (BLOCK0)                     Represents whether SPI0 controller during boot_mod = False R/W (0b0)
 | 
						|
                                                       e_download is disabled or enabled. 1: disabled. 0:
 | 
						|
                                                        enabled                                          
 | 
						|
    DIS_DOWNLOAD_MANUAL_ENCRYPT (BLOCK0)               Represents whether flash encrypt function is disab = False R/W (0b0)
 | 
						|
                                                       led or enabled(except in SPI boot mode). 1: disabl
 | 
						|
                                                       ed. 0: enabled                                    
 | 
						|
    SPI_BOOT_CRYPT_CNT (BLOCK0)                        Enables flash encryption when 1 or 3 bits are set  = Disable R/W (0b000)
 | 
						|
                                                       and disables otherwise                            
 | 
						|
    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)                             Represents the purpose of Key0                     = USER R/W (0x0)
 | 
						|
    KEY_PURPOSE_1 (BLOCK0)                             Represents the purpose of Key1                     = USER R/W (0x0)
 | 
						|
    KEY_PURPOSE_2 (BLOCK0)                             Represents the purpose of Key2                     = USER R/W (0x0)
 | 
						|
    KEY_PURPOSE_3 (BLOCK0)                             Represents the purpose of Key3                     = USER R/W (0x0)
 | 
						|
    KEY_PURPOSE_4 (BLOCK0)                             Represents the purpose of Key4                     = USER R/W (0x0)
 | 
						|
    KEY_PURPOSE_5 (BLOCK0)                             Represents the purpose of Key5                     = USER R/W (0x0)
 | 
						|
    SEC_DPA_LEVEL (BLOCK0)                             Represents the spa secure level by configuring the = 0 R/W (0b00)
 | 
						|
                                                        clock random divide mode                         
 | 
						|
    CRYPT_DPA_ENABLE (BLOCK0)                          Represents whether anti-dpa attack is enabled. 1:e = False R/W (0b0)
 | 
						|
                                                       nabled. 0: disabled                               
 | 
						|
    SECURE_BOOT_EN (BLOCK0)                            Represents whether secure boot is enabled or disab = False R/W (0b0)
 | 
						|
                                                       led. 1: enabled. 0: disabled                      
 | 
						|
    SECURE_BOOT_AGGRESSIVE_REVOKE (BLOCK0)             Represents whether revoking aggressive secure boot = False R/W (0b0)
 | 
						|
                                                        is enabled or disabled. 1: enabled. 0: disabled  
 | 
						|
    DIS_DOWNLOAD_MODE (BLOCK0)                         Represents whether Download mode is disabled or en = False R/W (0b0)
 | 
						|
                                                       abled. 1: disabled. 0: enabled                    
 | 
						|
    ENABLE_SECURITY_DOWNLOAD (BLOCK0)                  Represents whether security download is enabled or = False R/W (0b0)
 | 
						|
                                                        disabled. 1: enabled. 0: disabled                
 | 
						|
    SECURE_VERSION (BLOCK0)                            Represents the version used by ESP-IDF anti-rollba = 0 R/W (0x0000)
 | 
						|
                                                       ck feature                                        
 | 
						|
    SECURE_BOOT_DISABLE_FAST_WAKE (BLOCK0)             Represents whether FAST VERIFY ON WAKE is disabled = False R/W (0b0)
 | 
						|
                                                        or enabled when Secure Boot is enabled. 1: disabl
 | 
						|
                                                       ed. 0: enabled                                    
 | 
						|
    BLOCK_KEY0 (BLOCK4)
 | 
						|
      Purpose: USER
 | 
						|
                   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 
 | 
						|
    BLOCK_KEY1 (BLOCK5)
 | 
						|
      Purpose: USER
 | 
						|
                   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 
 | 
						|
    BLOCK_KEY2 (BLOCK6)
 | 
						|
      Purpose: USER
 | 
						|
                   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 
 | 
						|
    BLOCK_KEY3 (BLOCK7)
 | 
						|
      Purpose: USER
 | 
						|
                   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 
 | 
						|
    BLOCK_KEY4 (BLOCK8)
 | 
						|
      Purpose: USER
 | 
						|
                   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 
 | 
						|
    BLOCK_KEY5 (BLOCK9)
 | 
						|
      Purpose: USER
 | 
						|
                   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 
 | 
						|
    
 | 
						|
    Usb fuses:
 | 
						|
    DIS_USB_JTAG (BLOCK0)                              Represents whether the function of usb switch to j = False R/W (0b0)
 | 
						|
                                                       tag is disabled or enabled. 1: disabled. 0: enable
 | 
						|
                                                       d                                                 
 | 
						|
    DIS_USB_SERIAL_JTAG (BLOCK0)                       Represents whether USB-Serial-JTAG is disabled or  = False R/W (0b0)
 | 
						|
                                                       enabled. 1: disabled. 0: enabled                  
 | 
						|
    USB_EXCHG_PINS (BLOCK0)                            Represents whether the D+ and D- pins is exchanged = False R/W (0b0)
 | 
						|
                                                       . 1: exchanged. 0: not exchanged                  
 | 
						|
    DIS_USB_SERIAL_JTAG_ROM_PRINT (BLOCK0)             Represents whether print from USB-Serial-JTAG is d = False R/W (0b0)
 | 
						|
                                                       isabled or enabled. 1: disabled. 0: enabled       
 | 
						|
    DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE (BLOCK0)         Represents whether the USB-Serial-JTAG download fu = False R/W (0b0)
 | 
						|
                                                       nction is disabled or enabled. 1: disabled. 0: ena
 | 
						|
                                                       bled                                              
 | 
						|
    
 | 
						|
    Vdd fuses:
 | 
						|
    VDD_SPI_AS_GPIO (BLOCK0)                           Represents whether vdd spi pin is functioned as gp = False R/W (0b0)
 | 
						|
                                                       io. 1: functioned. 0: not functioned              
 | 
						|
    
 | 
						|
    Wdt fuses:
 | 
						|
    WDT_DELAY_SEL (BLOCK0)                             Represents whether RTC watchdog timeout threshold  = 0 R/W (0b00)
 | 
						|
                                                       is selected at startup. 1: selected. 0: not select
 | 
						|
                                                       ed                                                
 | 
						|
 | 
						|
 | 
						|
To get a dump for all eFuse registers.
 | 
						|
 | 
						|
.. code-block:: none
 | 
						|
 | 
						|
    espefuse.py -p PORT dump
 | 
						|
 | 
						|
    espefuse.py v4.6-dev
 | 
						|
    Connecting....
 | 
						|
    Detecting chip type... ESP32-C6
 | 
						|
    BLOCK0          (                ) [0 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000
 | 
						|
    MAC_SPI_8M_0    (BLOCK1          ) [1 ] read_regs: f9f7529c 00006055 00000000 01040000 00000000 00000000
 | 
						|
    BLOCK_SYS_DATA  (BLOCK2          ) [2 ] read_regs: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 | 
						|
    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
 | 
						|
 | 
						|
    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 ===
 |