ESPlorer File Uploading Problems and Snippets
petermeigs wrote: ↑
Fri Oct 05, 2018 1:15 pm
1. With ESPlorer, try turning off "echo command" when uploading file. Flow control is not great.
2. Also, when you send a file to the 8266, try to upload it as a file, then you can dofile as a command later to run it. You'll notice that upload just creates a script to do a line by line write to a file.
3. I would up putting a lot of things in snippets to run them later.
4. Earlier, I have posted a script to let you telnet to the esp and that will help a lot but does not solve the upload issue.
5. If you find a proper ftp to be able to upload (and download) please post it here. That would be super useful.
As I told you earlier, I never had any file upload problems, using my ESP8266 boards with and without built on board USB2TTL chips. USB2TTL CH340 and even PL230x chips run smoothly. I still think if you upgrade to a board with built in USB2TTL, then your upload problems will disappear.
You mentioned things like telenet, ftp etc which I have not heard for over 10 years. I did use telenet and ftp many yeas ago, when I played with BBS using 9,600 baud modems, and took 1 hr to download 1Mb of file.
And I have not heard about Snippets either. I googled and have the impression that it might be used by the Java and Node.js guys. I am using EditPlus with Lua template and I found editing multiple files at the same time easy. I did try ESPlorer snippet once or twice but I did not find it good for me for program debugging. Perhaps it is a matter of personal programming taste and habits.
I once heard you saying you are using Rpi Debian. I wonder if you did mean Raspian and python 2.7. I have been using Rpi stretch and python 3.5 these months and found everything OK. I wonder if it is possible that esptools.py does not like your old python 2.7.
About ESPlorer, I still find it kind of a Swiss Army knife with too many blades for me to start at the same time. And as the Big Dan the Blogging Man says, he found a couple of things ESPlorer does not do what he expects. I still find ESPlorer problematic, but I have not found any IDE better.
And I have not completed my first problem Blinky, after perhaps more than 40 hours reading Lua and NodeMCU references. I do find the learning curve of Lua/NodeMCU very steep, perhaps 5 times steeper than python, and 10 times steeper than Arduino. But I am not discouraged at all.
I now appreciate why the ESP8266 board sellers always promote Arduino IDE, not so common on MicroPython, and also silent on Lua. As I am just doing hobbyist programming without any deadline, I don't have any pressure to add oil and go faster.
Just thinking aloud random thoughts. Sorry for the typo errors.
Big Dan found a couple of things ESPlorer does not do what he expected.
One thing that I found strange is that whenever I start a new ESPlorer session and run a program debugged and saved in previous sessions, ESPlorer almost always reports an error, something like cannot run main function etc. But if I insist to run the same program a second time, or sometimes a third time, the program runs smoothly, without any errors.
I tried to explain but don't find any good reasons, ...