v1.90 on esp8266 problems.... #5638
Replies: 1 comment
-
Posted at 2016-12-30 by DrAzzy Yeah, it's busted, use 1.89 Posted at 2016-12-30 by @MaBecker Hi user71780, you can go for travis builds that have been "Commits after Dec 19, 2016" eg: http://www.espruino.com/binaries/travis/ead21486e780998511974d389bd2b335d1b4dcb2/ because it contains the merged pull request #992 A reboot loop also occurs when using boot_v1.6.bin ... Workaround :
Posted at 2017-01-04 by @gfwilliams Just to check, the PR for this went into the main branch, so it'll be fixed in the 1v91 release? Posted at 2017-01-04 by @MaBecker Hi @gfwilliams, yes the named PR is part of main branch. Posted at 2017-01-26 by Mark Hello! After the command "Save();" code is not working. Attachments: Posted at 2017-01-26 by @MaBecker Your code is missing the E.on('init',function(){...}) which is required to start your coding after a hardware reset, use Posted at 2017-01-26 by Mark MaBe! Posted at 2017-01-26 by Mark Thank you! I'll try a different code. Posted at 2017-01-28 by DrAzzy
Note that that won't work immediately after uploading, only after save(), since the initialization takes place in the init callback. It's often not practical to make code that works both after direct upload and after save() and restart. Posted at 2017-02-09 by Planer HI Everyone. Realy working code after save() and power restart ESP8266-12F FW1.91, 1.6 boot.
Posted at 2017-02-09 by @allObjects
...indeed... therefore, take a look at this tutorial about How to have ONE codebase that works after both direct upload and save() with power cycle (run in no-save AND save mode), even though there are also other ways to get specific code starting after save() and power cycle. In the above example, to start the code the application takes advantage of the built in Wifi event of having connected. Very often though, other initializations have to happen in controlled timing related to Wifi having connected. Luckily for code running on ESP8266 flavored boards, the Wifi connected event can be used to initialize things that have to happen after Wifi has connected. Wifi has a built in onPowerCycle to restart the connection with saved (Wifi |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-12-30 by user71780
keep getting
... and reboot loop.
help.
Beta Was this translation helpful? Give feedback.
All reactions