IDE upload is slow #5073
Replies: 1 comment
-
Posted at 2015-10-16 by @allObjects Did you a) first connect and then upload? - or - b) upload and on-demand connect? Posted at 2015-10-16 by tve First connect and then upload. Didn't know one can hit the upload button when disconnected... Posted at 2015-10-17 by @allObjects Performing a reset() before upload can help. Event though not rational to me, something may still go on on the board(). Posted at 2015-10-20 by @gfwilliams The Web IDE sometimes waits for responses to commands. So I think after sending The other thing is it might be 'throttling' writes. Originally some boards would drop characters if you sent data too fast, so the Web IDE would slow down the rate at which it sent data unless it knew the board worked well. I'm not sure it it's still doing that. The way to check would be to download the IDE via GitHub, then you can enter development mode and see the console. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-10-16 by tve
When I hit the IDE "Send to Espruino" button I see an echo(0) line and then it pauses for several seconds. Looking at what happens on a scope it's evident that somehow the IDE makes a lot of pauses, why is that? If I take exactly the same code and paste it into a terminal window connected to Espruino it gets uploaded in 200ms. The time taken by the IDE seems independent of the "throttle send" config switch.
Beta Was this translation helpful? Give feedback.
All reactions