Skip to content
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

OTA with esp8266 stops at 5% #57

Open
willi-uce opened this issue Jan 2, 2025 · 4 comments
Open

OTA with esp8266 stops at 5% #57

willi-uce opened this issue Jan 2, 2025 · 4 comments

Comments

@willi-uce
Copy link

OTA with esp8266 (D1 Mini) stops at 5 % and ESP reboots. I can not find out why. The same sketch on ESP32 is ok and updates firmware. I use example customHTML for testing.

@mano1979
Copy link

check the serial monitor. does it say "Bad size given"?

@willi-uce
Copy link
Author

No, in serial monitor is:
User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Panic core_esp8266_main.cpp:191 __yield

and after stack:

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

Only D1 mini with custom html example, nothing else is wired at the D1 mini

@mano1979
Copy link

Try using another partition table. Your sketch might be too big for the partition you selected for the littlefs filesystem. Do take into account that your esp8266 probably only has 1mb (total) flash.

@willi-uce
Copy link
Author

D1 mini has 4 MB Flash, I select FS 1 MB and OTA 1 MB. My sketch is about 400 kB.

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

2 participants