-->
Page 1 of 1

spiffs questions

PostPosted: Sun Apr 17, 2016 11:39 am
by esparduino
hello everyone,

i am using the esp8266 with the arduino ide for a while and i have some questions about the module:
1. is the sketch stored on the spiffs?
2. if the answer on Q1 is yes can you put the sketch on the esp8266 chip itself or does the esp chip itself not contain flash?


thanks

Re: spiffs questions

PostPosted: Mon Apr 18, 2016 4:50 am
by esparduino
Ok i found the answers:
Esp8266 itself doesnt have flash.
But how can i save files while my sketch is also there?

Re: spiffs questions

PostPosted: Mon Apr 18, 2016 8:32 am
by martinayotte
1 - No ! The Sketch binary is located at the beginning of the Flash, not inside the SPIFFS.
Here is a graph that shows the locations of the different flash pieces :
http://esp8266.github.io/Arduino/versio ... ystem.html

2 - The ESP8266 doesn't have any internal flash, it is always accessing stuff from external one, either for codes or for SPIFFS files or for WiFi configs.