Ardunio IDE: getting the memory size right...
Posted: Mon Feb 19, 2018 12:54 pm
I bought a cheap UNO+8266 all-in-one board. It arrived with firmware supporting version 0.21.0.0 of the AT command set. The chip is an ESP8266EX, and it has a WinBond 5Q32FVS1 memory module.
On Reset, I learn
2nd boot version : 1.2
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size : 4Mbit
Now I set up to use the Arduino, I call it a generic 8266 board, and it works and runs some sketches.
But by default, the Arduino IDE says I have only 512K (no SPIFFS). And the 8266 built-in example that checks my IDE flash config fails. It reports the real size as 4194304. So when I change the IDE config to either 4M (3M SPIFFS) or 4M (1M SPIFFS), it seems to work and the sketch says my config is OK. There are no other IDE options at 4M.
What should my IDE config be? Should I have 4M (4M SPIFFS), but no such IDE menu option exists?
thanks.
Peter
On Reset, I learn
2nd boot version : 1.2
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size : 4Mbit
Now I set up to use the Arduino, I call it a generic 8266 board, and it works and runs some sketches.
But by default, the Arduino IDE says I have only 512K (no SPIFFS). And the 8266 built-in example that checks my IDE flash config fails. It reports the real size as 4194304. So when I change the IDE config to either 4M (3M SPIFFS) or 4M (1M SPIFFS), it seems to work and the sketch says my config is OK. There are no other IDE options at 4M.
What should my IDE config be? Should I have 4M (4M SPIFFS), but no such IDE menu option exists?
thanks.
Peter