-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Upload speed a lot slower on Arduino IDE than using esptool.py #4973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I didn't know the 8266 had a compressed upload stub like the 32. PRs are always appreciated. One worry I see is that for Linux/Mac you can expect |
I have several things to say here:
@earlephilhower does your comment mean you're thinking of replacing our current esptool-ck with esptool.py? |
...edit...looks like upload speed is used, so this is less good than I thought... @devyte I'm not thinking of replacing the uploader, but if someone comes along with a PR to do it I think it's worth serious consideration (as long as it works cross-platform, etc. as well as the current setup). Too many other bits of ocean to boil already with |
@devyte sorry I'll follow the template before submiting anything else. |
I do see upload speeds in boards.txt. |
@dimitre @minida28 you can use more upload speed using the board generator (option
I think this is why we are still not using it, to keep the arduino KISS way. |
@d-a-v may I beg your pardon, but where is the 'help' ..? I searched in the front page, doc, FAQ, but can't find it...
By the way, I just tried the quick and dirty way (editing None of them seem to work and it falls back to the default 115200 baud rate. Example output using 1M speed:
|
#4478 Start the board generator without option, you will get help:
|
I see thank you @d-a-v :) |
Ok I tested using
Note: I tested with NodeMcu v1.0 with onboard USB serial chip (Silicon Labs CP210x) Is this related to the type of USB serial chip being used? |
I can confirm it doesn't work here either with 3000000 or 2000000. I even tried the baud rate esptool.py returned me as actual writing speed (1306800)
But I'm happy now it is working with 921600 speed here. |
Thanks for the information! |
Arduino 1.8.7 and esp8266 from GIT HEAD improves a lot the transfer time and caching too. Thank you. |
Careful with those puya chips, they require a patch to allow writing to flash (spiffs, eeprom, etc). Is the original issue resolved then? |
That issue may very well be stale by now but here's my $.02 nonetheless. Background: over two years ago I created a standalone self-contained app around esptool.py that runs on Windows even if you haven't got Python installed -> https://github.com/marcelstoer/nodemcu-pyflasher/
|
That's currently the case in master thanks to @earlephilhower (bundled python, submodule for esptool.py). |
Thanks for the pointer to the PR! Good stuff @earlephilhower 👍 |
It would be great to have 3000000 as possible baud for esp8266. |
@dimitre, please open a new issue for this. It'll get lost here on a closed bug. |
Hello, I'm using the classic FTDI1232 to upload sketches to ESP-01, both using Arduino IDE and esptool, and the possible upload speeds are so different I was wondering how to automate the upload process outside Arduino IDE.
On Arduino IDE my max baud rate possible is 230400 and it takes a while to upload some medium projects while using esptool I get 12x more speed
and the result
It would be great to have Arduino possible upload speeds improved. Thank you
The text was updated successfully, but these errors were encountered: