How to send file by the serial com line ?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
Tom_123
Posts: 3
Joined: Tue Oct 30, 2018 2:34 pm

How to send file by the serial com line ?

Post by Tom_123 » Tue Oct 30, 2018 3:57 pm

hello,
i am trying use ZOC for sending file to esp8266,
the link to ZOC:
https://www.emtec.com/zoc/
i was able to connect and to monitor the esp8266 by ZOC,
but when i try to send file i get error in the terminal,
does micropython have Zmodem option ?
do i have to add some configuration in micropython
in order that that this will work ?

regards,
Tom

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: How to send file by the serial com line ?

Post by Roberthh » Tue Oct 30, 2018 4:46 pm

No, the ESP8266 does not support ZModem. ZOC has a method called ASCII upload. It will simple send a file trough serial as it it was typed. But that is very inconvenient.
But it's better to use tools like webrepl (micropython.org, https://github.com/micropython/webrepl), rshell (by dhylands, https://github.com/dhylands/rshell) or ampy (by adafruit) to transfer files to the ESP8266.

Post Reply