-->
Page 1 of 1

How to write 100kB of data from Cloud into ESP’s EEPROM?

PostPosted: Mon Jul 02, 2018 2:26 am
by Manigandan
I want to write 100kB data into ESP EEPROM using SPIFFS concept. But not able to receive the full data file at a time, it's taking around 15kB of data a time. But it should download and write a file at a time. How to do that?

Re: How to write 100kB of data from Cloud into ESP’s EEPROM?

PostPosted: Mon Jul 02, 2018 5:07 pm
by McChubby007
Stuff gets buffered - you don't have 100k RAM do you?

As each block gets received append it to the open file.

Re: How to write 100kB of data from Cloud into ESP’s EEPROM?

PostPosted: Mon Jul 02, 2018 11:20 pm
by Pablo2048
1. ESP8266 doesn't have 100kB EEPROM. Maximum (emulated) EEPROM size is one sector (16kB)
2. do as McChubby007 suggest - append arrived chunks into file