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
For example, running the uart applet, and then unplugging it will produce lots of output, and then hang on E: g.cli: transfer error: LIBUSB_TRANSFER_ERROR, requiring ^C to return to the shell.
Console Output
user@c0f973ab2540:~$ glasgow run uart -V 3.3 tty
I: g.device.hardware: generating bitstream ID fc10eecac687e82738156c3ee7cdfb42
I: g.cli: running handler for applet 'uart'
I: g.applet.interface.uart: port(s) A, B voltage set to 3.3 V
I: g.applet.interface.uart: running on a TTY; enter `Ctrl+\ q` to quit
W: g.applet.interface.uart: 40 frame or parity errors detected
W: g.applet.interface.uart: 12201 frame or parity errors detected
W: g.applet.interface.uart: 12202 frame or parity errors detected
W: g.applet.interface.uart: 12214 frame or parity errors detected
W: g.applet.interface.uart: 12211 frame or parity errors detected
E: asyncio: Task exception was never retrieved
future: <Task finished name='Task-5' coro=<DirectDemultiplexerInterface._in_task() done, defined at /opt/glasgow/software/glasgow/access/direct/demultiplexer.py:214> exception=GlasgowDeviceError('transfer error:
LIBUSB_TRANSFER_ERROR')>
Traceback (most recent call last):
File "/opt/glasgow/software/glasgow/access/direct/demultiplexer.py", line 222, in _in_task
data = await self.device.bulk_read(self._endpoint_in, size)
File "/opt/glasgow/software/glasgow/device/hardware.py", line 287, in bulk_read
data = await self._do_transfer(is_read=True, setup=lambda transfer:
File "/opt/glasgow/software/glasgow/device/hardware.py", line 257, in _do_transfer
return await result_future
glasgow.device.GlasgowDeviceError: transfer error: LIBUSB_TRANSFER_ERROR
E: asyncio: Task exception was never retrieved
future: <Task finished name='Task-6' coro=<DirectDemultiplexerInterface._in_task() done, defined at /opt/glasgow/software/glasgow/access/direct/demultiplexer.py:214> exception=GlasgowDeviceError('transfer error:
LIBUSB_TRANSFER_ERROR')>
Traceback (most recent call last):
File "/opt/glasgow/software/glasgow/access/direct/demultiplexer.py", line 222, in _in_task
data = await self.device.bulk_read(self._endpoint_in, size)
File "/opt/glasgow/software/glasgow/device/hardware.py", line 287, in bulk_read
data = await self._do_transfer(is_read=True, setup=lambda transfer:
File "/opt/glasgow/software/glasgow/device/hardware.py", line 257, in _do_transfer
return await result_future
glasgow.device.GlasgowDeviceError: transfer error: LIBUSB_TRANSFER_ERROR
E: asyncio: Task exception was never retrieved
future: <Task finished name='Task-7' coro=<DirectDemultiplexerInterface._in_task() done, defined at /opt/glasgow/software/glasgow/access/direct/demultiplexer.py:214> exception=GlasgowDeviceError('transfer error:
LIBUSB_TRANSFER_ERROR')>
Traceback (most recent call last):
File "/opt/glasgow/software/glasgow/access/direct/demultiplexer.py", line 222, in _in_task
data = await self.device.bulk_read(self._endpoint_in, size)
File "/opt/glasgow/software/glasgow/device/hardware.py", line 287, in bulk_read
data = await self._do_transfer(is_read=True, setup=lambda transfer:
File "/opt/glasgow/software/glasgow/device/hardware.py", line 257, in _do_transfer
return await result_future
glasgow.device.GlasgowDeviceError: transfer error: LIBUSB_TRANSFER_ERROR
E: asyncio: Task exception was never retrieved
future: <Task finished name='Task-8' coro=<DirectDemultiplexerInterface._in_task() done, defined at /opt/glasgow/software/glasgow/access/direct/demultiplexer.py:214> exception=GlasgowDeviceError('transfer error:
LIBUSB_TRANSFER_ERROR')>
Traceback (most recent call last):
File "/opt/glasgow/software/glasgow/access/direct/demultiplexer.py", line 222, in _in_task
data = await self.device.bulk_read(self._endpoint_in, size)
File "/opt/glasgow/software/glasgow/device/hardware.py", line 287, in bulk_read
data = await self._do_transfer(is_read=True, setup=lambda transfer:
File "/opt/glasgow/software/glasgow/device/hardware.py", line 257, in _do_transfer
return await result_future
glasgow.device.GlasgowDeviceError: transfer error: LIBUSB_TRANSFER_ERROR
E: asyncio: Task exception was never retrieved
future: <Task finished name='Task-9' coro=<DirectDemultiplexerInterface._in_task() done, defined at /opt/glasgow/software/glasgow/access/direct/demultiplexer.py:214> exception=GlasgowDeviceError('transfer error:
LIBUSB_TRANSFER_ERROR')>
Traceback (most recent call last):
File "/opt/glasgow/software/glasgow/access/direct/demultiplexer.py", line 222, in _in_task
data = await self.device.bulk_read(self._endpoint_in, size)
File "/opt/glasgow/software/glasgow/device/hardware.py", line 287, in bulk_read
data = await self._do_transfer(is_read=True, setup=lambda transfer:
File "/opt/glasgow/software/glasgow/device/hardware.py", line 257, in _do_transfer
return await result_future
glasgow.device.GlasgowDeviceError: transfer error: LIBUSB_TRANSFER_ERROR
E: asyncio: Task exception was never retrieved
future: <Task finished name='Task-10' coro=<DirectDemultiplexerInterface._in_task() done, defined at /opt/glasgow/software/glasgow/access/direct/demultiplexer.py:214> exception=GlasgowDeviceError('transfer error
: LIBUSB_TRANSFER_ERROR')>
Traceback (most recent call last):
File "/opt/glasgow/software/glasgow/access/direct/demultiplexer.py", line 222, in _in_task
data = await self.device.bulk_read(self._endpoint_in, size)
File "/opt/glasgow/software/glasgow/device/hardware.py", line 287, in bulk_read
data = await self._do_transfer(is_read=True, setup=lambda transfer:
File "/opt/glasgow/software/glasgow/device/hardware.py", line 257, in _do_transfer
return await result_future
glasgow.device.GlasgowDeviceError: transfer error: LIBUSB_TRANSFER_ERROR
E: asyncio: Task exception was never retrieved
future: <Task finished name='Task-11' coro=<DirectDemultiplexerInterface._in_task() done, defined at /opt/glasgow/software/glasgow/access/direct/demultiplexer.py:214> exception=GlasgowDeviceError('transfer error
: LIBUSB_TRANSFER_ERROR')>
Traceback (most recent call last):
File "/opt/glasgow/software/glasgow/access/direct/demultiplexer.py", line 222, in _in_task
data = await self.device.bulk_read(self._endpoint_in, size)
File "/opt/glasgow/software/glasgow/device/hardware.py", line 287, in bulk_read
data = await self._do_transfer(is_read=True, setup=lambda transfer:
File "/opt/glasgow/software/glasgow/device/hardware.py", line 257, in _do_transfer
return await result_future
glasgow.device.GlasgowDeviceError: transfer error: LIBUSB_TRANSFER_ERROR
E: asyncio: Task exception was never retrieved
future: <Task finished name='Task-12' coro=<DirectDemultiplexerInterface._in_task() done, defined at /opt/glasgow/software/glasgow/access/direct/demultiplexer.py:214> exception=GlasgowDeviceError('transfer error
: LIBUSB_TRANSFER_ERROR')>
Traceback (most recent call last):
File "/opt/glasgow/software/glasgow/access/direct/demultiplexer.py", line 222, in _in_task
data = await self.device.bulk_read(self._endpoint_in, size)
File "/opt/glasgow/software/glasgow/device/hardware.py", line 287, in bulk_read
data = await self._do_transfer(is_read=True, setup=lambda transfer:
File "/opt/glasgow/software/glasgow/device/hardware.py", line 257, in _do_transfer
return await result_future
glasgow.device.GlasgowDeviceError: transfer error: LIBUSB_TRANSFER_ERROR
E: asyncio: Task exception was never retrieved
future: <Task finished name='Task-13' coro=<DirectDemultiplexerInterface._in_task() done, defined at /opt/glasgow/software/glasgow/access/direct/demultiplexer.py:214> exception=GlasgowDeviceError('transfer error
: LIBUSB_TRANSFER_ERROR')>
Traceback (most recent call last):
File "/opt/glasgow/software/glasgow/access/direct/demultiplexer.py", line 222, in _in_task
data = await self.device.bulk_read(self._endpoint_in, size)
File "/opt/glasgow/software/glasgow/device/hardware.py", line 287, in bulk_read
data = await self._do_transfer(is_read=True, setup=lambda transfer:
File "/opt/glasgow/software/glasgow/device/hardware.py", line 257, in _do_transfer
return await result_future
glasgow.device.GlasgowDeviceError: transfer error: LIBUSB_TRANSFER_ERROR
E: g.cli: transfer error: LIBUSB_TRANSFER_ERROR
The text was updated successfully, but these errors were encountered:
The UART applet in TTY mode specifically still requires this, but it also works with a single newline. Other applets return instantly. This could be separately fixed in the UART applet.
For example, running the
uart
applet, and then unplugging it will produce lots of output, and then hang onE: g.cli: transfer error: LIBUSB_TRANSFER_ERROR
, requiring^C
to return to the shell.Console Output
The text was updated successfully, but these errors were encountered: