Page 1 of 1

monitor doea not work in my IDF installation

Posted: Thu Aug 10, 2017 12:03 pm
by mikekgr
Dear Sirs,
in my Windows 10 computer, I have just installed the ESP-IDF following the steps in page(s) http://esp-idf.readthedocs.io/en/latest ... index.html
I did compile without problem ( and it is running ) the "hello_world" example. The only problem I have is when I am trying to make monitor,
I get the following errors ( and the monitor, does not work properly, does not shows the serial "printings" of the ESP32. If
I cat directly the comm port that the esp32 in connected /dev/ttyS6 I can see the "printings". Any idea what is wrong?
Thanks!
$ make monitor
MONITOR
--- idf_monitor on /6 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:/Users/kranidis/Desktop/msys32/mingw32/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "C:/Users/kranidis/Desktop/msys32/mingw32/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:/Users/kranidis/Desktop/msys32/home/kranidis/esp/esp-idf/tools/idf_monitor.py", line 116, in _run_outer
self.run()
File "C:/Users/kranidis/Desktop/msys32/home/kranidis/esp/esp-idf/tools/idf_monitor.py", line 188, in run
self.serial.open()
File "C:/Users/kranidis/Desktop/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()))
SerialException: could not open port '/6': WindowsError(2, 'The system cannot find the file specified.')

Re: monitor doea not work in my IDF installation

Posted: Thu Aug 10, 2017 1:49 pm
by mikekgr
... to answer to my question, it is necessary to put Windows names com port at make menuconfic, inmy case COM6 did the trick.
Then everything was worked fine...

Re: monitor doea not work in my IDF installation

Posted: Thu Aug 10, 2017 2:51 pm
by kolban
Your serial port, as shown in the logs appears to be specified as "/6". That doesn't seem at all right for Windows. Serial ports on windows are usually "COMxx" (eg. COM3, COM6 ...)

Can you check what you have configured as your serial port?