Restart to use Web IDE after Flash of ESP8266-01 #5884
Replies: 1 comment
-
Posted at 2017-03-04 by Wilberforce Yes. I get a similar thing with the esp32 and windows 10. I can connect with putty, but not the ide after a flash. So what I do is
Because this is a pain, I have the board set up to connect to wifi and use the ip address in the ide and connect via tcpip. Posted at 2017-03-05 by Frida Even I only do a erase_flash without setting ESP in boot mode, it's the same. conection ok
conection lost
Posted at 2017-03-06 by @gfwilliams Not sure why it wouldn't be going - but I'm not sure much has changed in the IDE in the last few months. You could try manually loading an older IDE from GitHub and see if that fixes it, then you could I'm afraid it could just be something in a new version of Chrome though. Posted at 2017-03-07 by Wilberforce I'm getting this after flashing an ESP32:
If from the ide If I attempt disconnect/connect a few times, and then hit reset on the board, it finally connects. Posted at 2017-03-07 by @gfwilliams If this only seems to be happening with ESP32/ESP8266 flashing tools, it might be worth filing a bug with them? Are you sure they're not still running in the background in some form? I imagine Windows 10 vs Linux problems are different, but on linux try running Posted at 2017-03-07 by Wilberforce
No - the serial port gets locked - you can't flash with a current ide connection. And the esptool.py script is closed before attempting to reconnect in the ide. Can you please explain what this means: Posted at 2017-03-07 by @gfwilliams It's from here: https://github.com/espruino/EspruinoTools/blob/gh-pages/core/serial_chrome.js#L106 which is straight from chrome. https://developer.chrome.com/apps/serial#event-onReceiveError Chrome says overrun is:
So I guess you could try simply ignoring that particular error? I guess maybe Chrome recently added the reporting of it? Maybe it's just because the ESP8266/etc sent a whole bunch of data before it connected and so some data ended up getting dropped from the buffer? Posted at 2017-03-07 by @gfwilliams That seems to be different to @frida's problems though - I've never seen 'overrun' before. Posted at 2017-04-28 by user73662 Hi, not sure whether its related. I was running espruino on my nodemcu for several months with no issues. Several days ago i tried to updated the code. And got this: I use mac, SiLabsUSBDriverDisk driver. Posted at 2017-04-29 by Wilberforce Those characters look like the baud rate is wrong. Check you have 115200 as the default for ide is 9600 Posted at 2017-05-03 by user73662 Baud rate is 115200. Flashed with 115200 and ide is set to 115200. Tried around 5 cables and 3 nodemcu boards. Before flashing I erase flash. Posted at 2017-05-05 by @MaBecker Hi @user73662, looks like there is no Espruino an this board. Lets have a look at the flash command you are using, please share. Posted at 2017-05-05 by user73662 @MaBecker, Hi. here is the command:
Posted at 2017-05-06 by @MaBecker esptool.py call is correct for a 4MB board. please post the result of this call
Posted at 2017-05-10 by user73662 hi, @MaBecker Posted at 2017-05-17 by @MaBecker Device 4016 stands for a 4MB board Posted at 2017-06-06 by user73662 My problem was i had to use: Posted at 2017-10-11 by stevo dito on the --flash_mode dio |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-03-04 by Frida
I have to restart my computer after I have flashed ESP8266-01, to use Espruino Web IDE,because it won't connect.
I use Mint 18.1 and chromium.
I have tried to pull the USB cable, and log out, login.
I can connect via GtkTerm without restart.
Before christmas it worked allright.
Anybody have the same behavior?
Beta Was this translation helpful? Give feedback.
All reactions