Page 1 of 1

Wemos D1 mini pro. Not enough space using OTA?

Posted: 30 Apr 2018, 18:38
by xury
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.

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

Posted: 30 Apr 2018, 18:48
by grovkillen
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.

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

Posted: 30 Apr 2018, 18:58
by xury
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)

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

Posted: 30 Apr 2018, 23:18
by grovkillen
So it's a self compiled bin. What size did you compile it for? I suspect 1024...

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

Posted: 30 Apr 2018, 23:20
by grovkillen
You should have compiled "normal_4096"

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

Posted: 30 Apr 2018, 23:21
by grovkillen
Or better still, use the official build.

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

Posted: 30 Apr 2018, 23:25
by xury
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?

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

Posted: 01 May 2018, 06:14
by grovkillen
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.

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

Posted: 01 May 2018, 10:43
by xury
Okay. Now everything is clear. Thanks.