Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By jarda195
#70052 I use ESP WROOM 02 and I have this problem with ESP8266httpUpdate.. First 20 pcs ESP WROOM 02 working ok.. my sketch has 320.000 byte, update ok.. I purchased next 100 pcs but update with error 'bin for wrong flash size'.. restart and update not working.. for first 20 pcs function getFlashChipRealSize returned 4.000.000 and new 100pcs returned 2.080.000 only.. ESP Wroom 02 is same, maybe not same production serie. (I assume - 4.000.000 /8/1024 = 488 kB and 2.080.00/8/1024 = 253kB) . Function system_get_flash_size_map(); returned FLASH_SIZE_32M_MAP_512_512 (both)

FlashId = 1392840 not working
FlashId = 1458337 workong

My sketch (on Arduino 1.65 and W8) is 95% sleep and 5 % sending 30 byte...
after compiling: 311 263 byte (29%) max is 1 044 464 byte. (ESPDuino )

How I can change this value ? (from 2.080.000 to 4.000.000)
Why is differenc between two ESP WROOM 02 and ESP WROOM 02 ? :(
SDK ( 1.5.3(aec24ac9) both) over function sdk = system_get_sdk_version();

Thank for responde..