pi@RasPB4:~/Downloads/ampy $ sudo ampy -p /dev/ttyS0 ls
Traceback (most recent call last):
File "/usr/local/bin/ampy", line 33, in
sys.exit(load_entry_point('adafruit-ampy==1.0.8.dev22+g07ab2a9', 'console_scripts', 'ampy')())
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in call
return self.main(args, kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/adafruit_ampy-1.0.8.dev22+g07ab2a9-py3.7.egg/ampy/cli.py", line 194, in ls
File "/usr/local/lib/python3.7/dist-packages/adafruit_ampy-1.0.8.dev22+g07ab2a9-py3.7.egg/ampy/files.py", line 167, in ls
File "/usr/local/lib/python3.7/dist-packages/adafruit_ampy-1.0.8.dev22+g07ab2a9-py3.7.egg/ampy/pyboard.py", line 194, in enter_raw_repl
File "/usr/local/lib/python3.7/dist-packages/adafruit_ampy-1.0.8.dev22+g07ab2a9-py3.7.egg/ampy/pyboard.py", line 162, in read_until
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 590, in inWaiting
return self.in_waiting
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 467, in in_waiting
s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
OSError: [Errno 5] Input/output error
Hi,
ampy not workig after upgrade the OS,
pi@RasPB4:~/Downloads/ampy $ sudo ampy -p /dev/ttyS0 ls Traceback (most recent call last): File "/usr/local/bin/ampy", line 33, in
sys.exit(load_entry_point('adafruit-ampy==1.0.8.dev22+g07ab2a9', 'console_scripts', 'ampy')())
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in call
return self.main(args, kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/adafruit_ampy-1.0.8.dev22+g07ab2a9-py3.7.egg/ampy/cli.py", line 194, in ls
File "/usr/local/lib/python3.7/dist-packages/adafruit_ampy-1.0.8.dev22+g07ab2a9-py3.7.egg/ampy/files.py", line 167, in ls
File "/usr/local/lib/python3.7/dist-packages/adafruit_ampy-1.0.8.dev22+g07ab2a9-py3.7.egg/ampy/pyboard.py", line 194, in enter_raw_repl
File "/usr/local/lib/python3.7/dist-packages/adafruit_ampy-1.0.8.dev22+g07ab2a9-py3.7.egg/ampy/pyboard.py", line 162, in read_until
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 590, in inWaiting
return self.in_waiting
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 467, in in_waiting
s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
OSError: [Errno 5] Input/output error