B4R Question ESP8266 EEPROM Size

Bert Oudshoorn

Member
Licensed User
Is it possible to increase the size? It is 1024 on a 512K64 (esp8266-01). Especially, if the the 64K SPIFFS area is not used. Is SPIFFS only for control of a SD card?
I tried to change the values in rESP8266.cpp but that fails :)
 

Tayfur

Well-Known Member
Licensed User
Longtime User
You can change it by editing rEEPROM.cpp (line 14).

Hi @Erel;

I used Wemos D1R2 board

I changed it like your sample.
Now size:4096;

How much capacity max size?
is it possible size:16.000 or more..


Compiling & deploying Ino project (WeMos D1 R2 & mini - COM3) (45.25s)
Sketch uses 282,105 bytes (27%) of program storage space. Maximum is 1,044,464 bytes.
Global variables use 36,952 bytes (45%) of dynamic memory, leaving 44,968 bytes for local variables. Maximum is 81,920 bytes.

Completed successfully.

Technical specs
MicrocontrollerESP-8266EX
Operating Voltage3.3V
Digital I/O Pins11
Analog Input Pins1(Max input: 3.2V)
Clock Speed80MHz/160MHz
Flash4M bytes
 
Upvote 0

Tayfur

Well-Known Member
Licensed User
Longtime User
Hi @Erel;

I used Wemos D1R2 board

I changed it like your sample.
Now size:4096;

How much capacity max size?
is it possible size:16.000 or more..




Technical specs
MicrocontrollerESP-8266EX
Operating Voltage3.3V
Digital I/O Pins11
Analog Input Pins1(Max input: 3.2V)
Clock Speed80MHz/160MHz
Flash4M bytes

I tested alot of values;
Wemos D1R2 (ESP8266ex)
Max Eeprom size =4096byte
 
Upvote 0

kas2

New Member
>>You can change it by editing rEEPROM.cpp (line 14)

I am a bit lost :(
I assume this is EEPROM.cpp file from "hardware\espressif\esp32\libraries\EEPROM" folder

Line 14: "This library is distributed in the hope that it will be useful," which is irrelevant
file was probably recently modified


Possible candidate:
hardware\espressif\esp32\tools\sdk\include\spi_flash\esp_spi_flash.h
Line 32: #define SPI_FLASH_SEC_SIZE 4096 /**< SPI Flash sector size */

The objective is to boost EEPROM to 8192

Please help
TIA
 
Upvote 0
Top