Problem with ESP32 connected to USB2. USB3 - seems OK.
#1
Hi all.
I am using platform.io framework in vs code on PBP and having problem with communication to ESP32 dev kit from USB2 (right) port.
For example when I am running monitoring of ESP32 serial port I get errors:

Code:
Value 1:249.71
Value 2:94.25
Value 1:153.50
Value 2:251Exception in thread rx:

--- exit ---
Traceback (most recent call last):
  File "/home/erik/.platformio/penv/lib/python3.8/site-packages/serial/serialposix.py", line 500, in read
    raise SerialException(
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/erik/.platformio/penv/lib/python3.8/site-packages/serial/tools/miniterm.py", line 445, in reader
    data = self.serial.read(self.serial.in_waiting or 1)
  File "/home/erik/.platformio/penv/lib/python3.8/site-packages/serial/serialposix.py", line 509, in read
    raise SerialException('read failed: {}'.format(e))
serial.serialutil.SerialException: read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
After some good reading it failed.
If I use USB3 (left) port. Everyhing is fine.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curious about problem with PBP Wifi kendew 3 1,565 01-14-2021, 11:16 AM
Last Post: clover
  Auto-wake behavior when external power is connected diodelass 7 3,574 12-05-2020, 01:19 AM
Last Post: dsimic
  NVME problem chaoskampf 2 1,870 07-01-2020, 09:10 AM
Last Post: chaoskampf
  USB3 won't power 2,5" external HDD Tiedemate 8 3,648 01-08-2020, 05:45 PM
Last Post: Tiedemate
  keyboard problem romansvec 12 5,438 11-11-2019, 02:45 PM
Last Post: CryptoRick

Forum Jump:


Users browsing this thread: 1 Guest(s)