yes8s wrote:I don't know if this is related but there is something else I've noticed:
- Firstly, I only ever use the prebuilt binaries.
- A few versions ago, the filesize of the binary file was ~5xxkB (Assume full size of flash). From a few versions ago, binary file has only been ~3xxkBs.
- I noticed that sometimes after reflashing, the node can connect to wifi automatically because it remembers details prior to reflashing with new binary. Only on the 3xxkB filesized binaries though. The 5xxkB binaries overwrite this data I think.
- Depending on which version is currently stored and which version you are updating to, it is possible to create a situation where this untouched area of memory creates some corruption in the program due to not being erased/overwritten. So, I've been flashing to blank binary first and then to nodeMCU binary to ensure this does not cause problems.
It could have something to do with the reset issue...
well yes the 5xxKb version before, is a combine of firmware, esp_init_data.bin, and the filesystem between them.
the 3xxkb version has only firmware.
but 20150107 and 20150108 has minor change in code. nothing touched with restart part.
maybe it's a file system issue too.
after a re-flash. run file.format(), will this solve the problem?