ESP8266 Developer Zone The Official ESP8266 Forum 2021-08-06T16:47:53+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=75181 2021-08-06T16:47:53+08:00 2021-08-06T16:47:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=75181&p=100102#p100102 <![CDATA[Re: ESP8285, OTA binary file is to big]]> Statistics: Posted by Her Mary — Fri Aug 06, 2021 4:47 pm


]]>
2021-08-03T17:22:36+08:00 2021-08-03T17:22:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=75181&p=100098#p100098 <![CDATA[ESP8285, OTA binary file is to big]]>
When I traing to flash:

Code:

LD build/main.elf
/opt/xtensa-lx106-elf-gcc/bin/../lib/gcc/xtensa-lx106-elf/8.4.0/../../../../xtensa-lx106-elf/bin/ld: address 0x4028b92c of /home/dlut/GIT/esp8266_rtos_tamplate/build/main.elf section `.flash.rodata' is not within region `iram0_2_seg'
/opt/xtensa-lx106-elf-gcc/bin/../lib/gcc/xtensa-lx106-elf/8.4.0/../../../../xtensa-lx106-elf/bin/ld: address 0x4028b92c of /home/dlut/GIT/esp8266_rtos_tamplate/build/main.elf section `.flash.rodata' is not within region `iram0_2_seg'
collect2: error: ld returned 1 exit status
make: *** [/home/dlut/esp/ESP8266_RTOS_SDK/make/project.mk:510: /home/dlut/GIT/esp8266_rtos_tamplate/build/main.elf] Error 1



My partition table is:

Code:

nvs,      data, nvs,     0x9000,   0x4000
otadata,  data, ota,     0xd000,   0x2000
phy_init, data, phy,     0xf000,   0x1000
ota_0,    0,    ota_0,   0x10000,  0x78000
ota_1,    0,    ota_1,   0x88000, 0x78000


Size of binary file:

Code:

❯ ls -la  build/main.bin
-rw-r--r-- 1 dlut users 457120 Aug  3 10:26 build/main.bin



It is posible to use OTA on esp8285?

Statistics: Posted by dlut — Tue Aug 03, 2021 5:22 pm


]]>