Chat freely about anything...

User avatar
#95520 Hello All,

my sketch runs fine on WEMOS D1mini 4MB and WEMOS D1miniPro 16MB.
OTA (loading firmware from a fileserver) ist not working on the 4MB Board.

Error on 4MB Board

CALLBACK: HTTP update process started
CALLBACK: HTTP update fatal error code -107
HTTP_UPDATE_FAILD Error (-107): New Binary Does Not Fit Flash Size

my Envirement: ARDUINO Framework with Platform IO

#--------- Platformio.ini File:

platform = espressif8266
board = d1_mini
framework = arduino
monitor_speed = 115200
upload_speed = 921600
board_build.ldscript = eagle.flash.4m2m.ld

platform = espressif8266
board = d1_mini_pro
framework = arduino
monitor_speed = 115200
upload_speed = 921600

#------- Partitions Manager
I tryed to use different *.LD files to get free OTA Space in Flash, but no 4Mxx.ld file worked fine.

#-- Compiling info:
RAM: [===== ] 45.1% (used 36976 bytes from 81920 bytes)
Flash: [=== ] 34.8% (used 363781 bytes from 1044464 bytes)

Calculating size .pio\build\d1_mini\firmware.elf
text data bss dec hex filename
354429 9404 27624 391457 5f921 .pio\build\d1_mini\firmware.elf


Anyone has a idear what I could change to get OTA on 4B ESP8266 to work? Thanks!!!!!