Monitoring Error.

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Monitoring Error.

Postby DutchOrange » Thu Dec 31, 2020 9:34 am

So I have successfully uploaded and monitored the ESP32 (Hello_World), But now when I try Monitor the the Blink Example I see one message then it gives a Error. Any Ideas why the Blink E.g will do this ?

Code: Select all

Turning off the LED, Test 2
Exception in thread Thread-2:
Traceback (most recent call last):
  File "E:\Desktop\Arduino\Eclipse\Python\lib\threading.py", line 954, in _bootstrap_inner
    self.run()
  File "E:\Desktop\Arduino\Eclipse\Python\lib\threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "E:\Desktop\esp-idf\tools\idf_monitor.py", line 149, in _run_outer
    self.run()
  File "E:\Desktop\esp-idf\tools\idf_monitor.py", line 361, in run
    data = self.serial.read(self.serial.in_waiting or 1)
  File "C:\Users\User-Pc\.espressif\python_env\idf4.1_py3.9_env\lib\site-packages\serial\serialwin32.py", line 259, in in_waiting
    raise SerialException("ClearCommError failed ({!r})".format(ctypes.WinError()))
serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'Access is denied.', None, 5))

ESP_Jan
Posts: 42
Joined: Tue Dec 01, 2020 10:56 am

Re: Monitoring Error.

Postby ESP_Jan » Thu Dec 31, 2020 6:20 pm

Hi DutchOrange,
this may be due to:
  • use of the wrong serial port
  • another program using the serial port
  • bad USB connection or cable
  • the USB device resetting
Please verify you are using the correct COM port.
If that doesn't help, then try a different USB port and/or another USB cable.

Jan

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Re: Monitoring Error.

Postby DutchOrange » Thu Dec 31, 2020 7:15 pm

Thanks, It seems Its working again but if it happens again will try, But thanks.

Who is online

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