dhylands / rshell

Remote Shell for MicroPython
MIT License
944 stars 133 forks source link

pyboard - False when copying files #53

Closed diginfo closed 5 years ago

diginfo commented 6 years ago

I am encountering problems on all 3 of my MAC's whereby larger files (<20k) fail to upload.

I am using SD card so there's no problem with storage.

The file transfer starts, the green LED lights up, then a few seconds later it goes out and False is reported in the console.

After this, nothing further happens and I have to disconnect / reboot the pyboard.

I have tried playing with buffer size from 64 - 1024, tried enabling disabling ascii transfer mode, no difference.

I have also disabled usb storage mode to prevent that from interfering.

diginfo commented 6 years ago

I just upgraded from 0.11 to 0.14, now there is no 'false' message, but I get:

timed out or error in transfer to remote

dhylands commented 6 years ago

What board are you connecting to? For ESP8266/ESP32 I normally use buffer-size=32 and I also have to use the -a flag to force ASCII-only transfers.

diginfo commented 6 years ago

pyboard - False when copying files

as per the title PYBOARD, yes I have already tried all of those options:

I have tried playing with buffer size from 64 - 1024, tried enabling disabling ascii transfer mode, no difference.

dhylands commented 6 years ago

I tried copying lots of files to and from the pyboard (to an sdcard) and haven't been able to reproduce. This was using a linux machine as a host. I have a mac laptop at home (I'm not there for a few more days) and I'll try again using the mac as a host and see if I can run into any problems.

I was connecting to a pyboard 1.1, and not specifying a buffer-size

Does it fail on the same file?

Which version of rshell are you using?