[GH-ISSUE #1201] ESP32 - OTA not work. With ESP8266 is OK !! #1024

Closed
opened 2026-02-28 01:28:10 +03:00 by kerem · 4 comments
Owner

Originally created by @robert4you on GitHub (Feb 2, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1201

PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed.

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: Development

Esp8266/Esp32: ESP32

Hardware: NODE ESP-32

Core Version: 2.4.0,

Description

I am using the new example for the OTA update test (https://github.com/tzapu/WiFiManager/tree/master/examples/DEV/OnDemandConfigPortal ). To test this function I am trying to flash the same sketch from exampel.
If I use Node ESP8266 everything work ok, but when I try to use ESP32 I get the following error:

11:13:05.006 -> *WM: [3] -> 192.168.4.1
11:13:05.006 -> Update: TestOTA.bin
11:13:05.006 -> Bad Size Given
11:13:05.006 -> *WM: [1] [OTA] Update ERROR Not enough space
11:13:05.006 -> *WM: [3] -> 192.168.4.1
11:13:05.006 -> .Bad Size Given
11:13:05.048 -> *WM: [3] -> 192.168.4.1
11:13:05.048 -> .Bad Size Given
11:13:05.048 -> *WM: [3] -> 192.168.4.1
11:13:05.048 -> .Bad Size Given
11:13:05.103 -> *WM: [3] -> 192.168.4.1
11:13:05.103 -> .Bad Size Given

The website displays a message: OTA Error: 5

Settings in IDE

Module:

Additional libraries:

Sketch: Exampel: https://github.com/tzapu/WiFiManager/tree/master/examples/DEV/OnDemandConfigPortal - only.


#include <Arduino.h>

void setup() {

}

void loop() {

}

Debug Messages

messages here
Originally created by @robert4you on GitHub (Feb 2, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1201 ## PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed. ## 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: Development Esp8266/Esp32: ESP32 Hardware: NODE ESP-32 Core Version: 2.4.0, ### Description I am using the new example for the OTA update test (https://github.com/tzapu/WiFiManager/tree/master/examples/DEV/OnDemandConfigPortal ). To test this function I am trying to flash the same sketch from exampel. If I use Node ESP8266 everything work ok, but when I try to use ESP32 I get the following error: 11:13:05.006 -> *WM: [3] -> 192.168.4.1 11:13:05.006 -> Update: TestOTA.bin 11:13:05.006 -> Bad Size Given 11:13:05.006 -> *WM: [1] [OTA] Update ERROR Not enough space 11:13:05.006 -> *WM: [3] -> 192.168.4.1 11:13:05.006 -> .Bad Size Given 11:13:05.048 -> *WM: [3] -> 192.168.4.1 11:13:05.048 -> .Bad Size Given 11:13:05.048 -> *WM: [3] -> 192.168.4.1 11:13:05.048 -> .Bad Size Given 11:13:05.103 -> *WM: [3] -> 192.168.4.1 11:13:05.103 -> .Bad Size Given The website displays a message: OTA Error: 5 ### Settings in IDE Module: Additional libraries: ### Sketch: Exampel: https://github.com/tzapu/WiFiManager/tree/master/examples/DEV/OnDemandConfigPortal - only. ```cpp #include <Arduino.h> void setup() { } void loop() { } ``` ### Debug Messages ``` messages here ```
kerem 2026-02-28 01:28:10 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tablatronix commented on GitHub (Feb 2, 2021):

I had this problem also, I think this means the file is too large or is no space for ota, or maybe mem for your board is set wrong.. Even though there is a check for space... I have not figured it out yet

<!-- gh-comment-id:771828471 --> @tablatronix commented on GitHub (Feb 2, 2021): I had this problem also, I think this means the file is too large or is no space for ota, or maybe mem for your board is set wrong.. Even though there is a check for space... I have not figured it out yet
Author
Owner

@robert4you commented on GitHub (Feb 2, 2021):

I tried different memory settings on the board and several board models. Same result.

<!-- gh-comment-id:771860209 --> @robert4you commented on GitHub (Feb 2, 2021): I tried different memory settings on the board and several board models. Same result.
Author
Owner

@tablatronix commented on GitHub (Feb 4, 2021):

Try it now

83e9bbc9db

<!-- gh-comment-id:773412622 --> @tablatronix commented on GitHub (Feb 4, 2021): Try it now 83e9bbc9db9cf2667cf4233e32e4f101863159a0
Author
Owner

@Bighoneypot commented on GitHub (Feb 21, 2023):

@robert4you fix link https://github.com/tzapu/WiFiManager/tree/master/examples/Super/OnDemandConfigPortal in this page

<!-- gh-comment-id:1438343119 --> @Bighoneypot commented on GitHub (Feb 21, 2023): @robert4you fix link https://github.com/tzapu/WiFiManager/tree/master/examples/Super/OnDemandConfigPortal in this page
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1024
No description provided.