Wemos D1 mini pro. Not enough space using OTA?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
xury
Normal user
Posts: 44
Joined: 02 Apr 2018, 12:54

Wemos D1 mini pro. Not enough space using OTA?

#1 Post by xury » 30 Apr 2018, 18:38

I have done compiled and flashed Wemos D1 mini pro with 15MB SPIFFS.
Sketch size is about 634kB.
Now I had update using OTA and I have not enough space. Why?
Were the bin file is loaded using OTA ? To RAM? Or SPIFFS is too large?
Sorry for the basic questions but I'm rookie lamer.

User avatar
grovkillen
Core team member
Posts: 3619
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Wemos D1 mini pro. Not enough space using OTA?

#2 Post by grovkillen » 30 Apr 2018, 18:48

What was the first version, the 1MB one? If you flashed that one the FW will think that the available space is that if an 1MB.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

xury
Normal user
Posts: 44
Joined: 02 Apr 2018, 12:54

Re: Wemos D1 mini pro. Not enough space using OTA?

#3 Post by xury » 30 Apr 2018, 18:58

Previous version is 15MB I want to upgrade new 15MB on an old 15MB. Compiled on Arduino using "Wemos D1 mini pro" from menu.
Latest sources and core 2.4.1
Build
20102 - Mega (ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3))
GIT version
xuryV0.1
Plugins
47 [Normal]
Build time
Apr 30 2018 18:28:16
Binary filename
ESPEasy.ino.bin
Storage
Flash Chip ID Vendor: 0xC8 Device: 0x4018
Flash Chip Real Size: 16384 kB
Flash IDE Size: 16384 kB
Flash IDE speed: 40 MHz
Flash IDE mode: DIO
Flash Writes 0 daily / 66 boot
Sketch Size 661 kB (360 kB free)

User avatar
grovkillen
Core team member
Posts: 3619
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Wemos D1 mini pro. Not enough space using OTA?

#4 Post by grovkillen » 30 Apr 2018, 23:18

So it's a self compiled bin. What size did you compile it for? I suspect 1024...
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
grovkillen
Core team member
Posts: 3619
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Wemos D1 mini pro. Not enough space using OTA?

#5 Post by grovkillen » 30 Apr 2018, 23:20

You should have compiled "normal_4096"
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
grovkillen
Core team member
Posts: 3619
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Wemos D1 mini pro. Not enough space using OTA?

#6 Post by grovkillen » 30 Apr 2018, 23:21

Or better still, use the official build.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

xury
Normal user
Posts: 44
Joined: 02 Apr 2018, 12:54

Re: Wemos D1 mini pro. Not enough space using OTA?

#7 Post by xury » 30 Apr 2018, 23:25

I selected from tools/boards "Wemos D1 mini pro" It has only to choose 15MB SPIFFS.
I thought that having 15MB spiffs would not be problems with OTA
Formatting after flashing takes a lot of time. So I think that SPIFFS is proper created.
Perhaps mega sources still does not support size more than 4MB?

User avatar
grovkillen
Core team member
Posts: 3619
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Wemos D1 mini pro. Not enough space using OTA?

#8 Post by grovkillen » 01 May 2018, 06:14

The build you chose is not an official build setup made by us and we cannot guarantee that is works. We do not support 4096+ SPIFF sizes but you can use the 4096 build on larger SPIFFs with no problem. It will allocate only 4096 bytes of the 16MB.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

xury
Normal user
Posts: 44
Joined: 02 Apr 2018, 12:54

Re: Wemos D1 mini pro. Not enough space using OTA?

#9 Post by xury » 01 May 2018, 10:43

Okay. Now everything is clear. Thanks.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 20 guests