You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/espefuse/set-flash-voltage-cmd.rst
+99-97Lines changed: 99 additions & 97 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,143 +19,145 @@ Positional arguments:
19
19
20
20
.. note::
21
21
22
-
This command is not supported. The tool prints the error ``set-flash-voltage not supported!``.
22
+
Setting flash voltage is not supported on {IDF_TARGET_NAME}. The tool prints the error ``set-flash-voltage not supported!``.
23
23
24
-
Setting Flash Voltage ({IDF_TARGET_VDD_SPI})
25
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
+
.. only:: esp32 or esp32s2 or esp32s3
26
25
27
-
After reset, the default {IDF_TARGET_NAME} behavior is to enable and configure the flash voltage regulator ({IDF_TARGET_VDD_SPI}) based on the level of the MTDI pin ({IDF_TARGET_VDD_GPIO}).
26
+
Setting Flash Voltage ({IDF_TARGET_VDD_SPI})
27
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28
28
29
-
The default behavior on reset is:
29
+
After reset, the default {IDF_TARGET_NAME} behavior is to enable and configure the flash voltage regulator ({IDF_TARGET_VDD_SPI}) based on the level of the MTDI pin ({IDF_TARGET_VDD_GPIO}).
30
30
31
-
+--------------------+--------------------+
32
-
| MTDI | Internal Regulator |
33
-
+====================+====================+
34
-
| Low or unconnected | Enabled at 3.3V |
35
-
+--------------------+--------------------+
36
-
| High | Enabled at 1.8V |
37
-
+--------------------+--------------------+
31
+
The default behavior on reset is:
38
32
39
-
.. only:: esp32
33
+
+--------------------+--------------------+
34
+
| MTDI | Internal Regulator |
35
+
+====================+====================+
36
+
| Low or unconnected | Enabled at 3.3V |
37
+
+--------------------+--------------------+
38
+
| High | Enabled at 1.8V |
39
+
+--------------------+--------------------+
40
40
41
-
Consult ESP32 Technical Reference Manual chapter 4.8.1 "{IDF_TARGET_VDD_SPI} Power Domain" for details.
41
+
.. only:: esp32
42
42
43
-
.. only:: not esp32
43
+
Consult ESP32 Technical Reference Manual chapter 4.8.1 "{IDF_TARGET_VDD_SPI} Power Domain" for details.
44
44
45
-
Consult {IDF_TARGET_NAME} Technical Reference Manual for details.
45
+
.. only:: not esp32
46
46
47
-
A combination of 3 eFuses (``{IDF_TARGET_VDD_FORCE}``, ``{IDF_TARGET_VDD_REG}``, ``{IDF_TARGET_VDD_TIEH}``) can be burned in order to override this behavior and disable {IDF_TARGET_VDD_SPI} regulator, or set it to a fixed voltage. These eFuses can be burned with individual ``burn-efuse`` commands, but the ``set-flash-voltage`` command makes it easier:
47
+
Consult {IDF_TARGET_NAME} Technical Reference Manual for details.
48
48
49
-
Disable {IDF_TARGET_VDD_SPI} Regulator
50
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
49
+
A combination of 3 eFuses (``{IDF_TARGET_VDD_FORCE}``, ``{IDF_TARGET_VDD_REG}``, ``{IDF_TARGET_VDD_TIEH}``) can be burned in order to override this behavior and disable {IDF_TARGET_VDD_SPI} regulator, or set it to a fixed voltage. These eFuses can be burned with individual ``burn-efuse`` commands, but the ``set-flash-voltage`` command makes it easier:
51
50
52
-
.. code-block:: none
51
+
Disable {IDF_TARGET_VDD_SPI} Regulator
52
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
53
53
54
-
espefuse set-flash-voltage OFF
54
+
.. code-block:: none
55
55
56
-
Once set:
56
+
espefuse set-flash-voltage OFF
57
57
58
-
* {IDF_TARGET_VDD_SPI} regulator always disabled.
59
-
* MTDI pin ({IDF_TARGET_VDD_GPIO}) is ignored.
60
-
* Flash must be powered externally and voltage supplied to {IDF_TARGET_VDD_SPI} pin of {IDF_TARGET_NAME}.
61
-
* eFuse ``{IDF_TARGET_VDD_FORCE}`` is burned.
58
+
Once set:
62
59
63
-
Fixed 1.8V {IDF_TARGET_VDD_SPI}
64
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
60
+
* {IDF_TARGET_VDD_SPI} regulator always disabled.
61
+
* MTDI pin ({IDF_TARGET_VDD_GPIO}) is ignored.
62
+
* Flash must be powered externally and voltage supplied to {IDF_TARGET_VDD_SPI} pin of {IDF_TARGET_NAME}.
63
+
* eFuse ``{IDF_TARGET_VDD_FORCE}`` is burned.
65
64
66
-
.. code-block:: none
65
+
Fixed 1.8V {IDF_TARGET_VDD_SPI}
66
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
67
67
68
-
espefuse set-flash-voltage 1.8V
68
+
.. code-block:: none
69
69
70
-
Once set:
70
+
espefuse set-flash-voltage 1.8V
71
71
72
-
* {IDF_TARGET_VDD_SPI} regulator always enables at 1.8V.
73
-
* MTDI pin ({IDF_TARGET_VDD_GPIO}) is ignored.
74
-
* External voltage should not be supplied to {IDF_TARGET_VDD_SPI}.
75
-
* Efuses ``{IDF_TARGET_VDD_FORCE}`` and ``{IDF_TARGET_VDD_REG}`` are burned.
72
+
Once set:
76
73
77
-
Fixed 3.3V {IDF_TARGET_VDD_SPI}
78
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74
+
* {IDF_TARGET_VDD_SPI} regulator always enables at 1.8V.
75
+
* MTDI pin ({IDF_TARGET_VDD_GPIO}) is ignored.
76
+
* External voltage should not be supplied to {IDF_TARGET_VDD_SPI}.
77
+
* Efuses ``{IDF_TARGET_VDD_FORCE}`` and ``{IDF_TARGET_VDD_REG}`` are burned.
79
78
80
-
.. code-block:: none
79
+
Fixed 3.3V {IDF_TARGET_VDD_SPI}
80
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81
81
82
-
espefuse set-flash-voltage 3.3V
82
+
.. code-block:: none
83
83
84
-
Once set:
84
+
espefuse set-flash-voltage 3.3V
85
85
86
-
* {IDF_TARGET_VDD_SPI} regulator always enables at 3.3V.
87
-
* MTDI pin ({IDF_TARGET_VDD_GPIO}) is ignored.
88
-
* External voltage should not be supplied to {IDF_TARGET_VDD_SPI}.
89
-
* Efuses ``{IDF_TARGET_VDD_FORCE}``, ``{IDF_TARGET_VDD_REG}``, ``{IDF_TARGET_VDD_TIEH}`` are burned.
86
+
Once set:
90
87
91
-
Subsequent Changes
92
-
^^^^^^^^^^^^^^^^^^
88
+
* {IDF_TARGET_VDD_SPI} regulator always enables at 3.3V.
89
+
* MTDI pin ({IDF_TARGET_VDD_GPIO}) is ignored.
90
+
* External voltage should not be supplied to {IDF_TARGET_VDD_SPI}.
91
+
* Efuses ``{IDF_TARGET_VDD_FORCE}``, ``{IDF_TARGET_VDD_REG}``, ``{IDF_TARGET_VDD_TIEH}`` are burned.
93
92
94
-
Once an eFuse is burned it cannot be un-burned. However, changes can be made by burning additional eFuses:
93
+
Subsequent Changes
94
+
^^^^^^^^^^^^^^^^^^
95
95
96
-
* ``set-flash-voltage OFF`` can be changed to ``1.8V`` or ``3.3V``
97
-
* ``set-flash-voltage 1.8V`` can be changed to ``3.3V``
96
+
Once an eFuse is burned it cannot be un-burned. However, changes can be made by burning additional eFuses:
98
97
98
+
* ``set-flash-voltage OFF`` can be changed to ``1.8V`` or ``3.3V``
99
+
* ``set-flash-voltage 1.8V`` can be changed to ``3.3V``
99
100
100
-
.. only:: esp32s2 or esp32s3
101
101
102
-
.. code-block:: none
102
+
.. only:: esp32s2 or esp32s3
103
103
104
-
> espefuse set-flash-voltage 1.8V
104
+
.. code-block:: none
105
105
106
-
=== Run "set-flash-voltage" command ===
107
-
Set internal flash voltage regulator (VDD_SPI) to 1.8V.
106
+
> espefuse set-flash-voltage 1.8V
108
107
109
-
VDD_SPI setting complete.
108
+
=== Run "set-flash-voltage" command ===
109
+
Set internal flash voltage regulator (VDD_SPI) to 1.8V.
110
110
111
-
Check all blocks for burn...
112
-
idx, BLOCK_NAME, Conclusion
113
-
[00] BLOCK0 is empty, will burn the new value
114
-
.
115
-
This is an irreversible operation!
116
-
Type 'BURN' (all capitals) to continue.
117
-
BURN
118
-
BURN BLOCK0 - OK (write block == read block)
119
-
Reading updated efuses...
120
-
Successful
111
+
VDD_SPI setting complete.
121
112
113
+
Check all blocks for burn...
114
+
idx, BLOCK_NAME, Conclusion
115
+
[00] BLOCK0 is empty, will burn the new value
116
+
.
117
+
This is an irreversible operation!
118
+
Type 'BURN' (all capitals) to continue.
119
+
BURN
120
+
BURN BLOCK0 - OK (write block == read block)
121
+
Reading updated efuses...
122
+
Successful
122
123
123
-
.. code-block:: none
124
124
125
-
> espefuse set-flash-voltage 3.3V
125
+
.. code-block:: none
126
126
127
-
=== Run "set-flash-voltage" command ===
128
-
Enable internal flash voltage regulator (VDD_SPI) to 3.3V.
127
+
> espefuse set-flash-voltage 3.3V
129
128
130
-
VDD_SPI setting complete.
129
+
=== Run "set-flash-voltage" command ===
130
+
Enable internal flash voltage regulator (VDD_SPI) to 3.3V.
131
131
132
-
Check all blocks for burn...
133
-
idx, BLOCK_NAME, Conclusion
134
-
[00] BLOCK0 is empty, will burn the new value
135
-
.
136
-
This is an irreversible operation!
137
-
Type 'BURN' (all capitals) to continue.
138
-
BURN
139
-
BURN BLOCK0 - OK (write block == read block)
140
-
Reading updated efuses...
141
-
Successful
132
+
VDD_SPI setting complete.
142
133
134
+
Check all blocks for burn...
135
+
idx, BLOCK_NAME, Conclusion
136
+
[00] BLOCK0 is empty, will burn the new value
137
+
.
138
+
This is an irreversible operation!
139
+
Type 'BURN' (all capitals) to continue.
140
+
BURN
141
+
BURN BLOCK0 - OK (write block == read block)
142
+
Reading updated efuses...
143
+
Successful
143
144
144
-
.. code-block:: none
145
145
146
-
> espefuse set-flash-voltage OFF
147
-
148
-
=== Run "set-flash-voltage" command ===
149
-
Disable internal flash voltage regulator (VDD_SPI). SPI flash will
150
-
VDD_SPI setting complete.
151
-
152
-
Check all blocks for burn...
153
-
idx, BLOCK_NAME, Conclusion
154
-
[00] BLOCK0 is empty, will burn the new value
155
-
.
156
-
This is an irreversible operation!
157
-
Type 'BURN' (all capitals) to continue.
158
-
BURN
159
-
BURN BLOCK0 - OK (write block == read block)
160
-
Reading updated efuses...
161
-
Successful
146
+
.. code-block:: none
147
+
148
+
> espefuse set-flash-voltage OFF
149
+
150
+
=== Run "set-flash-voltage" command ===
151
+
Disable internal flash voltage regulator (VDD_SPI). SPI flash will
0 commit comments