How to access NodeMCU EEPROM storage?
Posted: Sat Aug 11, 2018 7:20 pm
Hello ESP8266 Forum,
I bought a NodeMCU, I figured out how to get it to grab compiled code, go to HTTP Servers, etc.
But I was thinking, I spent extra to get extra storage: Which was advertised as 32Megabits or 8 Megabytes And sure enough, a WinBond 25Q32JVSIG-1815 chip is soldered onto the board, which is SPI EEPROM.
However when I run the code
I get the response of
Why? Where is the 32Megabits? How do I access it? Is there a special ESP8266 based EEPROM header? Is it even viewable from the CPU?
I bought a NodeMCU, I figured out how to get it to grab compiled code, go to HTTP Servers, etc.
But I was thinking, I spent extra to get extra storage: Which was advertised as 32Megabits or 8 Megabytes And sure enough, a WinBond 25Q32JVSIG-1815 chip is soldered onto the board, which is SPI EEPROM.
However when I run the code
Code: Select all
#include <ESP.h>
#include <ESP8266WiFi.h>
#include <EEPROM.h>
void setup(){
Serial.begin(9600);
while(!Serial);
Serial.println(EEPROM.length());
}
void loop(){}
I get the response of
Code: Select all
0
Why? Where is the 32Megabits? How do I access it? Is there a special ESP8266 based EEPROM header? Is it even viewable from the CPU?