Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ampy not working after raspberry pi 4 dist-upgrade #98

Open
JohnGooler opened this issue Jan 23, 2021 · 0 comments
Open

ampy not working after raspberry pi 4 dist-upgrade #98

JohnGooler opened this issue Jan 23, 2021 · 0 comments

Comments

@JohnGooler
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant