Cannot get wifi.save() to work. Wifi settings do not survive power cycle. Cannot save code. #5522
Replies: 1 comment
-
Posted at 2016-07-23 by Wilberforce You need to use You only need to do this once. Posted at 2016-07-23 by jfox Right, I've done that. But after trying to upload/flash some code that I enter into Web IDE there is a reboot and the wifi connection never comes back up. After I connect with screen over USB I see that the wifi configuration is missing, just like right after a fresh OS flash. Posted at 2016-07-23 by tve Can you paste the welcome screen of espruino with the version number and all that under it? Any warning about flash chip & size mismatch? The correct stand-alone saving command is NB: I haven't used the "combined" binary. I always flash bootloader, user1, blank, and rf defaults as individual files. Gordon wanted the combined binary to make things simpler, but I'm not convinced that there aren't ugly corner cases. For example, it doesn't clear/initialize the SDK's save areas. Posted at 2016-07-23 by jfox | |_ ___ ___ _ ||___ ___ Espruino is Open Source. Our work is supported
Posted at 2016-07-23 by jfox FYI, I am able to successfully run Arduino sketches on the board. Posted at 2016-07-24 by jfox After reflashing and uninstalling/reinstalling Web IDE things are working properly now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-07-23 by jfox
I have a HiLetgo NodeMCU LUA WiFi Internet ESP8266 Development Board.
I was able to flash espruino_1v86_esp8266_combined_512.bin onto it.
I have followed instructions found here: http://www.espruino.com/ESP8266_Flashing
I am able to connect and setup wifi and establish a connection to my network. I can ping the IP address and connect via telnet, screen, and Web IDE. I can connect via USB or wifi.
When I attempt to save any script or power cycle, the wifi settings are lost and I have to reconnect. I have tried this multiple times.
Beta Was this translation helpful? Give feedback.
All reactions