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/get-started/establish-serial-connection.rst
+25-1
Original file line number
Diff line number
Diff line change
@@ -183,12 +183,34 @@ For devices downloaded using a USB-to-UART bridge, you can run the following com
183
183
184
184
idf.py -p PORT [-b BAUD] flash
185
185
186
-
You can change the flasher baud rate by replacing ``BAUD`` with the baud rate you need. The default baud rate is ``460800``.
186
+
Replace ``PORT`` with the device name for the serial port of your {IDF_TARGET_NAME} board. Please note that ``-b`` is an optional argument. If you do not specify the baud rate, the default baud rate is ``460800``. If you need to specify the baud rate, replace ``BAUD`` with the baud rate you need.
187
+
188
+
To check the port name on Windows, please refer to `check-port-on-windows`_. For Linux and macOS users, please see `check-port-on-linux-and-macos`_.
189
+
190
+
For example, if the port name is ``COM3`` on Windows and your desired baud rate is ``115200``, you can run the following command to flash the device:
191
+
192
+
.. code-block:: bash
193
+
194
+
idf.py -p COM3 -b 115200 flash
195
+
196
+
For Linux users, if the port name is ``/dev/ttyUSB0`` and the desired baud rate is ``115200``, you can run the following command to flash the device:
197
+
198
+
.. code-block:: bash
199
+
200
+
idf.py -p /dev/ttyUSB0 -b 115200 flash
201
+
202
+
For macOS users, if the port name is ``/dev/cu.usbserial-1401`` and the desired baud rate is ``115200``, you can run the following command to flash the device:
203
+
204
+
.. code-block:: bash
205
+
206
+
idf.py -p /dev/cu.usbserial-1401 -b 115200 flash
187
207
188
208
.. note::
189
209
190
210
If the device does not support the auto download mode, you need to get into the download mode manually. To do so, press and hold the ``BOOT`` button and then press the ``RESET`` button once. After that release the ``BOOT`` button.
191
211
212
+
.. _check-port-on-windows:
213
+
192
214
Check Port on Windows
193
215
---------------------
194
216
@@ -210,6 +232,8 @@ Figures below show serial port for ESP32 DevKitC and ESP32 WROVER KIT
210
232
211
233
Two USB Serial Ports of ESP-WROVER-KIT in Windows Device Manager
0 commit comments