Skip to content
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

Is it normal that it takes 30 seconds to upload a sketch? #122

Closed
nicmar opened this issue Jun 29, 2017 · 4 comments
Closed

Is it normal that it takes 30 seconds to upload a sketch? #122

nicmar opened this issue Jun 29, 2017 · 4 comments

Comments

@nicmar
Copy link

nicmar commented Jun 29, 2017

It takes 30-40 seconds to upload a sketch before it's being run. Is that the expected behaviour or is there anything I can do to make it faster?

It's kind of annoying to wait all the time.. :)

@gepd
Copy link
Owner

gepd commented Jun 29, 2017

It's never taken that long, except when you're using the platform for the first time and the tool chain must be downloaded and installed.

Can you tell me your OS, board used?
Are you using the master branch?
How long is your sketch?

@nicmar
Copy link
Author

nicmar commented Jun 30, 2017

I'm using MacOS Sierra, with a NodeMCU ESP-12e. My sketch was just the blink-sketch, so almost no code. It seems like it's about 200k to upload anyways.

Maybe this takes longer time than on an Arduino? I also asked on the esp8266 forum (http://www.esp8266.com/viewtopic.php?f=160&t=15338) and they say it's normal. They also say that I should increase baud rate to 921600. From what I can see in Deviot, the max I can choose is 230400.

Is there a code verification going on after upload that can be turned off or somethine else?

@gepd
Copy link
Owner

gepd commented Jun 30, 2017

Yes, for ESP it's common, at least I have always got that amount of time, it seems to be faster when I work with OTA in my local network.

The only baudrate option at this moment in Deviot is for the serial monitor, but I'm interested in this topic so I'll check how fast it works with a higher baud rate and I'll add an option to overwrite it when you upload an sketch.

I'm very close to release Deviot 2 if you want, you can install it (read this: #117)
I'll let you know when it is added

EDIT: I've tested and it uploads in around 10 seconds

@gepd
Copy link
Owner

gepd commented Jun 30, 2017

It's done, currently available in the v2 branch :)

@gepd gepd closed this as completed Jun 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants