You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please take a look at the advanced seral monitor named CoolTerm.
I have a target device that "goes to sleep" by being externally disabled via the EN pin. When my device is disabled, the serial monitor crashes.
This is unfortunate, because I cannot connect to a port that is not open (i.e. a disabled device). I have no way to connect to the device unless it is running, which means I will miss all the startup logs.
I need the monitor to gracefully handle the loss of connection, await for the device to reappear, and reestablish the connection.
The text was updated successfully, but these errors were encountered:
Exception in thread rx:
Traceback (most recent call last):
File "/Users/michelle/.platformio/penv/lib/python3.8/site-packages/serial/serialposix.py", line 575, in read
--- exit ---
buf = os.read(self.fd, size - len(read))
OSError: [Errno 6] Device not configured
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/Users/michelle/.platformio/penv/lib/python3.8/site-packages/serial/tools/miniterm.py", line 499, in reader
data = self.serial.read(self.serial.in_waiting or 1)
File "/Users/michelle/.platformio/penv/lib/python3.8/site-packages/serial/serialposix.py", line 581, in read
raise SerialException('read failed: {}'.format(e))
serial.serialutil.SerialException: read failed: [Errno 6] Device not configured
Temporary solution
Please take a look at the advanced seral monitor named CoolTerm.
I have a target device that "goes to sleep" by being externally disabled via the
EN
pin. When my device is disabled, the serial monitor crashes.This is unfortunate, because I cannot connect to a port that is not open (i.e. a disabled device). I have no way to connect to the device unless it is running, which means I will miss all the startup logs.
I need the monitor to gracefully handle the loss of connection, await for the device to reappear, and reestablish the connection.
The text was updated successfully, but these errors were encountered: