Home
last modified time | relevance | path

Searched full:efuse (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/hal_espressif-latest/components/hal/esp32c2/include/hal/
Defuse_ll.h13 #include "esp32c2/rom/efuse.h"
21 /******************* eFuse fields *************************/
25 return EFUSE.rd_repeat_data0.spi_boot_crypt_cnt; in efuse_ll_get_flash_crypt_cnt()
30 return EFUSE.rd_repeat_data0.wdt_delay_sel; in efuse_ll_get_wdt_delay_sel()
35 return EFUSE.rd_blk2_data0.mac; in efuse_ll_get_mac0()
40 return EFUSE.rd_blk2_data1.mac_1; in efuse_ll_get_mac1()
45 return EFUSE.rd_repeat_data0.secure_boot_en; in efuse_ll_get_secure_boot_v2_en()
51 return EFUSE.rd_blk2_data1.wafer_version_major; in efuse_ll_get_chip_wafer_version_major()
57 return EFUSE.rd_blk2_data1.wafer_version_minor; in efuse_ll_get_chip_wafer_version_minor()
62 return EFUSE.rd_repeat_data0.disable_wafer_version_major; in efuse_ll_get_disable_wafer_version_major()
[all …]
/hal_espressif-latest/components/hal/esp32/include/hal/
Defuse_ll.h22 /******************* eFuse fields *************************/
26 return EFUSE.blk0_rdata0.rd_flash_crypt_cnt; in efuse_ll_get_flash_crypt_cnt()
31 return EFUSE.blk0_rdata1.rd_mac; in efuse_ll_get_mac0()
36 return EFUSE.blk0_rdata2.rd_mac_1; in efuse_ll_get_mac1()
41 return EFUSE.blk0_rdata6.rd_abs_done_0; in efuse_ll_get_secure_boot_v1_en()
46 return EFUSE.blk0_rdata6.rd_abs_done_1; in efuse_ll_get_secure_boot_v2_en()
51 return EFUSE.blk0_rdata4.rd_xpd_sdio_force; in efuse_ll_get_sdio_force()
56 return EFUSE.blk0_rdata4.rd_xpd_sdio_reg; in efuse_ll_get_xpd_sdio()
61 return EFUSE.blk0_rdata4.rd_xpd_sdio_tieh; in efuse_ll_get_sdio_tieh()
66 return (EFUSE.blk0_rdata4.val >> 8) & 0x3; in efuse_ll_get_sdio_drefh()
[all …]
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Defuse_ll.h13 #include "esp32h2/rom/efuse.h"
21 /******************* eFuse fields *************************/
25 return EFUSE.rd_repeat_data1.spi_boot_crypt_cnt; in efuse_ll_get_flash_crypt_cnt()
30 return EFUSE.rd_repeat_data1.wdt_delay_sel; in efuse_ll_get_wdt_delay_sel()
35 return EFUSE.rd_mac_sys_0.mac_0; in efuse_ll_get_mac0()
40 return EFUSE.rd_mac_sys_1.mac_1; in efuse_ll_get_mac1()
45 return EFUSE.rd_mac_sys_2.active_hp_dbias; in efuse_ll_get_active_hp_dbias()
50 return EFUSE.rd_mac_sys_2.active_lp_dbias; in efuse_ll_get_active_lp_dbias()
55 return EFUSE.rd_mac_sys_2.dslp_dbias; in efuse_ll_get_dslp_dbias()
60 …return (EFUSE.rd_mac_sys_3.dbias_vol_gap_sign << 4)|(EFUSE.rd_mac_sys_3.dbias_vol_gap_value2 << 1)… in efuse_ll_get_dbias_vol_gap()
[all …]
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Defuse_ll.h13 #include "esp32s3/rom/efuse.h"
21 /******************* eFuse fields *************************/
25 return EFUSE.rd_repeat_data1.spi_boot_crypt_cnt; in efuse_ll_get_flash_crypt_cnt()
30 return EFUSE.rd_repeat_data1.wdt_delay_sel; in efuse_ll_get_wdt_delay_sel()
35 return EFUSE.rd_repeat_data3.flash_type; in efuse_ll_get_flash_type()
40 return EFUSE.rd_mac_spi_sys_0.mac_0; in efuse_ll_get_mac0()
45 return EFUSE.rd_mac_spi_sys_1.mac_1; in efuse_ll_get_mac1()
50 return EFUSE.rd_repeat_data2.secure_boot_en; in efuse_ll_get_secure_boot_v2_en()
56 return EFUSE.rd_mac_spi_sys_5.wafer_version_major; in efuse_ll_get_chip_wafer_version_major()
62 …return (EFUSE.rd_mac_spi_sys_5.wafer_version_minor_hi << 3) + EFUSE.rd_mac_spi_sys_3.wafer_version… in efuse_ll_get_chip_wafer_version_minor()
[all …]
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Defuse_ll.h13 #include "esp32c3/rom/efuse.h"
21 /******************* eFuse fields *************************/
25 return EFUSE.rd_repeat_data1.spi_boot_crypt_cnt; in efuse_ll_get_flash_crypt_cnt()
30 return EFUSE.rd_repeat_data1.wdt_delay_sel; in efuse_ll_get_wdt_delay_sel()
35 return EFUSE.rd_mac_spi_sys_0.mac_0; in efuse_ll_get_mac0()
40 return EFUSE.rd_mac_spi_sys_1.mac_1; in efuse_ll_get_mac1()
45 return EFUSE.rd_repeat_data2.secure_boot_en; in efuse_ll_get_secure_boot_v2_en()
50 return EFUSE.rd_repeat_data3.err_rst_enable; in efuse_ll_get_err_rst_enable()
56 return EFUSE.rd_mac_spi_sys_5.wafer_version_major; in efuse_ll_get_chip_wafer_version_major()
62 …return (EFUSE.rd_mac_spi_sys_5.wafer_version_minor_hi << 3) + EFUSE.rd_mac_spi_sys_3.wafer_version… in efuse_ll_get_chip_wafer_version_minor()
[all …]
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Defuse_ll.h13 #include "esp32c6/rom/efuse.h"
30 /******************* eFuse fields *************************/
34 return EFUSE.rd_repeat_data1.spi_boot_crypt_cnt; in efuse_ll_get_flash_crypt_cnt()
39 return EFUSE.rd_repeat_data1.wdt_delay_sel; in efuse_ll_get_wdt_delay_sel()
44 return EFUSE.rd_mac_spi_sys_0.mac_0; in efuse_ll_get_mac0()
49 return EFUSE.rd_mac_spi_sys_1.mac_1; in efuse_ll_get_mac1()
54 return EFUSE.rd_repeat_data2.secure_boot_en; in efuse_ll_get_secure_boot_v2_en()
60 return EFUSE.rd_mac_spi_sys_3.wafer_version_major; in efuse_ll_get_chip_wafer_version_major()
66 return EFUSE.rd_mac_spi_sys_3.wafer_version_minor; in efuse_ll_get_chip_wafer_version_minor()
71 return EFUSE.rd_repeat_data4.disable_wafer_version_major; in efuse_ll_get_disable_wafer_version_major()
[all …]
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Defuse_ll.h13 #include "esp32s2/rom/efuse.h"
21 /******************* eFuse fields *************************/
25 return EFUSE.rd_repeat_data1.spi_boot_crypt_cnt; in efuse_ll_get_flash_crypt_cnt()
30 return EFUSE.rd_repeat_data1.wdt_delay_sel; in efuse_ll_get_wdt_delay_sel()
35 return EFUSE.rd_mac_spi_sys_0.mac_0; in efuse_ll_get_mac0()
40 return EFUSE.rd_mac_spi_sys_1.mac_1; in efuse_ll_get_mac1()
45 return EFUSE.rd_repeat_data2.secure_boot_en; in efuse_ll_get_secure_boot_v2_en()
51 return EFUSE.rd_mac_spi_sys_3.wafer_version_major; in efuse_ll_get_chip_wafer_version_major()
57 …return (EFUSE.rd_mac_spi_sys_3.wafer_version_minor_hi << 3) + EFUSE.rd_mac_spi_sys_4.wafer_version… in efuse_ll_get_chip_wafer_version_minor()
62 return EFUSE.rd_repeat_data4.disable_wafer_version_major; in efuse_ll_get_disable_wafer_version_major()
[all …]
/hal_espressif-latest/components/esp_rom/include/esp32s2/rom/
Defuse.h17 /** \defgroup efuse_APIs efuse APIs
18 * @brief ESP32 efuse read/write APIs
68 * @brief Enable efuse subsystem. Called after reset. Doesn't need to be called again.
73 * @brief Efuse read operation: copies data from physical efuses to efuse read registers.
82 …* @brief Efuse write operation: Copies data from efuse write registers to efuse. Operates on a si…
91 * @brief Set all Efuse program registers to zero.
98 * @brief Program a block of key data to an efuse block
110 /* @brief Return the address of a particular efuse block's first read register
112 * @param block Index of efuse block to look up
120 * @brief Return the current purpose set for an efuse key block
[all …]
/hal_espressif-latest/components/esp_rom/include/esp32c3/rom/
Defuse.h18 /** \defgroup efuse_APIs efuse APIs
19 * @brief ESP32 efuse read/write APIs
67 * @brief Efuse read operation: copies data from physical efuses to efuse read registers.
76 …* @brief Efuse write operation: Copies data from efuse write registers to efuse. Operates on a si…
85 * @brief Set all Efuse program registers to zero.
92 * @brief Program a block of key data to an efuse block
104 /* @brief Return the address of a particular efuse block's first read register
106 * @param block Index of efuse block to look up
114 * @brief Return the current purpose set for an efuse key block
153 * @brief Return the number of unused efuse key blocks (0-6)
[all …]
/hal_espressif-latest/components/esp_rom/include/esp32s3/rom/
Defuse.h17 /** \defgroup efuse_APIs efuse APIs
18 * @brief ESP32 efuse read/write APIs
68 * @brief Efuse read operation: copies data from physical efuses to efuse read registers.
77 …* @brief Efuse write operation: Copies data from efuse write registers to efuse. Operates on a si…
86 * @brief Set all Efuse program registers to zero.
93 * @brief Program a block of key data to an efuse block
105 /* @brief Return the address of a particular efuse block's first read register
107 * @param block Index of efuse block to look up
115 * @brief Return the current purpose set for an efuse key block
154 * @brief Return the number of unused efuse key blocks (0-6)
[all …]
/hal_espressif-latest/components/efuse/
DKconfig1 menu "eFuse Bit Manager"
4 bool "Use custom eFuse table"
7 Allows to generate a structure for eFuse from the CSV file.
10 string "Custom eFuse CSV file"
14 Name of the custom eFuse CSV filename. This path is evaluated
18 bool "Simulate eFuse operations in RAM"
21 If "n" - No virtual mode. All eFuse operations are real and use eFuse registers.
22 … If "y" - The virtual mode is enabled and all eFuse operations (read and write) are redirected
23 to RAM instead of eFuse registers, all permanent changes (via eFuse) are disabled.
27 Because the EFUSE VIRT mode is for testing only.
[all …]
/hal_espressif-latest/components/efuse/esp32c3/include/
Desp_efuse_chip.h14 * @brief Type of eFuse blocks ESP32C3
17 EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */
19 EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */
21 EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
22 EFUSE_BLK_SYS_DATA_PART1 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
24 EFUSE_BLK3 = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
25 EFUSE_BLK_USER_DATA = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
27 EFUSE_BLK4 = 4, /**< Number of eFuse BLOCK4. KEY0 */
28 EFUSE_BLK_KEY0 = 4, /**< Number of eFuse BLOCK4. KEY0 */
30 EFUSE_BLK5 = 5, /**< Number of eFuse BLOCK5. KEY1 */
[all …]
/hal_espressif-latest/components/efuse/esp32c6/include/
Desp_efuse_chip.h14 * @brief Type of eFuse blocks ESP32C6
17 EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */
19 EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */
21 EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
22 EFUSE_BLK_SYS_DATA_PART1 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
24 EFUSE_BLK3 = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
25 EFUSE_BLK_USER_DATA = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
27 EFUSE_BLK4 = 4, /**< Number of eFuse BLOCK4. KEY0 */
28 EFUSE_BLK_KEY0 = 4, /**< Number of eFuse BLOCK4. KEY0 */
30 EFUSE_BLK5 = 5, /**< Number of eFuse BLOCK5. KEY1 */
[all …]
/hal_espressif-latest/components/efuse/esp32h2/include/
Desp_efuse_chip.h14 * @brief Type of eFuse blocks ESP32H2
17 EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */
19 EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */
21 EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
22 EFUSE_BLK_SYS_DATA_PART1 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
24 EFUSE_BLK3 = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
25 EFUSE_BLK_USER_DATA = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
27 EFUSE_BLK4 = 4, /**< Number of eFuse BLOCK4. KEY0 */
28 EFUSE_BLK_KEY0 = 4, /**< Number of eFuse BLOCK4. KEY0 */
30 EFUSE_BLK5 = 5, /**< Number of eFuse BLOCK5. KEY1 */
[all …]
/hal_espressif-latest/components/efuse/esp32s2/include/
Desp_efuse_chip.h14 * @brief Type of eFuse blocks ESP32S2
17 EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */
19 EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */
21 EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
22 EFUSE_BLK_SYS_DATA_PART1 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
24 EFUSE_BLK3 = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
25 EFUSE_BLK_USER_DATA = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
27 EFUSE_BLK4 = 4, /**< Number of eFuse BLOCK4. KEY0 */
28 EFUSE_BLK_KEY0 = 4, /**< Number of eFuse BLOCK4. KEY0 */
30 EFUSE_BLK5 = 5, /**< Number of eFuse BLOCK5. KEY1 */
[all …]
/hal_espressif-latest/components/efuse/esp32s3/include/
Desp_efuse_chip.h14 * @brief Type of eFuse blocks ESP32S3
17 EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */
19 EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */
21 EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
22 EFUSE_BLK_SYS_DATA_PART1 = 2, /**< Number of eFuse BLOCK2. SYS_DATA_PART1 */
24 EFUSE_BLK3 = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
25 EFUSE_BLK_USER_DATA = 3, /**< Number of eFuse BLOCK3. USER_DATA*/
27 EFUSE_BLK4 = 4, /**< Number of eFuse BLOCK4. KEY0 */
28 EFUSE_BLK_KEY0 = 4, /**< Number of eFuse BLOCK4. KEY0 */
30 EFUSE_BLK5 = 5, /**< Number of eFuse BLOCK5. KEY1 */
[all …]
/hal_espressif-latest/components/esp_rom/include/esp32c6/rom/
Defuse.h18 /** \defgroup efuse_APIs efuse APIs
19 * @brief ESP32 efuse read/write APIs
58 * @brief Efuse read operation: copies data from physical efuses to efuse read registers.
67 …* @brief Efuse write operation: Copies data from efuse write registers to efuse. Operates on a si…
76 * @brief Set all Efuse program registers to zero.
83 * @brief Program a block of key data to an efuse block
95 /* @brief Return the address of a particular efuse block's first read register
97 * @param block Index of efuse block to look up
105 * @brief Return the current purpose set for an efuse key block
144 * @brief Return the number of unused efuse key blocks (0-6)
[all …]
/hal_espressif-latest/components/esp_rom/include/esp32h2/rom/
Defuse.h18 /** \defgroup efuse_APIs efuse APIs
19 * @brief ESP32 efuse read/write APIs
59 * @brief Efuse read operation: copies data from physical efuses to efuse read registers.
68 …* @brief Efuse write operation: Copies data from efuse write registers to efuse. Operates on a si…
77 * @brief Set all Efuse program registers to zero.
84 * @brief Program a block of key data to an efuse block
96 /* @brief Return the address of a particular efuse block's first read register
98 * @param block Index of efuse block to look up
106 * @brief Return the current purpose set for an efuse key block
145 * @brief Return the number of unused efuse key blocks (0-6)
[all …]
/hal_espressif-latest/components/esp_rom/include/esp32c2/rom/
Defuse.h18 /** \defgroup efuse_APIs efuse APIs
19 * @brief ESP32 efuse read/write APIs
24 /** For ESP32-C2, there's no key purpose region for efuse keys, In order to maintain
51 * @brief Efuse read operation: copies data from physical efuses to efuse read registers.
60 …* @brief Efuse write operation: Copies data from efuse write registers to efuse. Operates on a si…
69 * @brief Set all Efuse program registers to zero.
76 * @brief Program a block of key data to an efuse block
88 /* @brief Return the address of a particular efuse block's first read register
90 * @param block Index of efuse block to look up
98 * @brief Return the current purpose set for an efuse key block
[all …]
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/esp32/
Dmem_definition.py23 # EFUSE registers & command/conf values
41 # Efuse clock control
50 # Taken from TRM chapter "eFuse Controller": Timing Configuration
71 # List of efuse blocks
94 # if MAC_VERSION is set "1", these efuse fields are in BLOCK3:
100 # if BLK3_PART_RESERVE is set, these efuse fields are in BLOCK3:
114 for i, efuse in enumerate(self.ALL_EFUSES):
115 if efuse.name == "BLOCK1" or efuse.name == "BLOCK2":
116 self.KEYBLOCKS_256.append(efuse)
117 BLOCK = copy.deepcopy(efuse)
[all …]
Dfields.py36 # returns 8 words suitable for writing "encoded" to an efuse block
65 Wrapper object to manage the efuse fields in a connected ESP bootloader
98 self.efuses = [EfuseField.convert(self, efuse) for efuse in self.Fields.EFUSES]
101 EfuseField.convert(self, efuse) for efuse in self.Fields.KEYBLOCKS_256
104 EfuseField.convert(self, efuse) for efuse in self.Fields.CUSTOM_MAC
107 EfuseField.convert(self, efuse) for efuse in self.Fields.ADC_CALIBRATION
112 EfuseField.convert(self, efuse)
113 for efuse in self.Fields.KEYBLOCKS_256
117 EfuseField.convert(self, efuse)
118 for efuse in self.Fields.KEYBLOCKS_192
[all …]
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/
Dbase_operations.py36 "Invalid the efuse name '{}'. "
37 "Available the efuse names: {}".format(
65 "burn_efuse", help="Burn the efuse with the specified name"
69 help="Name of efuse field and new value pairs to burn. EFUSE_NAME: "
86 help="Disable readback for the efuse with the specified name",
90 help="Name of efuse register to burn",
104 help="Disable writing to the efuse with the specified name",
108 help="Name of efuse register to burn",
122 help="Burn non-key data to EFUSE blocks. "
128 "--offset", "-o", help="Byte offset in the efuse block", type=int, default=0
[all …]
/hal_espressif-latest/components/efuse/private_include/
Desp_efuse_utility.h37 * @brief This is type of function that will handle the efuse field register.
48 * - other efuse component errors.
56 * @param[in] field A pointer to the structure describing the fields of efuse.
57 …m[in/out] ptr A pointer to an array that is used to read / write from / to the efuse field.
58 …* @param[in] ptr_size_bits The size of the data in bits for the efuse field. if = 0 then read al…
59 * @param[in] func_proc This is the function that will handle the efuse fields.
63 * - other efuse component errors.
86 * @brief Read efuse register and write this value to array.
92 * @brief Burn values written to the efuse write registers.
104 …* @brief Chip specific operations to perform the burn of values written to the efuse write registe…
[all …]
/hal_espressif-latest/components/efuse/include/
Desp_efuse.h22 …FUSE 0x1600 /*!< Base error code for efuse api. */
28 …eading operation leads to damage read data. This error is internal to the efuse component and not …
31 * @brief Type definition for an eFuse field
34 esp_efuse_block_t efuse_block: 8; /**< Block of eFuse */
61 * @brief Reads bits from EFUSE field and writes it into an array.
69 * @param[in] field A pointer to the structure describing the fields of efuse.
83 * @brief Read a single bit eFuse field as a boolean value.
91 * @param[in] field A pointer to the structure describing the fields of efuse.
100 * @brief Reads bits from EFUSE field and returns number of bits programmed as "1".
105 * @param[in] field A pointer to the structure describing the fields of efuse.
[all …]
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/esp32c2/
Dmem_definition.py22 # EFUSE registers & command/conf values
70 # List of efuse blocks
98 # List of efuse fields from TRM the chapter eFuse Controller.
103 # if BLK_VERSION_MINOR is 1, these efuse fields are in BLOCK2
115 for i, efuse in enumerate(self.ALL_EFUSES):
116 if efuse.name in ["BLOCK_KEY0"]:
117 self.KEYBLOCKS.append(efuse)
118 BLOCK_KEY0_LOW_128 = copy.deepcopy(efuse)
125 BLOCK_KEY0_LOW_128.read_disable_bit = efuse.read_disable_bit[0]
127 BLOCK_KEY0_HI_128 = copy.deepcopy(efuse)
[all …]

12345678910>>...18