Save on Send does not load on v1.94 with esp8266 #5937
Replies: 1 comment
-
Posted at 2017-09-26 by @allObjects "ERROR: Prompt not detected - upload failed. Trying to recover..." is an indicator for the case where something is already started before the upload has finished. This cannot be all code there is, because you are talking "Not connected to the internet"... In case of autoconnect - based on saved connection profile / credentials - you should catch the on-connect event and then start your application. Where the difference comes between the versions, I don't know. I also do not know where the print goes and how it is configured... It may be held back. See comments about console and console redirection... Posted at 2017-09-26 by Polypod Thanks allObjects, I do not use internet. This is all the code I use, I even did a setBootCode("") before save on send, to be sure. The problem of v1.93 with "not connected to internet" without any code using internet, is mentioned also in the other thread http://forum.espruino.com/conversations/296431/. Even the print("init") in my code is not executed, how can I catch an event to start my app ? So you say possibly it's the print that is not working ? Where can the print go ? The same program works fine, prints correctly, when saved with save(). Posted at 2017-09-26 by @allObjects I try to picture in your most recent feedback. Recently I looked at that option in the IDE, but I felt it has not just to do with automatically add a save() command after upload... I anyway do not use it because it just wears down the flash on my devices with the high-frequency round-tripping development style I tend to practice. So sorry, have not much more helpful right now... if you can wiggle a pin and blink a led instead of print (or use the serial tx debug output of the 8266, that could may be of some help). Posted at 2017-09-27 by Polypod Ok, thanks allObjects. It was practical for me as I make a program that will start automatically when I power the esp. I'll continue using save() (or the v1.93.162 for dev), not a big deal. Posted at 2017-09-27 by RickyTerzis Hi...i am a new user here. As per my knowledge In case of autoconnect - based on saved connection profile / credentials - you should catch the on-connect event and then start your application.Where the difference comes between the versions, I don't know. I also do not know where the print goes and how it is configured. Posted at 2017-11-28 by Jessie Is your problem solved? Posted at 2017-11-28 by Polypod Nope, save-on-send still does not work for me on v1.94. I keep using v1.93.162, I am waiting and hoping the v1.95 will fix it. I can still save/load with save() and load(), but I cannot send the code with modules to be executed from flash, except with my own WebIDE plugin . Posted at 2017-12-17 by Polypod Great news, the new v1.95 solves the problem of save-on-send for ESP8266, big thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-09-26 by Polypod
Hi,
I don't seem to be able to load with Save on Send of the web ide. save() works and load correctly, but with setBootCode looks like the load does not load anything. Sometimes it triggers "ERROR: Prompt not detected - upload failed. Trying to recover...".
For me, Save-on-send didn't work either on the v1.93, I get "Not connected to the internet", with and without load-as-function option (see http://forum.espruino.com/conversations/296431/). Until now, the only way to get this option working is with v1.93.162 I compiled (http://forum.espruino.com/conversations/305014/#comment13761399).
Here is my code :
Here is the result with v1.94 :
Here is the result with 1.93.162:
Beta Was this translation helpful? Give feedback.
All reactions