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
@jarritto1, I did not. Still waiting for response by @dhylands or someone. My workaround was to use ampy instead. Which has other drawbacks, of course.
Unfortunately for me ampy has been even less reliable with transferring files. I suppose I'll stick to using rshell rsync in a loop until it completes without error messages.
Hi there!
I’m trying to copy or rsync files using rshell, but receive the error message
timed out or error in transfer to remote
.ls /pyboard
works, the REPL works too./dev/ttyS3
instead of/dev/ttyUSB3
.-a
and both with the default buffer size of 32 as well as 512. Adding--wait 3
doesn’t help either.Failing commands:
rshell -p /dev/ttyS3 'rsync --mirror pycode /pyboard'
cd pycode && rshell -p /dev/ttyS3 'rsync --mirror . /pyboard'
cd pycode && rshell -p /dev/ttyS3 'cp config.py /pyboard'
These fail regardless of whether I pass the command to rshell on the command line or enter them interactively.
Since the error message doesn’t tell a lot, I’ve hacked
~/.local/lib/python3.6/site-packages/rshell/main.py
to change the error message line to:This way, I figured out that instead of
0x06
(ACK, acknowledge), the board is responding with0x04
(EOT, end of transmission).This is the output of
stty -F /dev/sttyS3 -a
:Any suggestions?
The text was updated successfully, but these errors were encountered: