Get Started

recently
Posts: 4
Joined: Sun Sep 02, 2018 9:25 am

Get Started

Postby recently » Sun Sep 02, 2018 9:48 am

Hello,
I installed the esp32 idf on a Windows10 PC as first time user and tried the "hello world" project. I did everything (hopefully) described in the "Get Startet"- pages on docs.espressif.com.
When I do the "make flash" I get the following errors:

Code: Select all

$ make flash
Python requirements from C:/msys32/home/Bettina/esp/esp-idf/requirements.txt are satisfied.
Flashing binaries to serial port /dev/ttyS4 (app at offset 0x10000 )...
esptool.py v2.5.0
Serial port /??/COM5
Traceback (most recent call last):
  File "C:/msys32/home/Bettina/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2849, in <module>
    _main()
  File "C:/msys32/home/Bettina/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2842, in _main
    main()
  File "C:/msys32/home/Bettina/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2549, in main
    esp = chip_class(each_port, initial_baud, args.trace)
  File "C:/msys32/home/Bettina/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 213, in __init__
    self._port = serial.serial_for_url(port)
  File "C:/msys32/mingw32/lib/python2.7/site-packages/serial/__init__.py", line 88, in serial_for_url
    instance.open()
  File "C:/msys32/mingw32/lib/python2.7/site-packages/serial/serialwin32.py", line 62, in open
    raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port '/??/COM5': WindowsError(3, 'Das System kann den angegebenen Pfad nicht finden.')
make: *** [/home/Bettina/esp/esp-idf/components/esptool_py/Makefile.projbuild:63: flash] Fehler 1
Thank you very much for help !

friendly regards

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

Re: Get Started

Postby chegewara » Sun Sep 02, 2018 1:26 pm

You have to use command

Code: Select all

make menuconfig
and change flashing port to comX, whatever port your board is connected to, or use command

Code: Select all

make flash ESPPORT=com5
again, com5 is just example

recently
Posts: 4
Joined: Sun Sep 02, 2018 9:25 am

Re: Get Started

Postby recently » Sun Sep 02, 2018 3:39 pm

Thank you Che,
it works now ... I entered erroneous the linux tty4

Who is online

Users browsing this forum: Google [Bot] and 72 guests