Skip to content

OTA and SPIFFS #2465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
odilonafonso opened this issue Aug 31, 2016 · 1 comment
Closed

OTA and SPIFFS #2465

odilonafonso opened this issue Aug 31, 2016 · 1 comment

Comments

@odilonafonso
Copy link

Basic Infos

Hardware

Hardware: ESP-12 NodeMCU V2
Core Version: 2.3.0

Description

I can not update a sketch with OTA. I read this:

The most common causes of OTA failure are as follows:

not enough physical memory on the chip (e.g. ESP01 with 512K flash memory is not enough for OTA),
too much memory declared for SPIFFS so new sketch will not fit between existing sketch and SPIFFS – see Update process - memory view,
too little memory declared in Arduino IDE for your selected board (i.e. less than physical size).
For more details regarding flash memory layout please check File system. For overview where new sketch is stored, how it is copied and how memory is organized for the purpose of OTA see Update process - memory view.

I can compile in both modes - using Serial and OTA, but when the sketch that has been updated with OTA comes into operation, it crashes.

Settings in IDE

Module: NodeMCU 1.0 (ESP-12E Module)
Flash Size: 4MB/3MB
CPU Frequency: 80Mhz
Flash Mode: DIO
Flash Frequency: ?40Mhz?
Upload Using: OTA / SERIAL
Reset Method: nodemcu

@odilonafonso
Copy link
Author

Hi. This issue was solved after reading #2438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant