Home
last modified time | relevance | path

Searched refs:efuses (Results 1 – 25 of 44) sorted by relevance

12

/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32c3/
Doperations.py51 def add_commands(subparsers, efuses): argument
52 add_common_commands(subparsers, efuses)
62 choices=efuses.BLOCKS_FOR_KEYS,
76 for _ in efuses.BLOCKS_FOR_KEYS:
83 choices=efuses.BLOCKS_FOR_KEYS,
112 choices=efuses.BLOCKS_FOR_KEYS,
126 for _ in efuses.BLOCKS_FOR_KEYS:
133 choices=efuses.BLOCKS_FOR_KEYS,
168 type=fields.base_fields.CheckArgValue(efuses, "CUSTOM_MAC"),
175 def burn_custom_mac(esp, efuses, args): argument
[all …]
Dfields.py88 self.efuses = [
94 self.efuses += [
101 self.efuses += [
109 self.efuses += [
115 self.efuses += [
124 for e in self.efuses:
131 self.efuses += [
139 for e in self.efuses:
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32c6/
Doperations.py51 def add_commands(subparsers, efuses): argument
52 add_common_commands(subparsers, efuses)
62 choices=efuses.BLOCKS_FOR_KEYS,
76 for _ in efuses.BLOCKS_FOR_KEYS:
83 choices=efuses.BLOCKS_FOR_KEYS,
112 choices=efuses.BLOCKS_FOR_KEYS,
126 for _ in efuses.BLOCKS_FOR_KEYS:
133 choices=efuses.BLOCKS_FOR_KEYS,
168 type=fields.base_fields.CheckArgValue(efuses, "CUSTOM_MAC"),
175 def burn_custom_mac(esp, efuses, args): argument
[all …]
Dfields.py88 self.efuses = [
94 self.efuses += [
101 self.efuses += [
109 self.efuses += [
115 self.efuses += [
124 for e in self.efuses:
131 self.efuses += [
139 for e in self.efuses:
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32h2/
Doperations.py51 def add_commands(subparsers, efuses): argument
52 add_common_commands(subparsers, efuses)
62 choices=efuses.BLOCKS_FOR_KEYS,
76 for _ in efuses.BLOCKS_FOR_KEYS:
83 choices=efuses.BLOCKS_FOR_KEYS,
112 choices=efuses.BLOCKS_FOR_KEYS,
126 for _ in efuses.BLOCKS_FOR_KEYS:
133 choices=efuses.BLOCKS_FOR_KEYS,
168 type=fields.base_fields.CheckArgValue(efuses, "CUSTOM_MAC"),
175 def burn_custom_mac(esp, efuses, args): argument
[all …]
Dfields.py88 self.efuses = [
94 self.efuses += [
101 self.efuses += [
109 self.efuses += [
115 self.efuses += [
124 for e in self.efuses:
131 self.efuses += [
139 for e in self.efuses:
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32h2beta1/
Doperations.py51 def add_commands(subparsers, efuses): argument
52 add_common_commands(subparsers, efuses)
62 choices=efuses.BLOCKS_FOR_KEYS,
76 for _ in efuses.BLOCKS_FOR_KEYS:
83 choices=efuses.BLOCKS_FOR_KEYS,
112 choices=efuses.BLOCKS_FOR_KEYS,
126 for _ in efuses.BLOCKS_FOR_KEYS:
133 choices=efuses.BLOCKS_FOR_KEYS,
168 type=fields.base_fields.CheckArgValue(efuses, "CUSTOM_MAC"),
175 def burn_custom_mac(esp, efuses, args): argument
[all …]
Dfields.py88 self.efuses = [
94 self.efuses += [
101 self.efuses += [
109 self.efuses += [
118 for e in self.efuses:
125 self.efuses += [
133 for e in self.efuses:
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32s2/
Doperations.py52 def add_commands(subparsers, efuses): argument
53 add_common_commands(subparsers, efuses)
63 choices=efuses.BLOCKS_FOR_KEYS,
77 for _ in efuses.BLOCKS_FOR_KEYS:
84 choices=efuses.BLOCKS_FOR_KEYS,
113 choices=efuses.BLOCKS_FOR_KEYS,
127 for _ in efuses.BLOCKS_FOR_KEYS:
134 choices=efuses.BLOCKS_FOR_KEYS,
169 type=fields.base_fields.CheckArgValue(efuses, "CUSTOM_MAC"),
176 def burn_custom_mac(esp, efuses, args): argument
[all …]
Dfields.py88 self.efuses = [
94 self.efuses += [
101 self.efuses += [
109 self.efuses += [
115 self.efuses += [
124 for e in self.efuses:
131 self.efuses += [
139 for e in self.efuses:
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32s3/
Doperations.py53 def add_commands(subparsers, efuses): argument
54 add_common_commands(subparsers, efuses)
64 choices=efuses.BLOCKS_FOR_KEYS,
78 for _ in efuses.BLOCKS_FOR_KEYS:
85 choices=efuses.BLOCKS_FOR_KEYS,
114 choices=efuses.BLOCKS_FOR_KEYS,
128 for _ in efuses.BLOCKS_FOR_KEYS:
135 choices=efuses.BLOCKS_FOR_KEYS,
169 type=fields.base_fields.CheckArgValue(efuses, "CUSTOM_MAC"),
176 def burn_custom_mac(esp, efuses, args): argument
[all …]
Dfields.py88 self.efuses = [
94 self.efuses += [
101 self.efuses += [
109 self.efuses += [
115 self.efuses += [
124 for e in self.efuses:
131 self.efuses += [
139 for e in self.efuses:
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32s3beta2/
Doperations.py53 def add_commands(subparsers, efuses): argument
54 add_common_commands(subparsers, efuses)
64 choices=efuses.BLOCKS_FOR_KEYS,
78 for _ in efuses.BLOCKS_FOR_KEYS:
85 choices=efuses.BLOCKS_FOR_KEYS,
114 choices=efuses.BLOCKS_FOR_KEYS,
128 for _ in efuses.BLOCKS_FOR_KEYS:
135 choices=efuses.BLOCKS_FOR_KEYS,
169 type=fields.base_fields.CheckArgValue(efuses, "CUSTOM_MAC"),
176 def burn_custom_mac(esp, efuses, args): argument
[all …]
Dfields.py88 self.efuses = [
94 self.efuses += [
101 self.efuses += [
109 self.efuses += [
115 self.efuses += [
124 for e in self.efuses:
131 self.efuses += [
139 for e in self.efuses:
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32/
Doperations.py31 def add_commands(subparsers, efuses): argument
32 add_common_commands(subparsers, efuses)
35 help="Burn a 256-bit key to EFUSE: %s" % ", ".join(efuses.BLOCKS_FOR_KEYS),
50 choices=efuses.BLOCKS_FOR_KEYS,
58 for _ in efuses.BLOCKS_FOR_KEYS:
66 choices=efuses.BLOCKS_FOR_KEYS,
109 type=fields.base_fields.CheckArgValue(efuses, "CUSTOM_MAC"),
116 def burn_custom_mac(esp, efuses, args): argument
121 efuses["CUSTOM_MAC"].save(args.mac)
122 if not efuses.burn_all(check_batch_mode=True):
[all …]
Dfields.py92 self.efuses = [
99 self.efuses += [
105 self.efuses += [
111 self.efuses += [
119 self.efuses += [
126 self.efuses += [
137 self.efuses += [
144 self.efuses += [
150 self.efuses += [
159 for e in self.efuses:
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32c2/
Doperations.py48 def add_commands(subparsers, efuses): argument
49 add_common_commands(subparsers, efuses)
59 choices=efuses.BLOCKS_FOR_KEYS,
80 choices=efuses.BLOCKS_FOR_KEYS,
125 type=fields.base_fields.CheckArgValue(efuses, "CUSTOM_MAC"),
132 def burn_custom_mac(esp, efuses, args): argument
133 efuses["CUSTOM_MAC"].save(args.mac)
134 efuses["CUSTOM_MAC_USED"].save(1)
135 if not efuses.burn_all(check_batch_mode=True):
137 get_custom_mac(esp, efuses, args)
[all …]
Dfields.py88 self.efuses = [
94 self.efuses += [
101 self.efuses += [
109 self.efuses += [
118 for e in self.efuses:
125 self.efuses += [
133 for e in self.efuses:
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/
Dbase_operations.py19 def add_common_commands(subparsers, efuses): argument
24 self.efuses = kwargs.get("efuses")
52 check_arg = base_fields.CheckArgValue(self.efuses, efuse_name)
59 check_arg = base_fields.CheckArgValue(self.efuses, efuse_name)
72 " VALUE] [".join([e.name for e in efuses.efuses])
74 efuse_choices=[e.name for e in efuses.efuses],
75 efuses=efuses,
86 choices=[e.name for e in efuses.efuses if e.read_disable_bit is not None],
97 choices=[e.name for e in efuses.efuses if e.write_disable_bit is not None],
114 choices=efuses.BURN_BLOCK_DATA_NAMES,
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/docs/en/espefuse/
Dexecute-scripts-cmd.rst21 This command allows burning all needed efuses at one time based on your own python script and contr…
30 …use.py --help``. To run a efuse command you need to call ``espefuse(esp, efuses, args, 'burn_efuse…
31 If necessary, you can call ``efuses.burn_all()`` which prompts ``Type 'BURN' (all capitals) to cont…
39 …, you can implement some checks based on the value of efuses. To get value of an efuse use ``efuse…
49 …print("connected chip: %s, coding scheme %s" % (esp.get_chip_description(), efuses["CODING_SCHEME"…
51 espefuse(esp, efuses, args, "burn_key flash_encryption flash_encryption_key.bin")
55 espefuse(esp, efuses, args, 'burn_efuse FLASH_CRYPT_CNT 0x7')
57 current_flash_crypt_cnt = efuses['FLASH_CRYPT_CNT'].get()
59 espefuse(esp, efuses, args, 'burn_efuse FLASH_CRYPT_CNT')
61 espefuse(esp, efuses, args, 'burn_efuse DISABLE_DL_ENCRYPT 1')
[all …]
Dread-write-protections-cmd.rst48 Permanently read-disabling efuses MAC_VERSION, BLOCK3
49 Permanently read-disabling efuses MAC_VERSION, BLOCK3
59 Reading updated efuses...
60 Checking efuses...
69 Permanently write-disabling efuses FLASH_CRYPT_CNT, UART_DOWNLOAD_DIS
79 Reading updated efuses...
80 Checking efuses...
Dset-flash-voltage-cmd.rst47efuses (``{IDF_TARGET_VDD_FORCE}``, ``{IDF_TARGET_VDD_REG}``, ``{IDF_TARGET_VDD_TIEH}``) can be bu…
94 … efuse is burned it cannot be un-burned. However, changes can be made by burning additional efuses:
119 Reading updated efuses...
140 Reading updated efuses...
160 Reading updated efuses...
Dburn-efuse-cmd.rst24 The efuses to burn:
29 Burning efuses:
47 Reading updated efuses...
48 Checking efuses...
56 The following efuses configure the SPI flash pins which are used to boot:
/hal_espressif-3.5.0/components/esptool_py/esptool/esptool/targets/
Desp8266.py71 def _get_flash_size(self, efuses): argument
73 r0_4 = (efuses & (1 << 4)) != 0
74 r3_25 = (efuses & (1 << 121)) != 0
75 r3_26 = (efuses & (1 << 122)) != 0
76 r3_27 = (efuses & (1 << 123)) != 0
91 efuses = self.get_efuses()
93 efuses & ((1 << 4) | 1 << 80)
96 flash_size = self._get_flash_size(efuses)
98 efuses & (1 << 5)
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/
D__init__.py231 efuses, efuse_operations = get_efuses(
240 efuse_operations.add_commands(subparsers, efuses)
250 efuses.batch_mode_cnt += 1
265 operation_func(esp, efuses, args)
268 efuses.batch_mode_cnt -= 1
269 if not efuses.burn_all(check_batch_mode=True):

12