mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1181] problems with ota update #1011
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1011
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @droidprova on GitHub (Dec 28, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1181
PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed.
POST SERIAL OUTPUT !
.ERROR[4]: Not Enough Space
*WM: [3] -> 192.168.4.1
.ERROR[4]: Not Enough Space
*WM: [3] -> 192.168.4.1
.ERROR[4]: Not Enough Space
*WM: [3] -> 192.168.4.1
ERROR[4]: Not Enough Space
*WM: [2] <- Handle update done
*WM: [3] -> 192.168.4.1
*WM: [1] [OTA] update failed
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
Issues without basic info will be ignored or closed!
Please fill the info fields, it helps to get you faster support ;)
if you have a stack dump decode it:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/stack_dump.rst
for better debug messages:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst
----------------------------- Remove above -----------------------------
Basic Infos
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP Core Version: 2.4.0, staging
Description
Problem description
Hi everyone, I need help:
I am using the new example for the OTA update. To test this function I am trying to flash the same sketch that is
in use in my wemos d1 lite (1MB) through the UPDATE function of the captive portal. When I try to update a 546 kb file.bin
the operation fails and I get the following error on the serial monitor:
.ERROR [4]: Not Enough Space
.ERROR [4]: Not Enough Space
.ERROR [4]: Not Enough Space
ERROR [4]: Not Enough Space
but then if I load another 256kb .bin file the operation is successful and the captive portal
returns: Update OK! Device Rebooting now ...
Why does this happen? How is it possible that there are space problems if the sketch in
question is normally loaded into the wemos through the arduino IDE? Can someone help me ?
Settings in IDE
Module: Wemos D1 mini lite
Additional libraries:
Sketch
Debug Messages
@tablatronix commented on GitHub (Dec 28, 2020):
1mb limit? You need 2x memory
@droidprova commented on GitHub (Dec 29, 2020):
Thank you so much Tabla, so a card like this should solve my problems:
https://it.aliexpress.com/item/32909297583.html?spm=a2g0o.productlist.0.0.3a575491uhqcu4&algo_pvid=a81d9378-4db0-4aa6-9de7-c9aaebd3d0ee&algo_expid=a81d9378-4db0-4aa6-9de7-c9aaebd3d0ee-5&btsid=2100bdf016092305702604169e23fd&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
true?
@tablatronix commented on GitHub (Dec 29, 2020):
What are you using now?
@droidprova commented on GitHub (Dec 29, 2020):
Wemos D1 mini Lite : https://www.wemos.cc/en/latest/d1/d1_mini_lite.html
@tablatronix commented on GitHub (Dec 29, 2020):
ohh yeah , get a 4mb chip, esp12, nodemcu, or get your sketch down below 512k for ota
@droidprova commented on GitHub (Dec 29, 2020):
my file .bin is 546 kb, if i don't cut it, what i do?
@tablatronix commented on GitHub (Dec 29, 2020):
you can also upgrade the flash ic on your board, i would just buy some nodemcu modules, they are really good

@droidprova commented on GitHub (Dec 29, 2020):
ok thanks a lot for your support. What I did not understand is: but regardless of the board you have, the maximum limit of a sketch that can be flashed via ota is always 512kb?
@tablatronix commented on GitHub (Dec 29, 2020):
No, that is your limit, you need to have 2x the amount of storage for OTA, since you are storing 2 copies at the same time, you are trying to save more than 1mb to your flash, thats how ota works. You can get around this BTW, if you flash a basic tiny OTA sketch first, then ota again to the new one
@droidprova commented on GitHub (Dec 30, 2020):
thanks a lot for your support.