I have this problem too with espruino_1v95_esp8266_4mb_combined_4096.bin.
I can flash the 4M image to my 4M NodeMCU, and reboot it as many times as I want, but as soon as I do a wifi.save() then reboot with require("ESP8266").reboot() then I get a serial console full of this over and over:
The wifi data is stored at the end of flash, so I thought it may be the end of my 4M flash was faulty, however I've tried pretending the flash layout is 2M and 1M with:
I have tried both the combined image and the indvidual images as above, neither worked.
I have tried the previous versions:
espruino_1v94_esp8266_4mb_combined_4096.bin
espruino_1v92_esp8266_4mb_combined_4096.bin
espruino_1v93_esp8266_4mb_combined_4096.bin
and all of these worked fine.
So it seems there is some regression between 1v94 and 1v95 which breaks wifi save or load on ESP8266 4M.
It might be worth noting that both MicroPython's boot/main files and Arduino sketches work fine on my board, though as I understand they don't store anything at the end of flash.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I have this problem too with
espruino_1v95_esp8266_4mb_combined_4096.bin
.I can flash the 4M image to my 4M NodeMCU, and reboot it as many times as I want, but as soon as I do a
wifi.save()
then reboot withrequire("ESP8266").reboot()
then I get a serial console full of this over and over:The wifi data is stored at the end of flash, so I thought it may be the end of my 4M flash was faulty, however I've tried pretending the flash layout is 2M and 1M with:
and neither of these fixed the problem.
I have tried both the combined image and the indvidual images as above, neither worked.
I have tried the previous versions:
espruino_1v94_esp8266_4mb_combined_4096.bin
espruino_1v92_esp8266_4mb_combined_4096.bin
espruino_1v93_esp8266_4mb_combined_4096.bin
and all of these worked fine.
So it seems there is some regression between 1v94 and 1v95 which breaks wifi save or load on ESP8266 4M.
It might be worth noting that both MicroPython's boot/main files and Arduino sketches work fine on my board, though as I understand they don't store anything at the end of flash.