Skip to content

Commit

Permalink
Merge branch 'docs/update_usb_otg_console' into 'master'
Browse files Browse the repository at this point in the history
docs: update description of initial upload on development boards

Closes DOC-4201

See merge request espressif/esp-idf!21403
  • Loading branch information
Lindazhxy committed Dec 6, 2022
2 parents 67507ba + d347523 commit 8956987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/api-guides/usb-otg-console.rst
Expand Up @@ -55,7 +55,7 @@ Uploading the Application
Initial Upload
--------------

If the {IDF_TARGET_NAME} is not yet flashed with a program which enables USB console, we can not use ``idf.py flash`` command with the USB CDC port. There are 3 alternative options to perform the initial upload listed below.
If the {IDF_TARGET_NAME} is not yet flashed with a program that enables a USB console, an initial upload of the program is required. There are 3 alternative options to perform the initial upload.

Once the initial upload is done, the application will start up and a USB CDC port will appear in the system.

Expand All @@ -69,7 +69,7 @@ Initial upload using the ROM download mode, over USB CDC

* Press {IDF_TARGET_NAME} into download mode. To do this, keep GPIO0 low while toggling reset. On many development boards, the "Boot" button is connected to GPIO0, and you can press "Reset" button while holding "Boot".
* A serial port will appear in the system. On most operating systems (Windows 8 and later, Linux, macOS) driver installation is not required. Find the port name using Device Manager (Windows) or by listing ``/dev/ttyACM*`` devices on Linux or ``/dev/cu*`` devices on macOS.
* Run ``idf.py flash -p PORT`` to upload the application, with ``PORT`` determined in the previous step
* Run ``idf.py flash -p PORT`` to upload the application, with ``PORT`` determined in the previous step.

Initial upload using the ROM download mode, over USB DFU
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 8956987

Please sign in to comment.