B4R Question ESP8266 (ESP07) - OTA - not enough memory

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear friends, please

I get in LOGS:
Original AP IP: 192.167.4.2
Local IP: 192.168.3.15
UniqueID: 15556121
EEPROM Size: 1024
FlasfID: 1335390
FlahsSize: 1048576
FlashSpeed: 40000000
CPU Speed MHz: 80
Program Size: 417840
Free Space: 81920
CycleCount: 665793615
HeapSpace: 28160
MAC: 14F4EBEDFA39

and when I start OTA I get:
Error2: -100 Not Enough space

My src.ino.bin file have: 417840

Is here way how to download this file and - how to do OTA process?

Please for advice,
best regards
p4ppc
 

petr4ppc

Well-Known Member
Licensed User
Longtime User
I have not tried smaller version of program. It is basic - simple program only with libraries (OTA, SoftwareSerial,Wifi),
but it can not be processed by OTA. With Wemos D it is OK, but with ESP07 it is NOT OK because of space.

I have in ESP8266:
Program Size: 417840
FlashSize: 1048576

It is possible to say please - How many percent of memory must program have for successful processing with OTA?
Best regards
p4ppc
 
Upvote 0

thetahsk

Active Member
Licensed User
Longtime User
I have not tried smaller version of program. It is basic - simple program only with libraries (OTA, SoftwareSerial,Wifi),
but it can not be processed by OTA. With Wemos D it is OK, but with ESP07 it is NOT OK because of space.

I have in ESP8266:
Program Size: 417840
FlashSize: 1048576

It is possible to say please - How many percent of memory must program have for successful processing with OTA?
Best regards
p4ppc

Are you sure you have selected the correct flash size in the B4R Menu ?
 
Upvote 0

petr4ppc

Well-Known Member
Licensed User
Longtime User
thetahsk,

I am using
- generic ESP8266 Module
Flash mode : qio
eesz-512
vt-flash

but I not see flash size..I hope that I watch right..
Thank you
p4ppc
 
Upvote 0

petr4ppc

Well-Known Member
Licensed User
Longtime User
TheTahsk,

I am trying as Erel Wrote - smaller program and as you wrote - settings,
with smaler program and this settings I have solved this situation.

Thank you very much,
Best regards
p4ppc
 
Upvote 0
Top