File transfer using serial connection
-
Question: Is there a way to upload/download files (like boot.py, main.py) when having a serial connection (instead of connected by wifi)?
Are there file transfer tools who can handle this? Kermit?
-
@gertjanvanhethof I find
rshell
even easier to thanampy
.Once
rshell
has launched, connect with:> connect serial /dev/ttyACM0 115200
By the way,
ACM
stands for «asynchronous communication mechanism».
-
@robert-hh Thxs!
-
Hi @robert-hh!
Yes, I do agree with you. Ampy is the best option when you don't want to use or you can not use Pymakr (due to unsupported Linux distribution).
Mike
-
You could try the adafruit ampy tool: https://github.com/adafruit/ampy
The README.md there also mentions other tools, that might work.
-
You can use the Pymakr to upload the python files to your device, using the sync button. To do this, you only need to put the REPL script in the boot file before this works
-
You might want to have a look at https://forum.pycom.io/topic/93/updating-firmware-via-serial-usb