Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Mario Mikočević
#23454
eriksl wrote:How do you see quickly what flash is installed? Ask the SDK?


Mostly by reading chip markings, ie 25Q40blah vs 25Q32blah or something similar, number after Q in almost all cases means Mbits.
40 - 4Mbit
32 - 32Mbit

--
Mozz
User avatar
By eriksl
#23471 It's quite hard to read. I use the "torch" of my phone and a magnifying glass, still can't read it properly. Any tricks?
User avatar
By Mario Mikočević
#23478
eriksl wrote:It's quite hard to read. I use the "torch" of my phone and a magnifying glass, still can't read it properly. Any tricks?


Try this -

Code: Select allvoid setup() {
  Serial.begin(115200);
  Serial.println(ESP.getChipId());
  Serial.println(ESP.getFlashChipId());
  Serial.println(ESP.getFlashChipSize() / 1024);
}



--
Mozz
User avatar
By martinayotte
#23502 Some chinese flash chips have really bad printing (I've received some that I wasn't able to read at all)
BTW, esptool.py provides the option "flash_id".